White Papers

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
104
The above command will schedule the job at 10pm. To poll for job completion, enumerate the
DCIM_LifecycleJob job instance.
OUTPUT:
<n1:CreateConfigJob_OUTPUT>
<n1:Job>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
<wsa:ReferenceParameters>
<wsman:ResourceURI>http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_LifecycleJob</wsman:ResourceURI>
<wsman:SelectorSet>
<wsman:Selector Name="InstanceID">JID_001300726718</wsman:Selector>
<wsman:Selector Name="__cimnamespace">root/dcim</wsman:Selector>
</wsman:SelectorSet>
</wsa:ReferenceParameters>
</n1:Job>
<n1:ReturnValue>4096</n1:ReturnValue>
</n1:CreateConfigJob_OUTPUT>
To get the status of the above jobID or list all jobIDs, see 12.2.2 and 12.2.3, respectively.
12.2.2 Get LC Config Job Status
EXAMPLE:
wsman get http://schemas.dell.com/wbem/wscim/1/cim-schema/2/DCIM_LifecycleJob
?__cimnamespace=root/dcim,InstanceID=JID_001300726718
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -j utf-8 -y basic
The method either returns a list of Concrete job objects or an error message. Check for the JobStatus
property equal to Completed (shown below) to know the set has been completed.
OUTPUT:
<n1:DCIM_LifecycleJob>
<n1:InstanceID>JID_001300726718</n1:InstanceID>
<n1:JobStartTime>20191010101010</n1:JobStartTime>
<n1:JobStatus>COMPLETED</n1:JobStatus>
<n1:JobUntilTime>2009:8:11</n1:JobUntilTime>
<n1:Message>The command was successful</n1:Message>
<n1:MessageID>LC001</n1:MessageID>