importDeploymentEnvDef command

Use the importDeploymentEnvDef command to import topologies into the deployment manager.

This command imports a deployment environment definition exported from a deployment manager.
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

-filePath directory_location_of_deployment_environment_file
Specifies the full path and file name of the file that contains the deployment environment definition you are importing.
-topologyName name_of_topology
Renames the imported deployment environment on this deployment manager.

Optional parameters

None.

Examples

This example shows how to use the importDeploymentEnvDef command to import a deployment environment named myDepEnv and rename it westDepEnv

  • Jython example:
    AdminTask.importDeploymentEnvDef('[-filePath c:/importedEnvs/myDepEnv.xml 
    -topologyName westDepEnv]')
  • Jacl example:
    $AdminTask importDeploymentEnvDef {-filePath c:/importedEnvs/myDepEnv.xml 
    -topologyName westDepEnv}