White Papers

58 Lifecycle Controller Integration Best Practices Guide
Prerequisites for script:
Intel NIC
Edit script to set desired parameters
Script: iscsiboot-12gHBA-intel.win
A) The Lifecycle Controller remote service must be in a “ready” state before running any other WSMAN commands.
GetRemoteServicesAPIStatus()
B) GetNICViews: ENUMERATE the DCIM_NICVIEW class to collect information about the NIC FQDDs. See
section 2.2 for a definition of ENUMERATE .
Check if specified NIC FQDD is present in NICViews
C) GetNICEnumerations: ENUMERATE the DCIM_NICEnumeration class to collect information about the system.
See section 2.2 for a definition of ENUMERATE .
Check if TcpIpViaDHCP=Enabled and IscsiViaDHCP=Disabled
D) GetBootSourceSettings: ENUMERATE the DCIM_BootSourceSetting class to collect information about the NIC
FQDDs. See section 2.2 for a definition of ENUMERATE .
Loop through all boot sources, if boot source is IPL entry, set CurrentEnabledStatus =0 unless HD [Steps D)-F)]
E) ChangeBootSourceState(): Use InstanceID=IPL EnabledState=0 source=(instanceID from C)
Set CurrentEnabledStatus=1 for NIC FQDD boot source
F) GetBootSourceSettings(): ENUMERATE the DCIM_BootSourceSetting class to collect information about the NICs.
See section 2.2 for a definition of ENUMERATE .
Check the CurrentEnabledStatus state
G) Configure iSCSI
CreateBIOSConfigJob(): Target=(BIOS FQDD)
SetNICAttributes(): Target=(NIC FQDD) Set the attribute LegacyBootProto to the value iSCSIPrimary
CreateNICConfigJob(): Target=(NIC FQDD)
Poll jobstatus for Completed using instanceID from CreateNICConfigJob()
H) Move iSCSI to the top of the HD Boot List by looping through boot sources
GetBootSourceSettings()
ChangeBootSourceState(): Use InstanceID=IPL EnabledState=1 source=(instanceID from
GetBootSourceSettings())
I) GetBootSourceSettings(): ENUMERATE the DCIM_BootSourceSetting class to collect information about the NIC
FQDDs. See section 2.2 for a definition of ENUMERATE .
Loop through boot sources to confirm the NIC FQDD and BCVare in an instanceID
J) Set NIC to first in boot order
a. GetBootSourceSettings()
b. ChangeBootOrderByInstanceID(): Use InstanceID=BCV and source=(instanceID from
GetBootSourceSettings())