Practices Guide
LC Integration Best Practices Specification
60
Script: FCoEboot-12g-Broadcom.win
The four high level steps, which may require 3 reboots, are the follows:
1) If the NIC is disabled, 1 job to enable it in bios and reboot
2) If partition disabled, 1 job to enable partition and reboot
3) Once both NIC card and partition are enabled, set the FCoE related NIC attributes
and reboot
4) After that, the NIC will show up in the IPL list, enable it.
A) Check the NIC is enabled
1. GetBIOSEnumerations(): ENUMERATE the DCIM_BIOSEnumeration class to collect
information about the system.
2. Ensure AttributeName of $nicAttributeName is enabled
If it is not enabled, enable it as shown below
SetBIOSAttributes()
AttributeName=$nicAttributeName AttributeValue=Enabled
AttributeName=BootMode AttributeValue=Bios
CreateBIOSConfigJob()
ScheduledStartTime=TIME_NOW RebootJobType=1
Poll jobstatus for Completed
B) Check partition is enabled, if not enable it as follows
AttributeName=NicPartitioning AttributeValue=Enabled
C) Configure FCoE
1. Disable all sources
2. Create BIOS job
3. Set the following attributes
LegacyBootProto=FCoE
ConnectFirstFCoETarget=Enabled
FCoEOffloadMode=Enabled
FCoETgtBoot=Enabled
VirtWWPN=your WWPN address
FirstFCoEWWPNTarget=your FirstFCoEWWPNTarget address
FirstFCoEBootTargetLUN=your FirstFCoEBootTargetLUN value
D) GetBootSourceSettings(): ENUMERATE the DCIM_BootSourceSetting class to collect
information about the boot sources.
E) Loop through all boot sources, until find the NIC, then enable the NIC boot source