Reference Guide

198 Lifecycle Controller Web Services Interface Guide for Linux
<wsman:Selector Name="InstanceID">JID_001300820180</wsman
:Selector>
<wsman:Selector Name="__cimnamespace">root/dcim</wsman:Se
lector>
</wsman:SelectorSet>
</wsa:ReferenceParameters>
</n1:Job>
<n1:ReturnValue>4096</n1:ReturnValue>
</n1:BackupImage_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.1.4 Monitoring Export status
Backup process may take up to 30 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.1.1, 18.1.2, or 18.1.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_001300820180</n1:InstanceID>
<n1:JobStartTime>00000101000000</n1:JobStartTime>
<n1:JobStatus>Backup In Progress</n1:JobStatus>
<n1:JobUntilTime>TIME_NA</n1:JobUntilTime>
<n1:Message>Collecting Lifecycle Controller Firmware images </n1:Message>
<n1:MessageID>BAR063</n1:MessageID>
<n1:Name>Backup:Image</n1:Name>
<n1:PercentComplete>50</n1:PercentComplete>
</n1:DCIM_LifecycleJob>
The status may be one of the following:
Ready for Backup - Request is received
Backup In Progress - Backup process is currently in process
Failed - Problem with the backup process, check message for more information
Completed - Backup process is complete with no issues
18.2 Automatic Backup
Automatic Backup feature allows to create backup server profiles periodically and exports to a CIFS or an
NFS share or to the vFlash.
18.2.1 Enable the Automatic Backup
Enable the Automatic Backup feature by setting the attribute and configuring a job to update the attribute
setting.
wsman invoke -a SetAttribute
http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LCService?Sys