Practices Guide
Lifecycle Controller Integration―Best Practices Specification
101
DCIM_PhysicalDiskView.RAIDStatus property of that physical disk should reflect the new state. One
can expect this operation to take up to 15 minutes depending on system configuration.
Applies to: LC2+
Prerequisites for script:
Set desired RAID physical disk FQDD by editing script
Script: ConvertToRAID.win
A) The Lifecycle Controller remote service must be in a “ready” state before executing any
other WSMAN commands.
GetRemoteServicesAPIStatus()
B) GetControllerViews(): ENUMERATE the DCIM_ControllerView class to view all available
RAID FQDDs. See section 2.2 for a definition of
ENUMERATE .
C) GetPhysicalDiskViews(): ENUMERATE the DCIM_PhysicalDiskView class to view all
available physical disk FQDDs. See section 2.2 for a definition of
ENUMERATE .
Note the value of the RaidStatus parameter of the desired physical disk.
D) ConvertToRAID(): Invoke this method
E) CreateRAIDConfigJob(): Apply step D) [ReturnValue=4096]
F) Poll jobstatus for Completed: GET the InstanceID of from E). See section 2.3 for a
definition of
GET.
G) The Lifecycle Controller remote service must be in a “ready” state before executing any
other WSMAN commands.
GetRemoteServicesAPIStatus()
H) GetPhysicalDiskViews(): ENUMERATE the DCIM_PhysicalDiskView class to view all
available physical disk FQDDs. See section 2.2 for a definition of
ENUMERATE .
Note the new value of the RaidStatus parameter of the desired physical disk.
14.17 Convert Physical Disk Drives to non-RAID State
The ConvertToNonRAID() method is used to convert a set of physical disks in RAID state to a state not
usable for RAID. After the method is successfully executed the PendingValue property of RAIDPDState
should reflect the pending changes. After the CreateTargetedConfigJob method is successfully
executed the DCIM_PhysicalDiskView.RAIDStatus property of that physical disk should reflect the new
state. One can expect this operation to take up to 15 minutes depending on system configuration.
Applies to: LC2+
Prerequisites for script: