Technical White Paper

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/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>
<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>
</n1:CheckVDValues_OUTPUT>
If the arrangement of physical disk drives prohibits a valid virtual disk arrangement
from being created, such as having too few hard disk drives, the following error
may result:
<n1:CheckVDValues_OUTPUT>
<n1:Message>Virtual Disk provided is not valid
for the operation</n1:Message>
<n1:MessageID>STOR017</n1:MessageID>
<n1:ReturnValue>2</n1:ReturnValue>
</n1:CheckVDValues_OUTPUT>
16.18.4 Creating a Single Virtual Disk-CreateVirtualDisk()
The CreateVirtualDisk() method is used to create a single virtual disk on the targeted controller. The
successful execution of this method results in a pending but not yet created virtual disk. The
ObjectStatus
property in the virtual disk view (
Section 16.10)
will
have the value ‘3’, which represents
pending. The virtual disk will not be created until a configuration job ( Section 16.15) has been
scheduled and the system is rebooted. After creation of the virtual disk, the FQDD of the formerly
pending virtual disk will change.
Invoke CreateVirtualDisk() with the following parameters and syntax: