Practices Guide
LC Integration Best Practices Specification
96
C) GetVirtualDiskViews(): ENUMERATE the DCIM_VirtualDiskView class to view all available
virtual disk FQDDs. See section 2.2 for a definition of ENUMERATE .
D) DeleteVirtualDisk (): Invoke this method to delete the VD
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. 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.’
H) ENUMERATE the DCIM_VirtualDiskView class to ensure successful virtual disk deletion.
See section 2.2 for a definition of ENUMERATE .
Confirm successful execution of the method by listing the virtual disks. The deleted virtual
disk should not be displayed.
14.15 Delete all virtual disks and unassign all hotspares
View the RAID stacking workflows in Section 4 for a comprehensive example.
14.16 Convert physical disks to RAID state
The ConvertToRAID() method is used to convert a physical disks in Non-RAID state to a state 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:
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()