Reference Guide
161 Lifecycle Controller Web Services Interface Guide for Linux
2 = Graceful Reboot without forced shutdown
3 = Graceful reboot with forced shutdown
Note: When a user does not want to set a reboot type when creating a target job, you should comment out
the RebootJobType in the input xml. You should not enter “0” or give no parameter at all in the input XML.
ScheduledStartTime & UntilTime: See Section 3.2.4
EXAMPLE:
wsman invoke -a CreateTargetedConfigJob
http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_RAIDService?
SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_RAIDService
,SystemName=DCIM:ComputerSystem,Name=DCIM:RAIDService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J CreateTargetedConfigJob_RAID.xml
-j utf-8 -y basic
The input file CreateTargetedConfigJob_RAID.xml is shown below:
<p:CreateTargetedConfigJob_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_RAIDS
ervice”>
<p:Target>RAID.Integrated.1-1</p:Target>
<p:RebootJobType>3</p:RebootJobType>
<p:ScheduledStartTime>TIME_NOW</p:ScheduledStartTime>
<p:UntilTime>20111111111111</p:UntilTime>
</p:CreateTargetedConfigJob_INPUT>
OUTPUT:
After running this method, a jobid or a message is displayed indicating an error. The status of this jobid
can be checked within the job control provider in Section 10.
<n1:CreateTargetedConfigJob_OUTPUT>
<n1:Job>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/an
onymo us</wsa:Address>
<wsa:ReferenceParameters>
<wsman:ResourceURI>http://schemas.dell.com/wbem/wscim/1/cimsche
ma/2/DCIM_LifecycleJob</wsman:ResourceURI>
<wsman:SelectorSet>
<wsman:Selector Name="InstanceID">JID_001300633744</wsman
:Selector>
<wsman:Selector Name="__cimnamespace">root/dcim</wsman:Se
lector>
</wsman:SelectorSet>
</wsa:ReferenceParameters>
</n1:Job>
<n1:ReturnValue>4096</n1:ReturnValue>
</n1:CreateTargetedConfigJob_OUTPUT>