White Papers
14
Job Status
To check the status of a job, run the following command.
WSMAN Input SOAP Packet:
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsman="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
<s:Header>
<wsa:Action
s:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</wsa:Action>
<wsa:To s:mustUnderstand="true">https://10.94.225.31:443/wsman</wsa:To>
<wsman:ResourceURI s:mustUnderstand="true">http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LifeCycleJob</wsman:ResourceURI>
<wsa:MessageID s:mustUnderstand="true">uuid:c0c3195c-4f16-1f16-8002-
6cbb576a0064</wsa:MessageID>
<wsa:ReplyTo>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsman:SelectorSet>
<wsman:Selector Name="InstanceID">JID_949794202321</wsman:Selector>
</wsman:SelectorSet>
</s:Header>
<s:Body/>
</s:Envelope>
WSMAN Output SOAP Packet:
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:n1="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LifeCycleJob">
<s:Header>
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
<wsa:Action>http://schemas.xmlsoap.org/ws/2004/09/transfer/GetResponse</wsa:Action>
<wsa:RelatesTo>uuid:959628f3-4fdb-1fdb-8002-6cbb576a0064</wsa:RelatesTo>
<wsa:MessageID>uuid:0a665b50-4fad-1fad-80e9-96ffd5eb7b84</wsa:MessageID>
</s:Header>
<s:Body>
<n1:DCIM_LifeCycleJob>
<n1:ElapsedTimeSinceCompletion>0</n1:ElapsedTimeSinceCompletion>
<n1:InstanceID>JID_949794202321</n1:InstanceID>
<n1:JobStartTime>NA</n1:JobStartTime>
<n1:JobStatus>Completed</n1:JobStatus>
<n1:JobUntilTime>NA</n1:JobUntilTime>
<n1:Message> The SupportAssist Registration Operation is completed
successfully.</n1:Message>
<n1:MessageArguments>NA</n1:MessageArguments>
<n1:MessageID>SRV088</n1:MessageID>
<n1:Name>SupportAssist Registration</n1:Name>
<n1:PercentComplete>100</n1:PercentComplete>
</n1:DCIM_LifeCycleJob>
</s:Body>
</s:Envelope>