Reference Guide

202 Lifecycle Controller Web Services Interface Guide for Linux
-j utf-8 -y basic
-k IPAddress="[SHARE_IPADDRESS]" -k ShareName="/[DRIVESHARE]"
-k ShareType="2" -k Username="[SHARE_USERNAME]"
-k Password="[SHARE_PASSWORD]" k Passphrase="[PASSPHRASE]"
k ImageName="[IMAGENAME]" k ScheduledStartTime="TIME_NOW"
NOTE: The ShareName field should only be the folder available by the System to the network. Any sub
folder information should be attached to the ImageName field. Otherwise, there can be connection issues
when trying to locate or create the backup file.
Correct EXAMPLE: ShareName=”/folder1”;ImageName=”subfolder/image_name”
Incorrect EXAMPLE: ShareName=”/folder1/subfolder”;ImageName=”image_name”
OUTPUT:
<n1:RestoreImage_OUTPUT>
<n1:Job>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymou
s</wsa:Address>
<wsa:ReferenceParameters>
<wsman:ResourceURI>http://schemas.dell.com/wbem/wscim/1/cimschema/2/D
CIM_LifecycleJob</wsman:ResourceURI>
<wsman:SelectorSet>
<wsman:Selector Name="InstanceID">JID_001300831170</wsman
:Selector>
<wsman:Selector Name="__cimnamespace">root/dcim</wsman:Se
lector>
</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.3.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/cimschema/2/root/dcim/DCIM_Life
cycleJob?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>