Command Reference > pmrep Command Reference > DeployDeploymentGroup
  

DeployDeploymentGroup

Deploys a deployment group. You can use this command to copy a deployment group within a repository or to a different repository.
To use this command, you must create a control file with all the specifications that the Copy Wizard requires. The control file is an XML file defined by the depcntl.dtd file.
If pmrep cannot immediately acquire object locks in the target repository, by default it waits indefinitely to acquire the locks.
You can use the deployment control file parameters to specify a deployment timeout. The deployment timeout is the period of time (in seconds) that pmrep waits to acquire locks. A value of 0 fails the deployment if pmrep cannot immediately acquire locks. The default value is -1, which instructs pmrep to wait indefinitely to acquire the locks.
Press Ctrl+C to cancel the deployment during the deployment operation or while pmrep is waiting to acquire object locks.
The DeployDeploymentGroup command uses the following syntax:
deploydeploymentgroup

-p <deployment_group_name>

-c <control_file_name>

-r <target_repository_name>

[-n <target_repository_user_name>

[-s <target_repository_user_security_domain>]

  [-x <target_repository_password> |

   -X <target_repository_password_environment_variable>]

  [-d <target_domain_name> |

   {-h <target_portal_host_name>

    -o <target_portal_port_number>}]] (only if target is in a different domain)

[-l <log_file_name>]
The following table describes pmrep DeployDeploymentGroup options and arguments:
Option
Argument
Description
-p
deployment_group_name
Required. Name of the group to deploy.
-c
control_file_name
Required. Name of the XML file containing the Copy Wizard specifications. The deployment control file is required.
-r
target_repository_name
Required. Name of the target repository where you are copying the deployment group.
-n
target_repository_user_
name
Required if you copy the deployment group to a different repository. Login user name for the target repository.
-s
target_repository_user_
security_domain
Required if you use LDAP authentication. Name of the security domain that the user belongs to. Default is Native.
-x
target_repository_password
Optional. Login password for the target repository. You use the -x or -X option, but not both. If you copy the deployment group to a different repository and you do not use the ‑x or -X option, pmrep prompts you for the password.
-X
target_repository_password_
environment_variable
Optional. Login password environment variable for the target repository. You use the -x or -X option, but not both. If you copy the deployment group to a different repository and you do not use the ‑x or -X option, pmrep prompts you for the password.
-d
target_domain_name
Required if you copy the deployment group to a different repository and you do not use the -h and -o options. Name of the domain for repository.
-h
target_portal_host_name
Required if you copy the deployment group to a different repository and you do not use the -d option. Machine name for the node that hosts the domain of the target repository.
-o
target_portal_port_number
Required if you copy the deployment group to a different repository and you do not use the -d option. Port number for the node that hosts the domain of the target repository.
-l
log_file_name
Optional. Log file that records each deployment step. If you omit this option, pmrep outputs the deployment steps to the command line window.