Instead of
using the Profile Management Tool, you can use the manageprofiles
command-line utility to create new profiles.
Before you begin
Make sure
that you are not already running the manageprofiles command-line
utility on the same profile. If an error message is displayed when
you run the command, determine if there is another profile creation
or augmentation action in progress. If so, wait until it completes.
Procedure
- Determine the kind of profile you want
to create, which in turn determines the template to use for your profile
(using the -templatePath option).
Templates for each profile are located
in the install_root/profileTemplates/BPM directory
for BPM templates.
The following templates are available:- dmgr.procctr: for a Process
Center deployment manager profile for IBM BPM Standard.
- dmgr.procsvr:
for a Process Server deployment manager profile for IBM BPM Standard.
- Determine which parameters are required
for your profile by reviewing the example profile creation commands.
Determine the values that you want to supply for the profile by reviewing
the default values in the manageprofiles parameters
topic.
- To use the -responseFile parameter,
look at the provided sample response files and create a response file
that is specific to your environment.
Important: Ensure that you do
not leave blank spaces after the values; for example 'personalCertValidityPeriod=1
' or 'winserviceCheck=false '. Spaces will
cause profile creation to fail.
The samples are located in
the install_root/BPM/samples/manageprofiles directory.
Choose an appropriate response file based
on the database and type of profile (stand-alone or network, Process Center or Process Server).
The following sample files are available:- PC_Std_DMgr_DB2.response
- PC_Std_DMgr_DB2zOS.response
- PC_Std_DMgr_Oracle.response
- PC_Std_DMgr_SQLServer.response
- PC_Std_Managed_DB2.response
- PC_Std_Managed_DB2zOS.response
- PC_Std_Managed_Oracle.response
- PC_Std_Managed_SQLServer.response
- PC_Std_Standalone_DB2.response
- PC_Std_Standalone_DB2zOS.response
- PC_Std_Standalone_Oracle.response
- PC_Std_Standalone_SQLServer.response
- PS_Std_DMgr_DB2.response
- PS_Std_DMgr_DB2zOS.response
- PS_Std_DMgr_Oracle.response
- PS_Std_DMgr_SQLServer.response
- PS_Std_Managed_DB2.response
- PS_Std_Managed_DB2zOS.response
- PS_Std_Managed_Oracle.response
- PS_Std_Managed_SQLServer.response
- PS_Std_Standalone_DB2.response
- PS_Std_Standalone_DB2zOS.response
- PS_Std_Standalone_Oracle.response
- PS_Std_Standalone_SQLServer.response
Copy one of the sample response files to your working directory. Use the chmod command
to assign the appropriate permissions to your new copy of the response
file. For example:chmod 644 BPM_Dmgr.response
Edit the parameters in the response file as
appropriate to your configuration and save the edited response file.
Make sure that the templatePath property path
matches your specific installation directory.
- Run the file from the command line. For example:
Note: The following example
is an example only and shows optional parameters as well as required
parameters. For a more complete set of parameters that can be changed,
see the response file for creating deployment manager profiles.
manageprofiles.sh -create -templatePath install_root/profileTemplates/BPM/dmgr.procctr -adminUserName bpmadmin -adminPassword bpmsecret -dbUserId db2user -dbPassword db2secret -dbType DB2_DATASERVER -procSvrDbName BPMDB -perfDWDbName PDWDB
If you have created a response
file, specify the
-response parameter without
any other parameters. For example:
manageprofiles.sh -response myResponseFile
The status is written to the console window
when the command is finished running. Normal syntax checking on the
response file applies as the file is parsed like any other response
file. Individual values in the response file are treated as command-line
parameters.
What to do next
- Run the scripts to create and configure the DB2 for z/OS database.
- Add custom (managed nodes) profiles to be managed by the deployment
manager and then configure the deployment environment.