Wednesday, August 26, 2015

Creating deployment environment using Deployment Environment Wizard

Creating deployment environment using Deployment Environment Wizard
Deployment environment wizard is the interactive approach to create deployment environment for BPM
Following pages detail the procedure in making use of this wizard
Make sure the following pre-requisites are met
  1. IBM BPM product installed with process server feature
  2. Deployment manager profile and nodes (minimum 1) created
  3. Required databases for process server created


Start the deployment manager and nodes
Login to deployment manager console and navigate to
Servers > Deployment Environments

Click on New button (adjacent to Start, Stop)
enter value for the following fields
  • deployment environment name
  • deployment environment administrator user name and password,
  • deployment environment type and pattern
as shown below and click next to proceed further

choose the existing node as shown below and proceed with Next
One cluster member added to this node as shown below and proceed further with Next
Cluster name, member name  got populated based on the deployment environment name; accept the default and proceed with next (starting port can be specified if needed)
Enter  the environment name and choose the environment type from drop down box
Select check box to specifiy this server will be offline
Enter database information
Use test connection to validate
Test connection failed with following errors, this can be safely ignored if create Tables check box is not selected
Execute the below commands at DB2 host on DB2 interactive mode

CONNECT TO CMNDBPS
UPDATE DB CFG FOR CMNDBPS USING LOGFILSIZ 16384 DEFERRED
CONNECT RESET

CONNECT TO BPMDBPS
UPDATE DB CFG FOR BPMDBPS USING LOGFILSIZ 16384 DEFERRED
CONNECT RESET

CONNECT TO PDWDBPS
UPDATE DB CFG FOR PDWDBPS USING LOGFILSIZ 16384 DEFERRED
CONNECT RESET
Retry Test connection
Uncheck the check box against create tables before proceed with Next button
Summary page displays the deployment environment properties
Click on export for scripts to download the configuration file of the deployment environment
Click on Generate Deployment environment button
Deployment environment created
Click on deployemnt environment to complete the deferred configuration
There two deferred configuration need to be actioned before starting the deployment environment
  1. executing generated DB2 sql statements to create schema and procedures
  2. loading the database with data (bootstrap)
Transfer the db scripts to database host
Note: There will be two set of db scripts for common database; one at cell level and one at deployment environment level
Tabulated below is the list of scripts to be run

Database
Script to run
CMNDBPS (Cell Scope)
createSchema_Advanced.sql
CMNDBPS (Deployment Environment Scope)
createSchema_Advanced.sql
createSchema_Messaging.sql
BPMDBPS
createSchema_Advanced.sql
createProcedure_Advanced.sql
PDWDBPS
createSchema_Advanced.sql
Screen shot shows the script execution
Cell scope – common database
Deployment environment scope – common database

Deployment environment scope – Process Server Database
Deployment environment scope – Performance ware house Database

Bootstrap process server data as shown below on Process Server host
Navigate to deferred configuration page and click on configuration done button to confirm the deferred configuration completion
Sync the configuration
Start the deployment environment
Deployment environment started
Validate the deployment environment using BPMConfig command line utility with option –validate
The above command will create html output in bin directory of BPM installation
Open the validation report in browser, it's detailed report covers everything as shown below
Verify process portal

No comments:

Post a Comment