White Papers

50 Lifecycle Controller Integration Best Practices Guide
B) Enable CSIOR (Collect System Inventory on Restart)
a. SetAttribute(): Sets attribute to be configured [ReturnValue=0]
b. CreateConfigJob(): Creates jobID and applies configuration [ReturnValue=4096]
C) Call subroutine sub_setEmbNICs_NIC1_NIC2.win to perform the following:
a. GetBIOSEnumerations(): Enumerate the DCIM_BIOSEnumeration to obtain the current values of EmbNic
attributes
b. DeletePendingBIOSConfiguration(): Ensures there is no other pending BIOS configuration
c. SetAttribute(): Set parent attribute EmbNic1Nic2 to DisabledOS [ReturnValue=0]
d. SetAttribute(): Set child attributes EmbNic1 and EmbNic2 to Disabled [ReturnValue=0]
e. CreateBIOSConfigJob(): Creates jobID and applies configuration immediately with reboot job type of 3
[ReturnValue=4096]
Note: The following RS Status polling for SSIB task
f. The Lifecycle Controller remote service must be in a “ready” state before running any other WSMAN
commands. The GetRSStatus() method or the GetRemoteServicesAPIStatus() method may be used
depending on the version of the LC Management registered profile.
The GetRSStatus() method must first poll for ‘reloading’ then poll for ‘ready’, while the GetRemoteServicesAPIStatus()
can just poll for ‘ready.’
Note: The following RS Status polling is for PXE to be set in the boot list during CSIOR
g. The Lifecycle Controller remote service must be in a “ready” state before running any other WSMAN
commands. The GetRSStatus() method or the GetRemoteServicesAPIStatus() method may be used
depending on the version of the LC Management registered profile.
The GetRSStatus() method must first poll for ‘reloading’ then poll for ‘ready’, while the GetRemoteServicesAPIStatus()
can just poll for ‘ready.’
D) Call subroutine sub_setEmbNICs_NIC1_NIC2.win to perform the following:
a. GetBIOSEnumerations(): Enumerate the DCIM_BIOSEnumeration to obtain the current values of EmbNic
attributes
b. DeletePendingBIOSConfiguration(): Ensures there is no other pending BIOS configuration
c. SetAttribute(): Set parent attribute EmbNic1Nic2 to Enabled [ReturnValue=0]
d. SetAttribute(): Set child attributes EmbNic1 and EmbNic2 to EnabledPxe [ReturnValue=0]
e. CreateBIOSConfigJob(): Creates jobID and applies configuration immediately with reboot job type of 3
[ReturnValue=4096]
Note: The following RS Status polling for SSIB task
f. The Lifecycle Controller remote service must be in a “ready” state before running any other WSMAN
commands. The GetRSStatus() method or the GetRemoteServicesAPIStatus() method may be used
depending on the version of the LC Management registered profile.
The GetRSStatus() method must first poll for ‘reloading’ then poll for ‘ready’, while the GetRemoteServicesAPIStatus()
can just poll for ‘ready.’