generateDeploymentEnv command

Use generateDeploymentEnv to configure deployment environments on a deployment manager.

Use this command when you need to configure a number of deployment environments unattended using a script.
Tip: To prevent incomplete configurations, use validateDeploymentEnvDef to ensure you have met all deployment environment constraints.
Important: Depending on the structure of your deployment environment, this process could take a long time. Make sure that your SOAP timeout value is large enough to prevent the process ending before the configuration completes.
After using the command, save your changes to the master configuration using one of the following commands:
  • For Jython:
    AdminConfig.save()
  • For Jacl:
    $AdminConfig save

Required parameters

-topologyName myEnvName
Specifies the deployment environment to configure.

Optional parameters

None.

Example

Note: The examples are for illustrative purposes only. They include variable values and are not meant to be reused as snippets of code.
This example configures deployment environment westDepEnv.
  • Jython example:
    AdminTask.generateDeploymentEnv('[-topologyName westDepEnv]')
  • Jacl example:
    $AdminTask generateDeploymentEnv {-topologyName westDepEnv }