You can create a deployment environment definition using the wsadmin command. Running createDeploymentEnvDef provides the definition of the deployment environment.
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.
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 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.
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: