Reference Guide
171 Lifecycle Controller Web Services Interface Guide for Linux
16.21.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 valuesto run the
method successfully.
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:
wsman invoke -a CheckVDValues
http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_RAIDService?
SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_RAIDService
,SystemName=DCIM:ComputerSystem,
Name=DCIM:RAIDService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J CheckVDValues.xml -j utf-8 -y basic
The input file CheckVDValues.xml is shown below:
<p:CheckVDValues_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_RAIDS
ervice">
<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
>
<p:VDPropNameArrayIn>Size</p:VDPropNameArrayIn>
<p:VDPropValueArrayIn>10000</p:VDPropValueArrayIn>
<p:VDPropNameArrayIn>RAIDLevel</p:VDPropNameArrayIn>
<p:VDPropValueArrayIn>2048</p:VDPropValueArrayIn>
<p:VDPropNameArrayIn>SpanDepth</p:VDPropNameArrayIn>
<p:VDPropValueArrayIn>1</p:VDPropValueArrayIn>
</p:CheckVDValues_INPUT>
OUTPUT:
<n1:CheckVDValues_OUTPUT>
<n1:RebootRequired>YES</n1:RebootRequired>
<n1:ReturnValue>0</n1:ReturnValue>
<n1:VDPropNameArray>SizeInBytes, RAIDLevel, SpanDepth,SpanLength,
StripeSize, ReadPolicy,WritePolicy, DiskCachePolicy,
Name</n1:VDPropNameArray>
<n1:VDPropValueArray>10485760000, 2048, 2, 2, 128, 16,2, 1024,
Unknown</n1:VDPropValueArray>