White Papers

36 Lifecycle Controller Integration Best Practices Guide
4 Workflows
The Best Practice Guide provides the detailed step-by-step Lifecycle Controller WSMAN API interactions and
algorithmic descriptions needed to implement various system management workflows.
4.1 RAID stacking: ResetConfig, CreateVD, Assign Hot-Spares
This workflow stacks multiple RAID operations together and is applied immediately using the TIME_NOW parameter,
which requires one reboot operation. The workflow deletes existing virtual disks and unassigns all hotspares before
creating a single virtual disk, a dedicated hotspare, and a global hotspare. Following completion of the reboot, the new
virtual disk and hotspare results will be verified. Approximate time for completion on a 12G system is 15 minutes.
Applies to: LC1.5.1+
Prerequisites for script:
Set FQDD of desired RAID controller by editing the following script
Applicable RAID controller and hard drives
Script: RAIDstacking_TIME_NOW.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.
[LC1.5.1 only] Disable CSIOR (Collect System Inventory on Restart).
Note: On 11G systems, CSIOR must be disabled to circumvent a sync behavior that prohibits successful RAID
stacking.
a. SetLCAttribute(): Sets attribute to be configured [ReturnValue=0]
b. CreateConfigJob(): Creates jobID and applies configuration [ReturnValue=4096]
ENUMERATE the DCIM_ControllerView class to find RAID controller’s instanceID & FQDD
(They are often identical.) See section 2.2 for a definition of ENUMERATE .
a. Integrated RAID card example is ”RAID.Integrated.1-1”
b. External RAID card example is ”RAID.Slot.1-1”
ResetConfig(): Delete all virtual disks and unassign all HotSpare physical disks. [ReturnValue=0]
CreateVirtualDisk(): RAID 1 on physical disk 0 & 1, for example. [ReturnValue=0].
AssignSpare(): Create dedicated hotspare using Create VD instanceID [ReturnValue=0].
AssignSpare(): Create global hotspare [ReturnValue=0].
CreateRAIDConfigJob(): Apply steps D) F) [ReturnValue=4096].
Poll jobstatus for Completed: GET the InstanceID of from H). 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_VirtualDiskView class to ensure successful virtual disk creation. See section 2.2 for
a definition of ENUMERATE .