Previous Topic: dpmsd image Command--Deploy an Image

Next Topic: dpmsd installSDAgent--Install Software Delivery Agent


dpmsd imgjobcheck Command--Get OS Imaging Job Status

The dpmsd imgjobcheck command retrieves the image job status of the operating system deployment for a specific CA Server Automation job ID.

This command has the following format:

dpmsd imgjobcheck [-sc sc_url] -status jobID [-pre][-post][-ws_user username -ws_password password][-locale iso629value]
-sc sc_url

(Optional) Defines the URL for the service controller host.

Example: https://hostname:port/...

hostname

Defines the fully qualified host where the service controller is installed.

Example: localhost.ca.com

port

Defines the listening port for the service controller server.

Example: 80

-status={job ID}

Defines the job ID used to obtain the job status.

-pre

(Optional) Specifies whether to generate an event before the operation is performed.

-post

(Optional) Specifies whether to generate an event after the operation is performed.

-ws_user username -ws_password password

(Optional) Specifies the credentials to use for the web service security check. If you do not include credentials, you are prompted to enter them. Avoid the prompt for credentials by setting up your own session using caaipsecurity.

-locale iso639value

(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".

Example: Get the Operating System Image Job Status Using the Job ID

This example retrieves the image job status of the operating system deployment using a CA Server Automation job ID.

dpmsd imgjobcheck -status 40