White Papers

56 Lifecycle Controller Integration Best Practices Guide
4.22 iSCSI Boot Using QLogic (12th Generation and Later Version of Servers
only)
This workflow sets several NIC attributes, including setup of iSCSI boot, by first setting the required attributes for the
operation, and then changing the boot order for the NIC. Additional detail is provided as setting up iSCSI boot is
complex. Approximate time for completion on a 12G system is 15-30 minutes depending on the system configuration.
Note: Additional details of the coding steps shown below, generational differences, and other iSCSI information can be
found in Appendix: iSCSI Boot information.
Applies to: LC2+
Prerequisites for script:
QLogic NIC
Edit script to set desired parameters
FQDD must be NIC.Integrated.1-1-1 or NIC.Integrated.1-1
Script: iscsiboot-12gNDC-qlogic.win
The four high level steps, which may require four reboots, are the following:
1. If the NDC is disabled, 1 job to enable it in bios and reboot
Now that the card is present, if iscsi offload on 1-3 is disabled, create a job and reboot to enable it
Once iSCSI is enabled, configure iSCSI, but it will not show up in the boot order until after reboot
Once it is in the boot order, move it to the top of the HD list
A) The Lifecycle Controller remote service must be in a “ready” state before running any other WSMAN commands.
GetRemoteServicesAPIStatus():
B) GetBIOSEnumerations(): ENUMERATE the DCIM_BIOSEnumeration class to collect information about the
system. See section 2.2 for a definition of ENUMERATE .
Ensure AttributeName of IntegratedNetwork1 is enabled
If it is not enabled, enable it as shown below
SetBIOSAttributes()
AttributeName=IntegratedNetwork1 AttributeValue=Enabled
AttributeName=BootMode AttributeValue=Bios
CreateBIOSConfigJob()
ScheduledStartTime=TIME_NOW RebootJobType=1
Poll jobstatus for Completed: GET the InstanceID of from 2).
C) 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 FQDD is present in NICViews, If not, go to NICError
D) GetBootSourceSettings(): ENUMERATE the DCIM_BootSourceSetting class to collect information about the boot
sources. See section 2.2 for a definition of ENUMERATE .