IBM BPM, V8.0.1, All platforms > Install IBM BPM > IBM BPM Advanced for z/OS: Process Server > Configure IBM BPM Advanced for z/OS: Process Server > Completing the ND configuration > Create the deployment environment > Configure servers, server clusters, and product components > Set up deployment environments > Create deployment environments > Create deployment environments using the command line

Generate deployment environments using the command line

You can generate deployment environments using the wsadmin.sh interface. This capability allows you to configure multiple deployment environments unattended on a dmgr using a script.

You must enter the commands on the dmgr on which you are configuring deployment environments.

When security and role-based authorization are enabled, you must log in to the administrative console as an administrator or configurator to perform this task.

After you have imported or created deployment environments on a dmgr, you can configure the deployment environments using the generateDeploymentEnv command.


Procedure

  1. Enter the wsadmin.sh environment.

  2. Enter the generateDeploymentEnv command for each topology you are configuring.

  3. To define the cluster short names...

    1. Log in to the administrative console and navigate to Servers > Clusters > WebSphere application server clusters.

    2. Click the name of the cluster that you want to change.
    3. Type the new cluster short name in the Short Name area.

      For example change it from BBOC001 (which is usually the default value) to WCL xx where xx is the prefix of the cell, for example WCLT5

  4. To define the server short names...

    1. Log in to the administrative console and navigate to Servers > Server Types > WebSphere application servers.

    2. Click the name of the server that you want to change.
    3. Type the new server.short name in the Short Name area.

      For example change it from BBOS001 to WZ xxZ1 where xx is the prefix of the cell, for example WZT5Z1.

    See z/OS application server naming conventions for more information about defining the server short names.


Example

The following command configures the eastEnvironment topology on host myDmgr.
wsadmin.sh -connType SOAP -host myDmgr -port 8879
> $AdminTask generateDeploymentEnv {-topologyName eastTopology} > $AdminConfig save

If administrative security is enabled, you are prompted for a user ID and password after the system processes wsadmin.sh.


What to do next

Save the configured deployment environments. From the command line, enter $AdminConfig save.

Create deployment environments using the command line


Related information:
generateDeploymentEnvFromDef command
Importing deployment environment definitions using the command line
Manage node agents