Create a Workflow Server deployment environment to run processes and
that are deployed from the Workflow Center. You can
create more than one deployment environment in the same cell using the Deployment
Environment wizard.
Before you begin
Ensure that you
have completed the following tasks:
- Install the product
- Create the deployment manager profile and the associated nodes
- Ensure that the databases specified in the Database Configuration panel of the
Deployment Environment wizard are already created. The deployment environment
configuration never creates a database. For more information, see the section about creating
databases.
- Make sure that you start all the local and remote nodes that you
want to add in the deployment environment.
- When you create a 3-cluster deployment environment using the Deployment
Environment wizard, the process might take a lot of time
to complete. In that case, you can perform one of the following steps
to create the 3-cluster environment:
- If you are using the Deployment Environment wizard, you can enable
deployment manager trace for details about the deployment creation.
To enable trace for a single run and till the deployment manager restarts,
log in to the administrative console, go to , add
com.ibm.bpm.config.*=all to the Change
log detail levels text area, and save the changes.
Note: You must have Workflow Server installed to install a Workflow Server-based
deployment environment.
Because the procedure for creating
deployment environments using the Deployment Environment wizard
includes steps for selecting patterns and features, you should read
and understand the information about patterns and features documented
in the planning section.
Required security role for this task: When
security and role-based authorization are enabled, you must log in to the administrative console as
a user with Admin Security Manager and Administrator roles to create a deployment environment. You
cannot grant a group the rights to create a deployment environment. You must use users for this
task.
About this task
This
task describes the procedure for creating a deployment environment
that is based on a specific pattern and uses the Deployment
Environment wizard. When you complete the configuration,
the database scripts that you can use to configure the databases are
generated.
Note: A snapshot that requires Advanced capability cannot be installed on
more than one deployment environment in the same cell.
SQL Server considerations:
- Make sure that the user name and schema exist before the configuration
is done. The schema value should be the default schema for the user
chosen.
- Process and Performance Data Warehouse should not use the same database.
- 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.
Procedure
Complete the following steps to
create the deployment environment.
- From the administrative console, navigate
to the Deployment Environments page by clicking .
- Launch the Deployment Environment wizard
by clicking New on the Deployment
Environments page. The Create new deployment
environment page is displayed.
Note: The database
provides isolation of internal groups, such as administrators. If
the database is shared by two deployment environments, one administrators
group is shared between them. When such a situation occurs, both administrators
are able to login as administrator for each of the deployment environment.
- Enter a unique name for the deployment environment in
the Deployment environment name field.
- Enter a user name for the deployment environment administrator
in the Deployment environment administrator user name field.
Note: It is recommended to use a different administrator for
each deployment environment and also the cell administrator.
- Enter a password for the deployment environment administrator
in the Password field.
- Reconfirm the password in the Confirm password field.
-
In the Dmgr's JDBC driver folder field, specify the JDBC driver path for
the deployment manager. This folder must contain the JAR files for the JDBC drivers for your
database.
For DB2, the default value is ${WAS_INSTALL_ROOT}/jdbcdrivers/DB2. For
Oracle and SQL Server, there is no default and you must specify a value.
-
In the Context root prefix field, you can either accept the default
blank (empty) value or you can specify a context root prefix for all web modules in this
environment. If set, the context root prefix must start with a forward slash character (/).
- Optional: In the Virtual host list,
select a virtual host to map to all web modules of the Business Automation Workflow applications
in the deployment environment. The default selection is (none).
-
From the Business Automation Workflow Deployment
Environment Type section, select Standard Workflow Server. Features represent the runtime
processing capabilities of your deployment environment.
- From the Select the deployment
environment pattern section, select a pattern for the deployment
environment and click Next to display the Select
Nodes page. The available patterns are:
- Single Cluster: The application deployment
target includes the messaging infrastructure and supporting applications.
- Application, Remote Messaging, Remote Support:
A separate cluster each for application deployment, remote messaging,
and remote support.
- On the Select Nodes page,
select the nodes that you want to include in this deployment environment,
then click Next to display the Define
Clusters page.
Select nodes that have the
required capabilities for the environment you selected on the IBM
BPM Deployment Environment Features section.
In the JDBC Driver Path field for each node, specify the JDBC driver path
for the deployment manager. This folder must contain the JAR files for the JDBC drivers for your
database. For DB2, the default value is ${WAS_INSTALL_ROOT}/jdbcdrivers/DB2.
For Oracle and SQL Server, there is no default and you must specify a value.
Select at least
one node for the deployment environment. For high-availability and
failover environments, select at least two nodes. For scalability,
you can add more nodes.
- On the Define Clusters page,
assign the required number of clusters for each node and click Next to
display the Customize Cluster Name and Ports page.
By default one cluster member is assigned on each node for
each function. You change the number by replacing the number in each
column. If you are unfamiliar with the different cluster roles and
functions provided by each type of cluster, see Topology types
and deployment environment patterns.
A 0 (zero) value for
a node means that the node does not contribute to the selected function,
based on features that you have selected.
- On the Customize
Cluster Name and Ports page, customize the cluster names
or cluster member names for the cluster type. You can use the default
values provided, or customize the cluster details, and click Next.
Note: You can specify the starting port for the cluster members.
The system generates default values for cluster member names and the
starting port.
Ensure that the starting port numbers you specify
are at least 20 ports apart. Port numbers are reserved and assigned
to each node for the cluster members using the port number that is
specified. If you specify an initial port when you create the deployment
environment, that same initial port specified would be assigned to
the cluster member. For example, if the port number for the first
cluster member is 2000, it would use the port numbers 2000, 2001,
2002, and so on. The port number of the second cluster member would
be 2020 and the port numbers would be 2020, 2021, 2022, and so on.
The port number of the third cluster member would be 2040.
If
there is already a node on that physical system then there may be
port conflicts and these must be resolved manually by changing the
port values.
If you use additional servers with unique ports, WebSphere® Application
Server does not automatically
configure the virtual host for the server. Specifically, WebSphere Application
Server does not automatically
add the host alias ports to a virtual host. However, you can use the
administrative console to add a new host alias for each of the ports
that are used by the new server. For more information, see the WebSphere Application
Server documentation
about configuring virtual hosts.
-
On the Configure Workflow Server page, set the values
for the Workflow Center configuration and click
Next.
- Environment name
Enter an environment name
of the Workflow Server.
An environment name
is the name by which this server or cluster will be known to a Workflow Center user.
- Environment type
From the pull-down
list, select the environment type for the Workflow Server you are configuring.
The environment
type refers to how the Workflow Server is used. For
example, in what capacity will the Workflow Server
be used - development, test, staging, or production. Load testing might
be done on a test server, while a staging environment type might be used as a temporary location to
host changes before putting those changes into production. You might specify
Staging as the environment type if the Workflow Server you are configuring, will be accessed and
used to review content and new functionality.
There are four types of environments available
for selection:
- Development
- Select Development if the server will serve in a development
capacity.
- Test
- Select Test if the server you are configuring will be used as a testing
environment.
- Staging
- Select Staging if the server will serve as a staging platform to be used
as a preproduction server.
- Production
- Select Production if the server will serve in a production
capacity.
- Use server offline
Indicate whether the
server you are configuring is an offline server.
An offline server is a Workflow Server that is not connected to Workflow Center.
Offline servers can still be used when
deploying snapshots of process applications. However the method for deploying process applications
to an offline Workflow Server differs from the
method for deploying process applications to an online Workflow Server.
- Protocol
Select either
http:// or https:// as the connection protocol to
Workflow Center.
- Host name or virtual host in a load-balanced
environment
Type the host or virtual host that this
Workflow Server needs to communicate with
Workflow Center. Use a fully qualified host name. In an
environment with a load balancer or proxy server between the
Workflow Server and the
Workflow Center services, make sure that what you designate
here matches the URL for accessing
Workflow Center.
Note: Ensure that you specify the host name instead of
localhost for the server name when you configure the Workflow Server. This is required when you are using the
Process Designer remotely.
- Port
Type the port number of Workflow Center. In an environment with a load balancer or
proxy server between Workflow Server and Workflow Center, make sure that what you designate here
matches the URL for accessing Workflow Center.
- User name
Type a valid user name that exists
on Workflow Center. Workflow Server will connect to Workflow Center as this user.
- Password
Type the password for the user.
- Confirm password
Type to confirm the
password for the user.
- Required: On
the Configure Databases page, select Microsoft
SQL Server without Windows Authentication, configure the
database parameters for data sources of the deployment environment,
click Test connection, and after the connection
succeeds click Next to go to the Summary page.
On this page, define the database information for the components that are included in this
deployment environment. Where possible, the wizard supplies default information for the parameters,
but change those values to match the values that you defined when you planned the environment.
Important: The databases specified in this panel must already exist. Deployment environment
configuration never creates a database. For more information, see the section about creating
databases.
- Shared parameters
- Common database
- Name: Type a name for the common database that is used for CommonDB
components, Business Space, Business Process Choreographer, and
Messaging.
- Process database
- Name: Type a name for the Process database.
- Performance Data Warehouse database
- Name: Type a name for the Performance Data Warehouse database.
- Select the databases that you want to separate from the Common database.
- Messaging: Select this option to create a separate messaging engine database.
- Name: Type a name for the messaging engine database.
Case management
- Check Use an external Content Platform Engine to use an external Content
Platform Engine rather than the embedded Content Platform Engine. If you check this box, you can't
fill in the schema names for the Design Object Store and Target Object Store.
Check Use an external Content
Navigator to use an external IBM® Content
Navigator rather than the embedded IBM Content
Navigator. If you check this box, you can't
fill in the schema name for the IBM Content
Navigator database.
- Content database
- Name: Type a name for the content database that is used for the design
object store, target object store (including Case Analyzer and case history), and IBM Content
Navigator.
- Design Object Store database schema name: Type a name for the design
object store schema.
- Target Object Store database schema name: Type a name for the target
object store schema.
- IBM Content
Navigator database schema name: Type a name for the IBM Content
Navigator database schema.
- Network shared directory: Specify the location of the
network shared directory, which is used to store IBM Content
Navigator plug-ins and resources, including
pages, help system contents, widget package, and translation resources. For a single-node cluster,
specify a location in the local file system. In a three-cluster environment, you can do the same, or
specify a virtual or shared drive. The network shared directory must be visible to and writable by
all nodes, so make sure it is mapped to all server nodes in the cluster.
Attention: For an SQL server:
- Make sure that the user name and the schema exist before the configuration
is done. The schema value should be the default schema for the user
chosen.
- Process and Performance Data Warehouse should not use the same database.
- 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 can clear the Create Tables check
box if you want to create the tables manually instead of the configuration
creating it automatically. The scripts to create tables are generated
in the BPM_Install\profiles\DmgrProfile\dbscripts\ folder.
You can run the scripts from the dbscripts folder
and do not need to generate scripts using the BPMConfig command.
Regardless of whether the Create Tables check
box is cleared or selected, you always need to manually run the bootstrapProcessServerData command.
You
can edit all key parameters, such as the database name, whether or
not to create tables, the data source runtime user name, and the password
for the deployment environment. You can select which database to use
for the given component.
Tip: Steps that cannot be completed
through the Deployment Environment wizard, and
which need to be completed manually, are listed on the Deferred Configuration
page. You can view this page after you have created your deployment
environment. To view this administrative console page, click .
- Verify that the information on the Summary page
is correct and perform the following substeps:
- Optional: If you want to exit without generating
the configuration, click Cancel.
- Optional:
If you want to save the environment configuration to configure a similar deployment
environment, click Export for Scripting.
- If you are satisfied with the deployment environment
configuration, click Generate Deployment Environment to
save and complete the configuration of the deployment environment.
This will also generate a properties file in the BPM_Install_Root/logs/config folder
on the deployment manager machine with a timestamp in the file name, bpmconfig-de_name-timestamp.properties.
Save this file for future reference or for troubleshooting any issues.
-
If you have postponed the Workflow Server
database table creation by clearing the create table option on the Database page, create the tables
and load the database with system information by running the
bootstrapProcessServerData command.
Important: This command must be run before starting any cluster members.
- Verify
the deployment environment was created properly by completing the
following steps:
- Log off from the administrative console, shut down the
deployment manager, and then shut down all of the custom profiles.
-
Start the deployment manager, start the custom profiles, and then log in to the administrative
console.
- In the administrative console, start the deployment
environment by clicking . Select
the check box next to the deployment environment and clicking Start.
- After 5 to 10 minutes (or longer, depending on the system),
refresh the deployment environment page; the Status of the deployment
environment changes to started.
- Locate the Tables folder for the
common database. Check that the tables have been created with the
four schemas that you created manually.
- Optional:
Check that tables have been created with the XXXBE## schema in the
Business Process database.
- In the administrative console, select and
check that the installed applications started successfully.
- Select and test that the connection of every component that
is not related to the message engine (that is, every component that
does not include
ME in the name) is successful.
-
Restart the following resources after you have completed your configurations in the order
specified here. For the steps to restart a resource, see Starting and stopping your environment.
-
Stop the deployment environment.
-
Stop the node agent.
-
Stop the deployment manager.
-
Start the deployment manager.
-
Start the node agent.
-
Start the deployment environment.
For Advanced
deployment environment 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 that you create.
Results
When the configuration completes, you can examine
the configuration files to view the changes.
What to do next
Either save the changes to the master configuration
or discard them.
Important: If you use
additional servers with unique ports, WebSphere Application
Server
does not automatically configure the virtual host for the server. Specifically, WebSphere Application
Server does not automatically add the host alias ports
to a virtual host. However, you can use the administrative console to add a new host alias for each
of the ports that are used by the new server. To add a host alias, in the administrative console
navigate to and click New. For more information, see the WebSphere Application
Server documentation about configuring virtual
hosts.
Clean
all applicable profile logs or save them in another directory. You
may want to clean or move the logs as they will be appended with the
last configuration. This can make it difficult to view the most current
information.