Technical White Paper

<p:AttributeName>RAIDreconstructRate</p:AttributeName>
<p:AttributeValue>60</p:AttributeValue>
<p:AttributeName>RAIDbgiRate</p:AttributeName>
<p:AttributeValue>60</p:AttributeValue>
</p:SetAttributes_INPUT>
OUTPUT:
<n1:SetAttributes_OUTPUT>
<n1:Message>The method was successful.</n1:Message>
<n1:MessageID>STOR001</n1:MessageID>
<n1:RebootRequired>Yes</n1:RebootRequired>
<n1:ReturnValue>0</n1:ReturnValue>
<n1:SetResult>Set Pending Value</n1:SetResult>
</n1:SetAttributes_OUTPUT>
16.20 Convert Physical Disk Drives to RAID-ConvertToRAID()
The ConvertToRAID() method is used to convert physical disk drives in Non-RAID state to a state
usable for RAID. After the method is successfully ran the PendingValue property of
RAIDPDState
should reflect the pending changes. After the CreateTargetedConfigJob() method is successfully ran
the
RAIDStatus
property, which is enumerated in the
DCIM_PhysicalDiskView
from
Section 16.9
,
of
that
physical disk drive should reflect the new state.
Invoke ConvertToRAID() with the following parameters and syntax:
Physical Disk TARGET: Obtained from the
FQDD
field (Section 16.9)
An example of Disk.Bay.2:Enclosure.Internal.0-0:RAID.Slot.1-1 is shown below.
EXAMPLE:
winrm invoke ConvertToRAID
"cimv2/root/dcim/DCIM_RAIDService?SystemCreationClassName=DCIM_ComputerSystem
+CreationClass
Name=DCIM_RAIDService+SystemName=DCIM:ComputerSystem+Name=DCIM:RAIDService"
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J СonvertToRAID.xml -j utf-8 -y basic
The input file ConvertToRAID.xml is shown below:
<p:ConvertToRAID_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cimschema/
2/root/dcim/DCIM_RAIDService">
<p:PDArray>Disk.Bay.2:Enclosure.Internal.0-0:RAID.Slot.1-1</p:PDArray>
</p:ConvertToRAID_INPUT>
OUTPUT:
ConvertToRAID_OUTPUT
RebootRequired = 1
ReturnValue = 0