You can
use the BPMConfig command to create a typical network
deployment environment using a properties file that contains all of
the values used in the configuration of your deployment environment.
At the same time as the deployment environment is created, you can
create the required database tables, and create a new deployment manager
profile and custom profiles for managed nodes by including settings
for these profiles in the properties file used by the BPMConfig command.
Before you begin
Before you create a deployment environment using the
BPMConfig command-line utility, you may need to manually create all of the
databases that are specified in the properties file. Although the BPMConfig
command can create the database schema and tables, it cannot create the databases. The databases
must be created before the tables are created (and before the servers are started). Depending on the
value that is set for the bpm.de.deferSchemaCreation property, the database
schema and tables can be created when the BPMConfig command is run or they can be
created after the command is run. Information about the
bpm.de.deferSchemaCreation property is found in the About this task
section.
For your SQL Server database server, make sure that
the username and schema exist before the configuration is done. The
schema value should be the default schema for the user chosen.
If connections to the database will be made by the
current Windows user that the server is running under, the SQL Server
must have Windows authentication mode or SQL
Server and Windows Authentication mode enabled, as specified
through Microsoft SQL Server Management Studio. You should also be
sure to use the sample properties file that matches your authentication
method as a basis for your own configuration properties file. For
example, if you base your own configuration properties file on one
of the sample configuration files with a name ending in SQLServer-WinAuth,
the setting for the attribute sqlServerWinAuth is
set to "true" by default.
Important: To use an external Content Platform Engine, the host name must have a domain name suffix,
for example MyDmgrHost.my_domain.com.
If you have not already done so, create custom
directories for your SQL Server Java Database Connectivity (JDBC) driver. In the
Business Automation Workflow installation root on the
Business Automation Workflow deployment manager and every managed node
machine, create a custom directory for your JDBC driver and copy the required JDBC driver JAR file
into it. For example, you could create the following custom directory:
install_root/sqljdbc
About this task
When run with the
-create
-de options, the
BPMConfig command performs
the following tasks:
Procedure
To create the deployment environment for the first time,
complete the following steps:
Note: The value of the
deployment environment type must be Process Center (PC) (for Workflow Center) or Process Server (PS)
(for Workflow Server).
-
If you previously ran the BPMConfig command
with the -create -sqlfiles -outputDir parameters
to generate the database scripts that are used to create your databases,
you should already have a properties file.
Verify that the value of the
bpm.de.deferSchemaCreation property has been
set, and then go to step
5 and complete the
remaining steps.
However, if you do not yet have a
customized properties file that contains the configuration settings
for your profiles, deployment environment, and databases, complete
all of the following steps.
- On the computer where you want to
create the deployment environment, locate the appropriate sample properties
file: BPM_Home\BPM\samples\config.
-
Find the sample properties file that most closely represents your target deployment environment
and make a copy of this file.
For each of the different product configurations, there is a different
folder containing sample configuration files. For example, for configuring an
Advanced, AdvancedOnly, or Standard deployment
environment, there is an advanced, advancedonly, or
standard folder containing a set of sample configuration properties files.
For configuring case management to use an external
Content Platform Engine, there is an
externalcpe folder.
For
configuring case management to use an external IBM® Content
Navigator, there is an
externalicn folder. Within each folder, there is a set of files that are
specific to the different database types and configuration environments. The sample files are named
according to the following format:
de_type[-environment_type]-topology-database_type[-suffix],
where:
- de_type can be set to
Advanced,
AdvancedOnly, or Standard.
- environment_type can be set to
PS for Workflow Server or PC for Workflow Center. This variable is not used if
de_type is AdvancedOnly.
- topology can be set to
SingleCluster or
ThreeClusters.
- database_type can be set to
DB2, DB2zOS,
Oracle, or SQLServer.
- suffix can be set to
-WinAuth for an
SQL Server database.
For example, the sample configuration properties file for configuring
Advanced deployment environments with Workflow Server in a single cluster topology using an SQL
Server database is called Advanced-PS-SingleCluster-SQLServer.properties.
-
Modify your version
of the properties file so that the values correspond to your own configuration.
When modifying the sample properties file,
use the guidance provided within the file for specifying values.
When you are configuring a
Workflow Server
environment to use
Workflow Center remotely, you must change the default value for the
psProcessCenterHostname property from
local host to a valid
host name. If you are configuring an offline
Workflow Server and the value for
bpm.de.psOffline is set to true, then you do not need to specify a value for the
psProcessCenterHostname property.
Note: Your modified properties file must use
UTF-8 encoding.
If you need to use a backslash character (\) in
your properties file, you must use an escape backslash before it, for example
bpm.dmgr.installPath=c:\\IBM\\BPM_V19.0.0.3.
Do not add any custom properties to this
file when you perform your modifications or the BPMConfig command will fail when
it is run.
If
you are configuring a three-cluster setup that is based on the Advanced or AdvancedOnly template,
and you want your deployment environment to include the optional Business
Process Archive Manager, include the properties file entries that
are described in Configuring Business Process Archive Manager.
Set the bpm.dmgr.jdbcDriverPath property to point to
the custom JDBC driver path where your JDBC driver is installed. For SQL databases, there is no
default value and you must specify the path, for example,
install_root/myjdbc.
For more information about the available properties,
read the comments in the sample files, or see the BPMConfig command-line utility and the
sample property file descriptions in Configuration properties for the BPMConfig command.
- Run
the BPMConfig command on the computer that has
the deployment manager, passing it the name of the properties file
you created.
BPM_home\bin\BPMConfig -create -de my_environment.properties
- If you ran the BPMConfig command
with the bpm.de.deferSchemaCreation property
set to true, then you must create your database
tables and if your environment includes the ProcessServer component,
you must also load the Process database. To create the database, run
the SQL scripts that are generated by the BPMConfig command.
To load the Process database, run the bootstrapProcessServerData utility.
For more information, see the related task link for running the generated
scripts for creating database tables.
- Start the deployment manager. Run the BPMConfig command
on each computer that has one or more managed nodes, passing it the
name of the same properties file.
The managed node profiles are created and federated into the deployment manager cell. Only one
node profile can be federated to the deployment manager at a time. Ensure that you are running only
one
BPMConfig command at a time.
Note: For each node that is to be configured on a
different machine from the deployment manager, check the soap port of the deployment manager and
update the value of bpm.dmgr.soapPort in the properties file before running
BPMConfig on the node.
Note: For each
cluster member in the properties file, BPMConfig adds http and https ports
to the virtual hosts list. Check the virtual hosts list after running BPMConfig to
make sure that the assigned ports are acceptable.
- Optional: If you plan to
use applications with advanced content or that have been imported
into IBM Integration Designer and you are adding more than one deployment
environments to the cell, provide a way to distinguish between the
advanced content in these business level applications across the deployment
environments.
What to do next
After you
have created your deployment environment and your database tables,
you can start the deployment manager, node agents, and clusters by
running the BPMconfig command with the -start action
from the deployment manager computer. If you are creating
an Advanced or AdvancedOnly deployment
environment, the deployment manager and node agents need to be restarted
for the cell scoped configuration to take affect. This is only required
for the first deployment environment with Advanced or AdvancedOnly
capabilities.
If
the new or updated node is on the same computer as the deployment
manager node, then the updated or new node is automatically synchronized
with the deployment manager node. Before you start the node, ensure
that this synchronization has completed by checking the syncNode.log file
found in the profile_root\logs directory.
If the new or updated node is on a different computer than the deployment
manager node, you need to run the syncNode.bat or syncNode.sh command
on the new or updated node and wait for the synchronization to complete
before starting the node.