White Papers
Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux  Version: 2.1.0 
202 
-u $USERNAME -p $PASSWORD 
-J SetAttributes_Integer_RAID_Controller.xml -j utf-8 -y basic 
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: 
<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 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,  should 
reflect the new state of that physical disk. 
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 










