Reference Guide

199 Lifecycle Controller Web Services Interface Guide for Linux
temCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_LCService,Syst
emName=DCIM:ComputerSystem,Name=DCIM:LCService
-h $IPADDRESS -V -v c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J SetAttribute_LC.xml -j utf-8 -y basic
The syntax for SetAttribute.xml
<p:SetAttribute_INPUT
xmlns:p=“http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_LCSer
vice">
<p:AttributeName>Automatic Backup
Feature</p:AttributeName>
<p:AttributeValue>Enabled</p:AttributeValue>
</p:SetAttribute_INPUT>
wsman invoke -a CreateConfigJob
http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LCService?Sys
temCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_LCService,
SystemName=DCIM:ComputerS ystem,Name=DCIM:LCService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-j utf-8 -y basic
OUTPUT:
<n1:CreateConfigJob_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/cim-schema/2/DCIM_LifecycleJob</wsman:ResourceURI>
<wsman:SelectorSet>
<wsman:Selector Name="InstanceID">JID_001300726718</wsman
:Selector>
<wsman:Selector Name="__cimnamespace">root/dcim</wsman:Se
lector>
</wsman:SelectorSet>
</wsa:ReferenceParameters>
</n1:Job>
<n1:ReturnValue>4096</n1:ReturnValu e>
</n1:CreateConfigJob_OUTPUT>
18.2.2 Set Backup Schedule
The SetBackupSchedule() method used by the DCIM_LCService class is used to configure automatic
backup schedule using WS-Man.
wsman invoke -a SetBackupSchedule
http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LCService?
SystemCreationClassName=DCIM_Compu terSystem,CreationClassName=DCIM_LCService,
SystemName=DCIM:ComputerSystem,Name=DCIM:LCService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J autobackup.xml j utf-8 -y basic