IBM Pure Application Create Custom Virtual Image Guide - Part 1 Virtual Image by extending



Similar documents
IBM Pure Application Implementation Guide

Install and Config For IBM BPM 8.5.5

WebSphere Business Monitor V7.0: Clustering Single cluster deployment environment pattern

Command Line Install and Config For IBM BPM 8.5

WebSphere Business Monitor V7.0 Installation and stand-alone server profile creation

This presentation provides an overview of the architecture of the IBM Workload Deployer product.

DEPLOYING EMC DOCUMENTUM BUSINESS ACTIVITY MONITOR SERVER ON IBM WEBSPHERE APPLICATION SERVER CLUSTER

Application Discovery Manager User s Guide vcenter Application Discovery Manager 6.2.1

Installing and Configuring DB2 10, WebSphere Application Server v8 & Maximo Asset Management

VMTurbo Operations Manager 4.5 Installing and Updating Operations Manager

Administration Guide. . All right reserved. For more information about Specops Inventory and other Specops products, visit

WebSphere Business Monitor V7.0 Business space dashboards

WebSphere Business Monitor V7.0 Configuring a remote CEI server

DS License Server. Installation and Configuration Guide. 3DEXPERIENCE R2014x

Using Symantec NetBackup with Symantec Security Information Manager 4.5

Recommended File System Ownership and Privileges

This presentation covers virtual application shared services supplied with IBM Workload Deployer version 3.1.

Dell UPS Local Node Manager USER'S GUIDE EXTENSION FOR MICROSOFT VIRTUAL ARCHITECTURES Dellups.com

Marco Mantegazza WebSphere Client Technical Professional Team IBM Software Group. Virtualization and Cloud

WebSphere Business Monitor V6.2 Business space dashboards

DS License Server V6R2013x

Department of Veterans Affairs VistA Integration Adapter Release Enhancement Manual

PureApplication Meet the Experts The New Virtual Pattern. Location: Raleigh, North Carolina Date: September 24-25, 2014 Speaker(s): Lin Sun

2692 : Accelerate Delivery with DevOps with IBM Urbancode Deploy and IBM Pure Application System Lab Instructions

System i Access for Web Configuring an Integrated Web Application Server Instance

Configuring Secure Socket Layer (SSL) for use with BPM 7.5.x

Salesforce Integration

Intelligent Power Protector User manual extension for Microsoft Virtual architectures: Hyper-V 6.0 Manager Hyper-V Server (R1&R2)

Implementing a Weblogic Architecture with High Availability

Integrating WebSphere Portal V8.0 with Business Process Manager V8.0

RapidSeed for Replicating Systems Version 7.4

IBM Business Monitor V8.0 Global monitoring context lab

Oracle Enterprise Performance Management System IBM WebSphere Manual Deployment Guide

Backing up the Embedded Oracle database of a Red Hat Network Satellite

System Administrator Guide

F-Secure Messaging Security Gateway. Deployment Guide

Deploying Physical Solutions to InfoSphere Master Data Management Server Advanced Edition v11

New models of WAS deployment with IBM Workload Deployer. Rory O'Grady Jonathan Marshall

Deploying the BIG-IP LTM with the Cacti Open Source Network Monitoring System

SSIM Database Extension Pack 4.0 for Oracle on Linux Installation Guide

IBM Software Information Management Creating an Integrated, Optimized, and Secure Enterprise Data Platform:

WebSphere Business Monitor V6.2 KPI history and prediction lab

IBM WebSphere Application Server Version 7.0

Performing Database and File System Backups and Restores Using Oracle Secure Backup

Process Optimizer Hands-on Exercise

Setting Up Peak Performance Group Policies

User's Guide - Beta 1 Draft

Setting up the Oracle Warehouse Builder Project. Topics. Overview. Purpose

VPS Hosting User Guide

Deploying System Center 2012 R2 Configuration Manager

Local Caching Servers (LCS): User Manual

A Step-By-Step Guide to Configuring a WebSphere Portal v Dynamic Cluster

Upgrading From PDI 4.0 to 4.1.0

Network Shutdown Module V3 Extension of the User Manual for IBM BladeCenter architecture

HP CloudSystem Enterprise

How To Set Up A Backupassist For An Raspberry Netbook With A Data Host On A Nsync Server On A Usb 2 (Qnap) On A Netbook (Qnet) On An Usb 2 On A Cdnap (

Installing and Configuring vcloud Connector

Extending IBM WebSphere MQ and WebSphere Message Broker to the Cloud

PASS4TEST 専 門 IT 認 証 試 験 問 題 集 提 供 者

Specops Command. Installation Guide

Zend Server Amazon AMI Quick Start Guide

Copyright 2012 Trend Micro Incorporated. All rights reserved.

Deploying Red Hat Enterprise Virtualization On Tintri VMstore Systems Best Practices Guide

NSi Mobile Installation Guide. Version 6.2

Configuring an OpenNMS Stand-by Server

Installation Guidelines (MySQL database & Archivists Toolkit client)

AdRadionet to IBM Bluemix Connectivity Quickstart User Guide

IBM WebSphere Application Server V8.5 lab Basic Liberty profile administration using the job manager

Application. 1.1 About This Tutorial Tutorial Requirements Provided Files

Installation Guide for Websphere ND

Extending IBM WebSphere MQ and WebSphere Message Broker to the Clouds 5th February 2013 Session 12628

Configuring Business Monitor for Event Consumption from WebSphere MQ

Sophos Enterprise Console Help. Product version: 5.1 Document date: June 2012

Desktop Surveillance Help

IBM Software Hadoop Fundamentals

Deploying the BIG-IP System with Oracle E-Business Suite 11i

User Guide. Version 3.2. Copyright Snow Software AB. All rights reserved.

Ekran System Help File

VERITAS Backup Exec TM 10.0 for Windows Servers

HP Client Automation Standard Fast Track guide

Attix5 Pro Server Edition

Avalanche Remote Control User Guide. Version 4.1.3

Configuring ADOBE LIVECYCLE ES4 Application Server Cluster using WEBSPHERE

NetWrix USB Blocker Version 3.6 Quick Start Guide

insync Installation Guide

A Step-By-Step Guide to Configuring a WebSphere Portal v8.0 Cluster

Network DK2 DESkey Installation Guide

Deploying a Virtual Machine (Instance) using a Template via CloudStack UI in v4.5.x (procedure valid until Oct 2015)

Installation Guide for WebSphere Application Server (WAS) and its Fix Packs on AIX V5.3L

IBM PureData System for Transactions. Technical Deep Dive. Jonathan Rossi, PureSystems Specialist

Transaction Monitoring Version for AIX, Linux, and Windows. Reference IBM

GeBro-BACKUP. Die Online-Datensicherung. Manual Pro Backup Client on a NAS

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

Introduction to Operating Systems

QuickStart Guide for Managing Computers. Version 9.2

IBM Lotus Sametime Media Manager Cluster Deployment Walk-through Part I Overview and Planning IBM Corporation

DMZ Secure Proxy Environment setup for IP Forwarding

IBM WebSphere Application Server Communications Enabled Applications Setup guide

Using a login script for deployment of Kaspersky Network Agent to Mac OS X clients

User's Guide - Beta 1 Draft

Transcription:

PERFICIENT IBM Pure Application Create Custom Virtual Image Guide - Part 1 Virtual Image by extending How to guide on Virtual Image creation for Pure Application Technical Architect: Chuck Misuraca

Change History Table 1: Document Change History Document Revision & Date First Draft 1.0 12/09/13 Editor Chuck Misuraca Summary of Change Initial version

Table of Contents Change History... 2 Introduction to IBM Pure Application... 4 Purpose... 4 Audience... 4 Vocabulary words... 5 Background to the exercise:... 5 Step 1: Extend and Capture in the Pure Application workload console... 6 Step 2: IBM Image Construction and Composition Tool(ICCT)... 15 Step 3: Creating a VSP in the Pure Application workload console... 31 Appendix A: Scripts use in this document.... 42 InstallBPMv8.5.sh... 42 BPMInstallv8.5.sh... 42 ConfigBPMv8.5.sh... 44 BPMProfileAugmentv8.5.sh... 44 resetbpmv8.5.sh... 46 References:... 47

Introduction to IBM Pure Application IBM Pure Application(PureApp) System is an IBM cloud product offering that provides customers with the software and hardware in one package. PureApp is a single pane of glass that allows the customer to design, deploy and monitor their infrastructure. Purpose This document is a supplement to all IBM Pure Application official documentation. The purpose of this document is to demonstrate why, when and how to use the tools that come with IBM Pure Application System to create a custom virtual image. This document will cover the use of: 1. Extend and Capture in the Pure Application workload console 2. IBM Image Construction and Composition Tool(ICCT) 3. Creating a Virtual System Pattern in the Pure Application workload console Audience This document is for customer and consultants who are tasked with implementing IBM Pure Application. This document will demonstrate the development of a custom virtual image by extending one of the IBM deliver assets and then using it to create a custom virtual system pattern. It is a cookbook on creating PureApp artifacts.

Vocabulary words Virtual Image - Is either a base OS image like Linux RedHat or an IBM Product image like WebSphere Application Server(WAS) v8.5 Hypervisor addition. Virtual images are building blocks for Virtual System Patterns(VSP) and Virtual Application Patterns(VAP). Virtual System Pattern(VSP) - Is a set of Virtual images that are running software to create a specific topology of a given IBM software product. An example would be WAS in a cluster topology for high availability. VSP's allow the designer to control how many virtual images are used in the pattern. Virtual Application Pattern(VAP) - Is a pattern that includes every Infrastructure piece needed to implement a specific solution. Very little configuration or customization is available or needed. An example is IBM Business Process Management(BPM) v8.5. BPM v8.5 on PureApp comes as a VAP so all a user needs to do is fill out a few fields and deploy it. In the case of the BPM v8.5 VAP, the designer has incorporated best practices into the pattern. The VAP itself hides these implementation details from the user. With VAP's the user will not know how many virtual images are used until deployment time. IBM PureFlex System - The IBM PureFlex System combines compute, storage, networking and virtualization capabilities under a single, unified management console into an infrastructure system that is expert at sensing and anticipating resource needs for your enterprise. PureFlex product is a great candidate for hardware modernization and consolidation projects. IBM PureApplication System(PureApp) - offers users IT lifecycle simplicity in a box, providing a standardized cloud application platform for your web and database applications. Pure Application is the product associated with rapid deployment of mission critical infrastructure. This paper will mainly be focused on Pure Application. IBM PureData System - is optimized exclusively for delivering data services to today's demanding applications with simplicity, speed & lower cost. IBM delivered Assets - Virtual Images, Virtual System Patterns, Virtual Application Patterns... etc. Pure Application workload console - is the single pane of glass that Pure Application is administered from. The user can design, deploy and monitor infrastructure patterns. Some refer to it as the PureApp admin console. Background to the exercise: This document will demonstrate how to extend the IBM WebSphere Application Server Hypervisor Edition 8.5 that comes with PureApp. The extension process will add IBM Business Process Management 8.5(BPM) to the Hypervisor. For the record IBM BPM 8.5 when purchase comes as a Virtual Application Pattern that has all the best practices built-in, it is perfect for Production Deployments. If the custom uses the BPM VAP, it will

deploy a minimum of 12 virtual images. That environment would have 1 Process Center and 1 Process Server. 12 virtual images is not a lot for PureApp. Recently I work with a customer who was attempting to implement IBM BPM 8.5 on a shoe string budget. They purchased enough licenses to cover 1 Process center(single cluster), 3 Process Servers(single cluster) and 2 DB2 instances. Basically they did not have enough licenses to cover 1 virtual application pattern deployment of BPM 8.5 on PureApp. So in this exercise we will create a virtual image of BPM 8.5. The that virtual image can be used to create virtual system pattern with less components which will ease the licensing cost for building Dev, Test and Integration environments. Step 1: Extend and Capture in the Pure Application workload console In this section we will use Extend and Capture to do some minimum changes to the WAS 8.5 hypervisor image. The change will be to the crontab settings. Because we are extending the WAS 8.5 image we need to make sure all the WAS config scripts have run before we extend. We will use cron to do that. Assumptions: The reader has a logon to a Pure Application System and they are familiar with navigating the Pure Application workload console. Required for this section: WAS admin Skills. A name for the extended Virtual image 1. Logon To the Pure Application workload console

2. Navigate to the Catalog -> Virtual Images 3. Select the IBM WebSphere Application Server Hypervisor Edition 8.5. 4. Click Extend

5. Fill out the panel with the Name and the root Password by clicking each link. 6. Click OK. 7. Now the Pure App System will: create the new virtual image and deploy it. Click Refresh to see it change status.

8. Once you see a pencil icon on the image then it is ready to modify. 9. For informational purposes: Click on Patterns -> Virtual System. You see that the Extend action created a VSP for us. When we are done capturing we will need to clean it up. 10. Now Click on Instances -> Virtual System -> Our Instance.

11. Click on Virtual machines -> The running Virtual Machine and get the IP address. 12. Use the IP address with Putty(a terminal emulator of your choice) to logon as root. The root password is what you set in step 5 of this section.

13. Now we will edit the /etc/anacrontab to reduce the the delay time to 7 minutes max. We do not want to wait to long once the Hypervisor scripts complete. Also we add the path to our commands. 14. Now we will get the name of the profile that was created during the Deploy process of this virtual image. We will need this name for the scripts.

15. To cleanup before capturing we will stop the running profile and delete it. This will allow the hypervisor scripts to run again without error. The great thing about extending IBM provided assets is all the names are consistent and predictable, making script writing easy. 16. Click on Catalog -> Virtual Images -> Our Image -> Capture. 17. Click on OK.

18. Click refresh every few minutes to see if status states that the capture is complete. The status will change several times as Pure Application does this task. It can take 30 minutes. 19. The capture is complete. 20. Now click Lock and Then OK so the image will be available to use in ICCT. NOTE: Now we need to cleanup. This is a step that is optional but is done because we are all good corporate citizens who do not leave trash for others to cleanup. Plus your virtual image development environment may not be that big so you do not want to run out of resource. 21. Click on Instances -> Virtual Systems -> Our Instance -> Delete.

22. Click OK. Then Click Refresh until it disappears from the list. It can take 30 minutes. It is gone. 23. Click on Patterns -> Virtual Systems -> Our Virtual Pattern -> Delete. 24. Click OK. This will disappear immediately.

25. Move on to the next section. Step 2: IBM Image Construction and Composition Tool(ICCT) In this section we will use ICCT to create: a software bundle of IBM BPM 8.5 Advance. For the software bundle we will create scripts to install BPM 8.5 Advanced on the WAS 8.5 hypervisor and create scripts to augment the WAS Dgmr or Customer node profile to include BPM 8.5. The scripts will be displayed in Appendix A. Assumptions: 1. The reader has experience with a ICCT environment. 2. The reader has experience with installing WAS and BPM. ICCT is for product experts who are task with creating or extending a virtual image. Required for this section: WAS and BPM installation expertise. A name for your software bundle A name for the extended Virtual Image 1. Access ICCT. This is a Virtual Application Pattern that your Pure Application Admin will setup for you.

2. Click on Images and bundles -> Build and manage software bundles.

3. Click on the green plus sign. 4. Fill out the Form.

5. Click Create. 6. We are in edit mode. 7. Click the green plus sign and add the products included in this bundle.

8. Click on the fields and put in the values then click the disk icon to save. You have to save before leaving each tab. 9. Click on Requirements tab.

10. Click on the twisty next to Any and we will fill in the OS details. Click the save icon. 11. Click the green plus sign Add Software Requirements. 12. Fill in the form and click the save icon. 13. Click on the Install tab.

14. We will fill out this form and click the save icon. Note: we added our install scripts and the install media. The Files to Copy box is not big enough to display all 6 files. 15. Click on the Configuration tab. then click on the green plus sign.

16. Fill out the panel and Click the save icon. NOTE: We named are operation runconfig. We added another script to start the config process. 17. We are going to click on the Firewall tab for completeness. Since we are extending the WAS 8.5 Hypervisor that was delivered with Pure Application we do not need to open any more ports. NOTE: If you need ports open then click on the green plus sign and fill in the form then click the save icon.

18. Click the Reset Tab. 19. We will fill out this form and click the save icon. Next we will import and extend an our Virtual Image from section 1. Then will attach our new software bundle and then we will synchronize the image with Pure Application.

20. Click Images and bundles -> Build and manage images. 21. Click the Import from Cloud Provider icon. 22. Select the our image from section 1. Then add it to the list. 23. Click Import.

24. Click on the image just imported. 25. Click on the extend icon. 26. Give the new image a name and version number. 27. Click Create. 28. Click on our new image.

29. Click the pencil icon so we can add our software bundle. 30. Click on the Software Bundle twisty. 31. Click the green plus sign and select our bundle.

32. Click Add and then click the save icon. 33. Click the Done Editing icon. 34. Click Synchronize icon.

35. Fill out the panel with the root password you want. 36. Click Done. 37. Click the refresh icon and watch the status change as it runs the synchronization process. Note: The synchronization process could take 30 minutes. 38. During this process the image is added to the Virtual Image Catalog in Pure Application.

NOTE: It does not take the name it was give in ICCT. Instead it has the user who created it and a reference number. A Virtual System Pattern and an Instances will also be created for you during the synchronization process. 39. Get the ip address and use it with putty.

40. Once the synchronization process is complete we can use putty to valid the install. I can tell by the information in the window that the install script ran. 41. Capture the image by clicking on Catalog -> Virtual Images -> Our image -> Capture.

42. Click OK. 43. We are ready to test the Virtual Image in a Virtual System Pattern. Move on to Step 3. NOTE: I did one more Extend and Capture to remove the ICCT and reference number on the virtual image name. Step 3: Creating a VSP in the Pure Application workload console In this section we will use the Pure Application Workload Console to create a virtual system pattern as the final test of the custom virtual image. Assumptions: The reader has a logon to a Pure Application System and they are familiar with navigating the Pure Application workload console. Required for this section: WAS admin Skills. A name for the Virtual System Pattern 1. Click on Patterns -> Virtual System

2. Click on the green plus sign.

3. Enter a name and click OK. 4. Click on the pencil to start editing. 5. On the left hand side drag a BPM v8.5 Deployment Manager on to the palette.

6. On the left hand side drag a BPM v8.5 Custom Node on to the palette. 7. Click on the spreadsheet icon on the Deployment Manager. 8. Fill in the password for the virtuser then lock it. The scripts need a specific password to run.

9. Click OK. 10. Click on the spreadsheet icon on the Custom Node. 11. Fill in the password for the virtuser then lock it. The scripts need a specific password to run.

12. Click OK. 13. Click Done editing. 14. Click Deploy and fill out the forms. 15. Give it a name then click on the Dmgr link in the second red rectangle.

16. Fill out the form for the Dmgr. All you need to put in is the root password. 17. Click OK. 18. Click on the Custom node link. 19. Fill out the form for the Custom node. All you need to put in is the root password.

20. Click OK. 21. Click OK again and the Deployment Process will start. 22. Pure Application automatically moves you to the Instances -> Virtual System page.

23. Now we wait until the Pattern starts completely. 24. We get the IP address of the Dmgr.

25. We logon to the WAS admin console. 26. Notice both Nodes only have ND 8.5.0.2 NOTE: We will check the augmentation level of the nodes in about 15 minutes. That should be long enough for the augmentation script to run. 27. Notice both Nodes have BPM 8.5.0.0 now.

28. Now click Servers -> Deployment Environments -> New and create either a Process Center or a Process Server Deployment Environment. 29. Once the Deployment Environment is created, get the DB scripts from the Dmgr profile directory. 30. You can add a DB2 server to this pattern or maybe use an external Oracle server for your BPM databases.

31. That's all Folks! Appendix A: Scripts use in this document. InstallBPMv8.5.sh #!/bin/sh #****************************************************************************** # File Name: InstallBPMv8.5.sh # Description: Used for Start the Install of BPMv8.5 on WASv8.5 hypervisor. # Author: Chuck Misuraca - chuck.misuraca@perficient.com # History: #****************************************************************************** CMD=`pwd` mkdir /opt/ibm/images mkdir /opt/ibm/images/bpm cp ${CMD}/BPMInstallv8.5.sh /opt/ibm/images cp ${CMD}/BPMProfileAugmentv8.5.sh /opt/ibm/images cp ${CMD}/config.ini /opt/ibm/images cp ${CMD}/PURE_bpmAdv_linux_response_nonroot_64bit.xml /opt/ibm/images mv BPM_Adv_V85_Linux_x86_*.tar.gz /opt/ibm/images/ /opt/ibm/images/bpminstallv8.5.sh exit 0 BPMInstallv8.5.sh #!/bin/sh #****************************************************************************** # File Name: BPMInstallv8.5.sh # Description: Used for do the Install BPMv8.5 on WASv8.5 hypervisor.

# Author: Chuck Misuraca - chuck.misuraca@perficient.com # History: #****************************************************************************** export PATH=/opt/IBM/images:$PATH PROFILECHECK=`ps -ef grep DefaultAppSrv01 wc -l` #echo $PROFILECHECK if [ "$PROFILECHECK" -gt 1 ]; then CMD=`pwd` cd /opt/ibm/images/ mv BPM_Adv_V85_Linux_x86_2_of_3.tar.gz bpm cd bpm tar -zxvf BPM_Adv_V85_Linux_x86_2_of_3.tar.gz rm -rf BPM_Adv_V85_Linux_x86_2_of_3.tar.gz cd.. tar -zxvf BPM_Adv_V85_Linux_x86_1_of_3.tar.gz cp -R repository bpm rm -rf repository BPM_Adv_V85_Linux_x86_1_of_3.tar.gz tar -zxvf BPM_Adv_V85_Linux_x86_3_of_3.tar.gz cp -R repository bpm rm -rf repository BPM_Adv_V85_Linux_x86_3_of_3.tar.gz cp /opt/ibm/images/config.ini /opt/ibm/images/bpm/im/configuration cp /opt/ibm/images/pure_bpmadv_linux_response_nonroot_64bit.xml /opt/ibm/images/bpm/responsefiles/bpm /opt/ibm/websphere/profiles/defaultappsrv01/bin/stopserver.sh server1 > /opt/ibm/images/installbpmv8.5.log /opt/ibm/websphere/bin/manageprofiles.sh -deleteall >> /opt/ibm/images/installbpmv8.5.log rm -rf /opt/ibm/websphere/profiles/default* chown -R virtuser:users /opt/ibm/images/ chown -R virtuser:users /opt/ibm/websphere cd /opt/ibm/images/bpm

su virtuser -c "./IM/userinstc -acceptlicense input./responsefiles/bpm/pure_bpmadv_linux_response_nonroot_64bit.xml -log../silent_install.log" cd.. rm -rf bpm fi exit 0 ConfigBPMv8.5.sh #!/bin/sh #****************************************************************************** # File Name: ConfigBPMv8.5.sh # Description: Inserts a line into the crontab for virtuser so the augmentation # process will start after Hypervisor scripts are done. # Author: Chuck Misuraca - chuck.misuraca@perficient.com # History: #****************************************************************************** echo "5 * * * * /opt/ibm/images/bpmprofileaugmentv8.5.sh" > /opt/ibm/images/ncron chown virtuser:users /opt/ibm/images/ncron chmod 755 /opt/ibm/images/ncron su virtuser -c "crontab /opt/ibm/images/ncron" exit 0 BPMProfileAugmentv8.5.sh #!/bin/sh #****************************************************************************** # File Name: BPMProfileAugmentv8.5.sh # Description: Used for BPM profile augmentation.

# Author: Chuck Misuraca - chuck.misuraca@perficient.com # History: #****************************************************************************** export PATH=/opt/IBM/images:$PATH PROFILECHECK=`ps -ef grep DefaultDmgr01 wc -l` #echo $PROFILECHECK if [ "$PROFILECHECK" -gt 1 ]; then echo " It is a Dmgr $PROFILECHECK?" > /opt/ibm/images/bpmprofileaugmentv8.5.log /opt/ibm/websphere/appserver/bin/manageprofiles.sh -listaugments -profilename DefaultDmgr01 >> /opt/ibm/images/bpmprofileaugmentv8.5.log /opt/ibm/websphere/profiles/defaultdmgr01/bin/stopmanager.sh >> /opt/ibm/images/bpmprofileaugmentv8.5.log /opt/ibm/websphere/appserver/bin/manageprofiles.sh -augment -profilename DefaultDmgr01 -templatepath /opt/ibm/websphere/appserver/profiletemplates/bpm/bpmdmgr -adminusername virtuser -adminpassword ibmroot >> /opt/ibm/images/bpmprofileaugmentv8.5.log /opt/ibm/websphere/profiles/defaultdmgr01/bin/startmanager.sh >> /opt/ibm/images/bpmprofileaugmentv8.5.log /opt/ibm/websphere/appserver/bin/manageprofiles.sh -listaugments -profilename DefaultDmgr01 >> /opt/ibm/images/bpmprofileaugmentv8.5.log /opt/ibm/websphere/appserver/bin/iscdeploy.sh -restore >> /opt/ibm/images/bpmprofileaugmentv8.5.log fi crontab -r PROFILECHECK=`ps -ef grep DefaultCustom01 wc -l` if [ "$PROFILECHECK" -gt 1 ]; then echo " It is a Custome node $PROFILECHECK?" > /opt/ibm/images/bpmprofileaugmentv8.5.log CMD=`pwd` cd /opt/ibm/websphere/profiles/defaultcustom01 DHOST=`grep -R dmgrbootanchorhost * cut -d '=' -f2` cd ${CMD} /opt/ibm/websphere/appserver/bin/manageprofiles.sh -listaugments -profilename DefaultCustom01 >> /opt/ibm/images/bpmprofileaugmentv8.5.log

/opt/ibm/websphere/profiles/defaultcustom01/bin/stopnode.sh >> /opt/ibm/images/bpmprofileaugmentv8.5.log >> /opt/ibm/images/bpmprofileaugmentv8.5.log /opt/ibm/websphere/appserver/bin/manageprofiles.sh -augment -profilename DefaultCustom01 -templatepath /opt/ibm/websphere/appserver/profiletemplates/bpm/bpmnode -dmgradminusername virtuser -dmgradminpassword ibmroot -dmgrhost ${DHOST} -dmgrport 9809 >> /opt/ibm/images/bpmprofileaugmentv8.5.log /opt/ibm/websphere/profiles/defaultcustom01/bin/startnode.sh >> /opt/ibm/images/bpmprofileaugmentv8.5.log /opt/ibm/websphere/appserver/bin/manageprofiles.sh -listaugments -profilename DefaultCustom01 >> /opt/ibm/images/bpmprofileaugmentv8.5.log fi exit 0 crontab -r resetbpmv8.5.sh #!/bin/sh #****************************************************************************** # File Name: resetbpmv8.5.sh # Description: Used for BPM Un-Augment. # Author: Chuck Misuraca - chuck.misuraca@perficient.com # History: #****************************************************************************** PROFILECHECK=`ps -ef grep DefaultDmgr01 wc -l` #echo $PROFILECHECK if [ "$PROFILECHECK" -gt 1 ]; then #echo "$PROFILECHECK" /opt/ibm/websphere/appserver/bin/manageprofiles.sh -listaugments -profilename DefaultDmgr01 /opt/ibm/websphere/profiles/defaultdmgr01/bin/stopmanager.sh /opt/ibm/websphere/appserver/bin/manageprofiles.sh -unaugment -profilename DefaultDmgr01 -templatepath /opt/ibm/websphere/appserver/profiletemplates/bpm/bpmdmgr -adminusername virtuser -adminpassword ibmroot /opt/ibm/websphere/profiles/defaultdmgr01/bin/startmanager.sh /opt/ibm/websphere/appserver/bin/manageprofiles.sh -listaugments -profilename DefaultDmgr01

crontab -r else CMD=`pwd` cd /opt/ibm/websphere/profiles/defaultcustom01 DHOST=`grep -R dmgrbootanchorhost * cut -d '=' -f2` cd ${CMD} /opt/ibm/websphere/appserver/bin/manageprofiles.sh -listaugments -profilename DefaultCustom01 /opt/ibm/websphere/profiles/defaultcustom01/bin/stopnode.sh /opt/ibm/websphere/appserver/bin/manageprofiles.sh -unaugment -profilename DefaultCustom01 -templatepath /opt/ibm/websphere/appserver/profiletemplates/bpm/bpmnode -dmgradminusername virtuser -dmgradminpassword ibmroot -dmgrhost ${DHOST} -dmgrport 9809 fi exit 0 /opt/ibm/websphere/profiles/defaultcustom01/bin/startnode.sh /opt/ibm/websphere/appserver/bin/manageprofiles.sh -listaugments -profilename DefaultCustom01 crontab -r References: Preparing for IBM PureApplication System, Part 1: Onboarding applications overview http://www.ibm.com/developerworks/websphere/library/techarticles/1204_abrams/1204_abrams.htm l developerworkstechnical topicswebspheretechnical librarypreparing for IBM PureApplication System, Part 2: Is your application ready to become virtual? http://www.ibm.com/developerworks/websphere/library/techarticles/1204_brown/1204_brown.html Preparing for IBM PureApplication System, Part 3: Choosing a database option http://www.ibm.com/developerworks/websphere/library/techarticles/1204_chan/1204_chan.html developerworkstechnical topicswebspheretechnical librarypreparing for IBM PureApplication System, Part 4: Onboarding applications to the cloud using the Advanced Middleware Configuration tool V1.1 http://www.ibm.com/developerworks/websphere/library/techarticles/1204_akeley/1204_akeley.html

Preparing for IBM PureApplication System, Part 5: Developing virtual application patterns for IBM Workload Deployer with Rational Application Developer http://www.ibm.com/developerworks/websphere/tutorials/1204_brealey/index.html IBM Pure System Web site: http://www.ibm.com/ibm/puresystems/us/en/index.html Creating Smart Virtual Appliances with IBM Image Construction and Composition Tool: http://www.redbooks.ibm.com/redbooks/pdfs/sg248042.pdf Using IBM Image Construction and Composition Tool: http://www.ibm.com/developerworks/aix/library/au-aix-image-construction/index.html IBM Education Assistant for PureApp: http://publib.boulder.ibm.com/infocenter/ieduasst/stgv1r0/index.jsp?topic=/com.ibm.iea.ipas/plugin_c overpage.html Automating Deployment in the cloud: http://www.youtube.com/watch?v=t0vnnvaonaw&list=pla508b797daecdbdf&index=14 Pure Application workload console(admin console): http://www.youtube.com/watch?v=p4wnbw_lqo0&list=pla508b797daecdbdf