Reference Guide
50 Lifecycle Controller Web Services Interface Guide for Linux
-u $USERNAME -p $PASSWORD
-J SetSchedule.xml -j utf-8 -y basic
The input file SetSchedule.xml is shown below:
<p:SetUpdateSchedule_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_Softw
areInstallationService">
<p:IPAddress>IPADDR</p:IPAddress>
<p:ShareName>Sharename/Repository</p:SharePath>
<p:ShareType>0</p:ShareType>
<p:Username>USER</p:Username>
<p:Password>PASS</p:Password>
<p:Time>15:00</p:Time>
<p:DayofWeek>mon,Tue,wed</p:DayofWeek>
<p:WeekofMonth>2</p:WeekofMonth>
<p:Repeat>5</p:Repeat>
</p:SetUpdateSchedule_INPUT>
7.9.4 Get the Update Schedule
GetUpdateSchedule() lists the parameter set by SetUpdateSchedule().
EXAMPLE:
wsman invoke -a GetUpdateSchedule
http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_SoftwareInstal
lationService?SystemCreationClassName=DCIM_SoftwareInstallationService,
SystemName=IDRAC:ID,CreationClassName=DCIM_SoftwareInstallationService,
Name=SoftwareUpdate
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p c$PASSWORD
-j utf-8 -y basic
OUTPUT:
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:n1="http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_Soft
wareInstallationService">
<s:Header>
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
</wsa:To>
<wsa:Action>http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM
_SoftwareInstallationService/GetUpdateScheduleResponse</w sa:Action>
<wsa:RelatesTo>uuid:4ecf5ed2-ecb2-1cb2-8002-5498f6b92600</wsa:RelatesTo>
<wsa:MessageID>uuid:dc17b9a2-ecb8-1cb8-801e-2b831e1cb190</wsa:MessageID>
</s:Header>
<s:Body>
<n1:GetUpdateSchedule_OUTPUT>
<n1:ApplyReboot>0</n1:ApplyReboot>
<n1:CatalogName>Sample.xml</n1:CatalogName>
<n1:DayofMonth>*</n1:DayofMonth>
<n1:IPAddress>10.94.192.100</n1:IPAddress>
<n1:Repeat>5</n1:Repeat>
<n1:ReturnValue>4096</n1:ReturnValue>
<n1:ShareName>Somepath</n1:ShareName>
<n1:ShareType>nfs</n1:ShareType>