White Papers

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
181
EXAMPLE:
winrm i SetAttribute cimv2/root/dcim/DCIM_RAIDSe
rvice?SystemCreationClassName=DCIM_ComputerSystem+CreationClassName=DCIM_RAIDService+System
Name=DCIM:ComputerSystem+Name=DCIM:RAIDService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck
-encoding:utf-8 -a:basic
file:SetAttribute_Integer_RAID_Controller.xml
The input file SetAttribute_Integer_RAID_Controller.xml is shown below:
<p:SetAttribute_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:SetAttribute_INPUT>
OUTPUT:
SetAttribute_OUTPUT
Message = The method was successful.
MessageID = STOR001
RebootRequired = Yes
ReturnValue = 0
SetResult = Set Pending Value
16.19.4 Changing Multiple Values of RAID Controller Integer Attributes
The SetAttributes() method is used to set or change multiple values of RAID controller attributes. The
following example shows setting multiple RAID controller integer attributes.
Invoke SetAttributes with the following parameters (from Section 16.1) and syntax:
TARGET: Obtained from the FQDD field
AttributeName: Obtained from the AttributeName field
AttributeValue: Obtained from the PossibleValues field
EXAMPLE:
winrm i SetAttributes cimv2/root/dcim/DCIM_RAIDSe
rvice?SystemCreationClassName=DCIM_ComputerSystem+CreationClassName=DCIM_RAIDService+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: