Web Services Interface Guide

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
191
<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 disks prohibits a valid virtual disk arrangement from being created, such
as having too few hard disks, 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. Upon creation of the virtual disk, the FQDD of the formerly
pending virtual disk will change.
Invoke CreateVirtualDisk() 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 that will be used to create a virtual
Disk.
VDPropNameArray: This parameter is the list of property names that will be used to create a
virtual disk. The parameter list contains the following names: