Web Services Interface Guide
248 Dell Lifecycle Controller Web Services Interface Guide for Windows
winrm i SetAttributes cimv2/root/dcim/DCIM_RAIDSe
rvice?SystemCreationClassName=DCIM_ComputerSystem+CreationClassName=DCIM_RAIDSer
vice+System Name=DCIM:ComputerSystem+Name=DCIM:RAIDService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic
–file:SetAttributes_Integer_RAID_Controller.xml
The input file SetAttributes_Integer_RAID_Controller.xml is shown below:
<p:SetAttributes_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_RAIDService"> <p:Target>RAID.Integrated.1-1</p:Target>
<p:AttributeName>RAIDccRate</p:AttributeName>
<p:AttributeValue>60</p:AttributeValue>
<p:AttributeName>RAIDreconstructRate</p:AttributeName>
<p:AttributeValue>60</p:AttributeValue>
<p:AttributeName>RAIDbgiRate</p:AttributeName>
<p:AttributeValue>60</p:AttributeValue>
</p:SetAttributes_INPUT>
OUTPUT:
SetAttributes_OUTPUT
Message = The method was successful.
MessageID = STOR001
RebootRequired = Yes
ReturnValue = 0
SetResult = Set Pending Value
16.20 Convert Physical Disks to RAID-ConvertToRAID()
The ConvertToRAID() method is used to convert 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
RAIDStatus property, which is enumerated in the DCIM_PhysicalDiskView from Section 16.9, of that
physical disk 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.