Web Services Interface Guide

62 Dell Lifecycle Controller Web Services Interface Guide for Windows
ReferenceParameters
ResourceURI = http://schemas.dell.com/wbem/wscim/1/cim-schema/2/
DCIM_LifecycleJob
SelectorSet
Selector: InstanceID = JID_859945354433, cimnamespace = root/dcim
ReturnValue = 4096
Verify the value of “Automatic Update Feature” attribute from DCIM_iDRACCardEnumeration. It has to be
“Enabled” to set Automatic update schedule.
7.9.3 Set Update Schedule
SetUpdateSchedule() method sets the schedule for the automatic updates and the source repository from
where the updates are to be applied from.
Example:
winrm i SetUpdateSchedule
cimv2/root/dcim/DCIM_SoftwareInstallationService?SystemCreationClassName=DCIM_So
ftwareInstallationService+SystemName=IDRAC:ID+CreationClassName=DCIM_SoftwareIns
tallationService+Name=SoftwareUpdate -u:root -p:calvin -r:https://<<ip>>/wsman -
SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic -file:SetSchedule.xml
SetSchedule.xml
<p:SetUpdateSchedule_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_SoftwareInstallationService">
<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>