Previous Topic: ism-deployTemplate Command--Deploy Packages from a Template (Funclet)

Next Topic: ism-deployTemplateToHost Command--Deploy Template Packages on a Host (Funclet)


ism-deployTemplateForService Command--Deploy Template Packages in a Service (Funclet)

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]
-jobName job_name

(Optional) Specifies the job name that is used in the deployment job list and audit trail.

-template template_name

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.

-serviceName service_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”.

-user user_name

Specifies the user name to log on.

-password user_passsword

Specifies the user password to log on.

-acceptEula

Indicates to accept all End User License Agreements (EULAs) for all deployed packages.

-encrypted

(Optional) Indicates that the username and password are encrypted.

-redeploy

(Optional) Indicates forced redeployment of existing packages.

-ignoreDepends

(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