The dpmec2 ec2jobcheck command retrieves the job status for a specific instance.
This command has the following format:
dpmec2 ec2jobcheck [-sc sc_url] {-instance instanceID -operation reboot|run|terminate|start|stop|createImage | -image imageID -operation createImage} [-region region] [-pre] [-post][-locale iso639value]
(Optional) Defines the URL for the service controller host.
Example: https://hostname:port/...
Defines the fully qualified host where the service controller is installed.
Example: localhost.ca.com
Defines the listening port for the service controller server.
Example: 80
Specifies the operation for retrieving job status for an instance or image.
Defines the instance ID.
Defines the operation for which you want to check the instance job status. Valid entries: reboot, run, terminate, start, or stop.
Defines the image ID.
Defines any of the regions supported and defined by Amazon.
(Optional) Specifies whether to generate an event before the operation is performed.
(Optional) Specifies whether to generate an event after the operation is performed.
(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 Job Status for Instance Reboot
This example retrieves the job status of the reboot of instance i-1234abcd.
dpmec2 ec2jobcheck -instance i-1234abcd -operation reboot
Copyright © 2013 CA. All rights reserved. |
|