Reference Guide

131 Lifecycle Controller Web Services Interface Guide for Linux
<n1:BIOSBootString>Embedded SATA Port A Optical: TSSTcorpDVD-ROM TS-L333A
UefiBootSeq</n1:BIOSBootString>
<n1:BootString>Embedded SATA Port A Optical: TSSTcorpDVD-ROM TS-L333A
UefiBootSeq</n1:BootString>
<n1:CurrentAssignedSequence>0</n1:CurrentAssignedSequence>
<n1:CurrentEnabledStatus>1</n1:CurrentEnabledStatus>
<n1:ElementName>Embedded SATA Port A Optical: TSSTcorpDVD-ROM TS-L333A
UefiBootSeq</n1:ElementName>
<n1:FailThroughSupported>1</n1:FailThroughSupported>
<n1:InstanceID>UEFI:Optical.SATAEmbedded.A-1:0619f6756330eedb18cda74cc54f1b
ee</n1:InstanceID>
<n1:PendingAssignedSequence>0</n1:PendingAssignedSequence>
<n1:PendingEnabledStatus>1</n1:PendingEnabledStatus>
</n1:DCIM_BootSourceSetting
14.4 Changing the Boot Order by
InstanceIDChangeBootOrderByInstanceID()
The ChangeBootOrderByInstanceID() method is called to change the boot order of boot sources within
a configuration. The method’s input parameter, source, is an ordered array of InstanceIDs of
BootSourceSetting instances.
The CurrentAssignedSequence attribute of each instance, from Section 14.3, defines the instance’s place
in the zero based indexed boot sequence.
Note: In order for the changes to be applied, the CreateTargetedConfigJob() method in Section 17.7 must
be ran.
Invoke ChangeBootOrderByInstanceID() with the following parameters and syntax:
[INSTANCE ID]: Obtained from the BootSourceSetting Class enumeration, this example uses the
field IPL.
source: Reference to the InstanceID attribute from Section 14.3
EXAMPLE:
wsman invoke -a ChangeBootOrderByInstanceID
http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_BootConfigSett
ing?InstanceID=$INSTANCEID
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J ChangeBootOrderByInstanceID.xml -j utf-8 -y basic
The input file ChangeBootOrderByInstanceID.xml is shown below:
<p:ChangeBootOrderByInstanceID_INPUT
xmlns:p=“http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_BootC
onfigSetting">
<p:source>IPL:Optical.SATAEmbedded.A-1:eb8aeb15796fb85f8e1447f0cfb8a68e</p:
source>
<p:source>UEFI:Disk.iDRACVirtual.1-2:1723</p:source>
<p:source>UEFI:Disk.iDRACVirtual.1-2:1723</p:source>
<p:source>UEFI:Disk.iDRACVirtual.1-3:1998</p:source>
<p:source>UEFI:Disk.iDRACVirtual.1-4:1821</p:source>
</p:ChangeBootOrderByInstanceID_INPUT>
OUTPUT:
<n1:ChangeBootOrderByInstanceID_OUTPUT>
<n1:Message> The command was successful</n1:Message>
The source input is
obtained from the
BootSourceSetting
inventory in Section 14.3