Reference Guide
179 Lifecycle Controller Web Services Interface Guide for Linux
EXAMPLE:
wsman invoke -a CancelBackgroundInitialization
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_RAIDService?
SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_RAIDService
,SystemName=DCIM:ComputerSystem,Name=DCIM:RAIDService"
-h $IPADDRESS-V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -k Target="Disk.Virtual.0:RAID.Integrated.1-1" -j
utf-8 -y basic
16.21.10 Rebuild physical disk -RebuildPhysicalDisk()
This method is used to reconstruct the contents of failed disk onto a new disk or a hot spare.
If there is a redundant virtual disk, the rebuild operation can reconstruct the contents of a failed physical
disk onto a new disk or a hot spare. We can perform this method manually only when “auto rebuild” option
is set to false otherwise rebuild will automatically starts when one disk is fault in VD and the VD has hot
spare.
This configuration is supported by both staged and realtime. Upon success of the method, properties
"OperationalName" and "OperationPercentComplete" shows as "Rebuilding" and "percentage in progress
like 0% to 100%" in DCIM_PhysicalDiskView class.
Invoke RebuildPhysicalDisk() method with the following input parameters:
TARGET: FQDD of the physical disk which is hot spare of the virtual disk.
EXAMPLE:
wsman invoke -a RebuildPhysicalDisk
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_RAIDService?
SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_RAIDService,SystemN
ame=DCIM:ComputerSystem,Name=DCIM:RAIDService"
-h $IPADDRESS-V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -k Target="Disk.Bay.11:Enclosure.Internal.0-1:RAID.Integrated.1-1" -j
utf-8 -y basic
16.21.11 Cancel rebuild physical disk -CancelRebuildPhysicalDisk()
This method is used to cancel the rebuild or reconstruct the contents of failed disk of the virtual disk to a
new disk or a hot spare.
This configuration is supported by both staged and realtime. Upon success of the method, the
“PrimaryStatus” in “DCIM_PhysicalDiskView” class has the value ‘3’, which represents “Error” status.
Invoke CancelRebuildPhysicalDisk() method with the following input parameters:
TARGET: FQDD of the physical disk which is hot spare of the virtual disk.
EXAMPLE:
wsman invoke -a CancelRebuildPhysicalDisk
"http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_RAIDService?
SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_RAIDService
,SystemName=DCIM:ComputerSystem,Name=DCIM:RAIDService"
-h $IPADDRESS-V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -k
Target="Disk.Bay.11:Enclosure.Internal.0-1:RAID.Integrated.1-1"
-j utf-8 -y basic