White Papers

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
169
OUTPUT:
GetAvailableDisks_OUTPUT
PDArray = Disk.Bay.0:Enclosure.Internal.0-0:RAID.Integrated.1-1, Disk.Bay.1:Enclosure.Internal.0-
0:RAID.Integrated.1-1
ReturnValue = 0
16.18.3 Checking the Create VD Parameters Validity-CheckVDValues()
The CheckVDValues() method is used to determine possible sizes of virtual disk as well default
settings, given a RAID level and set of disks. The VDPropArray is filled in with Size and other values for
a successful execution of the method.
Invoke CheckVDValues() with the following parameters and syntax:
TARGET: This parameter is the FQDD of the DCIM_ControllerView (Section 16.7)
PDArray: This parameter is the list of physical disk FQDDs (Section 16.9)
VDPropNameArrayIn: This parameter is the list of property names with values in the
VDPropValueArrayIn parameter
Size, RAIDLevel, SpanDepth
VDPropValueArrayIn: This parameter is the list of property values that correspond to the
VDPropNameArrayIn parameter
EXAMPLE:
winrm i CheckVDValues cimv2/root/dcim/DCIM_RAIDService
?SystemCreationClassName=DCIM_ComputerSystem
+SystemName=DCIM:ComputerSystem
+CreationClassName=DCIM_RAIDService
+Name=DCIM:RAIDService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck
-encoding:utf-8 -a:basic -file:CheckVDValues.xml
The input file CheckVDValues.xml is shown below:
<p:CheckVDValues_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:PDArray>Disk.Bay.0:Enclosure.Internal.
0-0:RAID.Integrated.1-1</p:PDArray>
<p:PDArray>Disk.Bay.1:Enclosure.Internal.
0-0:RAID.Integrated.1-1</p:PDArray>
<p:PDArray>Disk.Bay.2:Enclosure.Internal.
0-0:RAID.Integrated.1-1</p:PDArray>
<p:PDArray>Disk.Bay.3:Enclosure.Internal.
0-0:RAID.Integrated.1-1</p:PDArray>