The ism-deployTemplate command deploys all packages defined in a job template to all computers listed in a service. This command returns the UUID of the deployment job.
This command has the following format:
ism-deployTemplateForService [-jobName job_name] -template template_name -service service_name -user user_name -password password -acceptEula [-encrypted] [-redeploy] [-ignoreDepends]
(Optional) Specifies the job name that is used in the deployment job list and audit trail.
Specifies the name or UUID of the job template used as a source for the deployment. Use the template UUID if there are more than one template with the same name.
Specifies the name of the managed service.
Note: In the service name, use double backslash as a delimiter. Using single backslash as a delimiter is interpreted as an escape sequence. For example, specify service name as “Enterprise\\Data Center\\servicename”, instead of “Enterprise\Data Center\servicename”.
Specifies the user name to log on.
Specifies the user password to log on.
Indicates to accept all End User License Agreements (EULAs) for all deployed packages.
(Optional) Indicates that the username and password are encrypted.
(Optional) Indicates forced redeployment of existing packages.
(Optional) Indicates forced deployment even when there are missing package dependencies.
Example: Deploy Template Packages in a Service
This example deploys all packages defined in the template, SysTemplate in the service, Enterprise\Data Center\MyNewService.
ism-deployTemplateForService -template SysTemplate -service Enterprise\Data Center\MyNewService -user admin -password #test# -hostName hvserver -acceptEula -redeploy -ignoreDepends
Copyright © 2013 CA. All rights reserved. |
|