White Papers

41 Lifecycle Controller Integration Best Practices Guide
a. The CurrentAssignedSequence attribute of each instance defines the instance’s place in the zero based
indexed boot sequence
b. The CurrentEnabledStatus attribute defines whether the boot source, such as the hard drive, is enabled
c. If the current sequence is 0 and the status is enable, skip to the end
ChangeBootOrderByInstanceID(): using instanceID = IPL [ReturnValue=0]
ChangeBootSourceState(): using instanceID = IPL and EnabledState=1 [ReturnValue=0]
Poll jobstatus for Completed: GET the InstanceID of from E). See section 2.3 for a definition of GET.
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.’
ENUMERATE the DCIM_BootSourceSetting class. See section 2.2 for a definition of ENUMERATE.
a. The CurrentAssignedSequence of the “Hard drive C” should be 0
b.
The CurrentEnabledStatus of the “Hard drive C” should be 1
4.6 Export (Backup) Image to vFlash
This workflow performs a backup, or export operation, which saves the image to the vFlash. The TIME_NOW parameter
is passed, which invokes the operation immediately. Approximate time for completion on an 12G system is 20-50
minutes depending on the system configuration.
Applies to: LC1.5.0+
Prerequisites for script:
Valid and enabled vFlash card for licensing
[optional] Change passphrase by editing script
Script: Backup_vFlash.win
1. 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.
BackupImage(): Performs backup operation [ReturnValue=4096].
Poll jobstatus for Completed: GET the InstanceID of from B). See section 2.3 for a definition of GET.
Note: The available space on the SD card will be reduced by 384MB upon completion of successful backup.
4.7 Export (backup) Image to CIFS or NFS Share
This workflow performs a backup, or export operation, which saves the image to a CIFS or NFS share. The TIME_NOW
parameter is passed, which invokes the operation immediately. Approximate time for completion on a 12G system is 20-
50 minutes depending on the system configuration.
Note: The export operation will overwrite an existing backup image on a network share if an identical name is used.