You can create a deployment environment definition using the wsadmin command. Running createDeploymentEnvDef provides the definition of the deployment environment.
You must be on the deployment manager to create the deployment environment definition.
IBM® Business Process Manager supports a set of patterns, Remote messaging and remote support being the pattern to use for a network deployment production environment. If your deployment manager supports other products in addition to IBM Business Process Manager, you might want to use patterns for those products when creating a deployment environment definition. For information about patterns for other products, see the documentation for those products.
This task creates a deployment environment definition that is based on a specific pattern and uses the wsadmin command.
You can use the wsadmin command to create the same deployment environment as you can create from the administrative console. This capability allows you to run the administrative task to create a deployment environment definition with all the default values based on an existing configuration (the configuration that you created at profile creation time). The command also includes an optional property that imports a database design document. The database design document holds the database configuration for the topology you are creating.
For DB2 and SQL Server databases, IBM Process Server and IBM Performance Data Warehouse should not use the same database as the rest of the components. However, if you are using an Oracle database, the IBM Process Server and IBM Performance Data Warehouse can use the same database instance, but should use different users.
For Oracle databases, make sure that the user name and schema name are exactly the same. The user must exist in the database before you generate the environment.
For SQL Server databases, make sure that the user name and schema exist before the configuration is done. The schema value must be the default schema for the user chosen.
For a production environment, set the same values for user name and schema name and do not select createTables. Create the required schemas manually and use the generated SQL files to create the tables.
A deployment environment definition describes the specific component, configuration (of clusters, nodes, and servers), resources and related configuration parameters that make up a deployment environment. This definition can also be referred to as an instance of a deployment environment configuration. A deployment environment configuration can be exported into a deployment environment definition. You can import a deployment environment definition to add a new deployment environment configuration to your system.
This example creates a deployment environment definition for a remote messaging and remote support pattern on the IBM Business Process Manager runtime, with myDepEnv on the host myDmgr with administrative security enabled. The example imports a database design document named nd.topology.dbDesign:
wsadmin -connType SOAP -host myDmgr -port 8879
> $AdminTask createDeploymentEnvDef { -topologyName topOne
-topologyPattern RemoteMessagingAndSupport
-topologyRuntime BPMSPS -dbDesign C:\dbDesigns\z.nd.topology.dbDesign}
> $AdminConfig save