Web Services Interface Guide

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
221
<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_001300831170</wsman:Selector>
<wsman:Selector Name="__cimnamespace">root/dcim</wsman:Selector>
</wsman:SelectorSet>
</wsa:ReferenceParameters>
</n1:Job>
<n1:ReturnValue>4096</n1:ReturnValue>
</n1:RestoreImage_OUTPUT>
The response contains a reference to the job class that will provide the status of the operation.
The return value is 4096 which indicates that the method operation is not yet complete.
18.2.4 Monitoring Import Status
Restore process may take up to 60 minutes depending on host system configuration. To monitor the
backup status, get the instance of the corresponding job.
Replace [INSTANCE ID] with the actual jobid from Section 18.2.1, 18.2.2, or 18.2.3.
EXAMPLE:
wsman get http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LifecycleJob?InstanceID=[INSTANCEID]
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -j utf-8 -y basic
OUTPUT:
<n1:DCIM_LifecycleJob>
<n1:InstanceID>JID_001300831170</n1:InstanceID>
<n1:JobStartTime>00000101000000</n1:JobStartTime>
<n1:JobStatus>Restore In Progress</n1:JobStatus>
<n1:JobUntilTime>TIME_NA</n1:JobUntilTime>
<n1:Message>Collecting Lifecycle Controller Firmware
images </n1:Message>
<n1:MessageID>BAR081</n1:MessageID>
<n1:Name>Restore:Image</n1:Name>
<n1:PercentComplete>30</n1:PercentComplete>
</n1:DCIM_LifecycleJob>
The status may be one of the following: