White Papers
Dell™ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
173
<p:VDPropNameArray>SpanLength</p:VDPropNameArray>
<p:VDPropNameArray>Size</p:VDPropNameArray>
<p:VDPropNameArray>VirtualDiskName</p:VDPropNameArray>
<p:VDPropValueArray>4</p:VDPropValueArray>
<p:VDPropValueArray>1</p:VDPropValueArray>
<p:VDPropValueArray>2</p:VDPropValueArray>
<p:VDPropValueArray>100</p:VDPropValueArray>
<p:VDPropValueArray>virtualdiskname</p:VDPropValueArray>
</p:CreateVirtualDisk_INPUT>
OUTPUT:
The instanceID output will identify this virtual disk in inventory before and after its creation by the
CreateTargetedConfigJob. Note however, that the instanceID will change slightly after successful
creation.
CreateVirtualDisk_OUTPUT
NewVirtualDisk
Address = http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
ReferenceParameters
ResourceURI = http://schemas.dell.com/wbem/wscim/1/cim-schema/2/DCIM_VirtualDiskView
SelectorSet
Selector: InstanceID = DISK.Virtual.267386880:RAID.Integrated.1-1, __cimnamespace =
root/dcim
RebootRequired = YES
ReturnValue = 0
16.18.5 Creating a Sliced Virtual Disk-CreateVirtualDisk()
The CreateVirtualDisk() method is used to create a sliced virtual disk. A sliced virtual disk is created,
if CreateVirtualDisk() Size input parameter value is less than total size of the physical disks. Additional
sliced virtual disk can be created using the same set of physical disks and same RAID level that was
used to create the first sliced virtual disk. If the physical disks have sliced virtual disks, then use the
CheckVDValues() method on that set of physical disks to find the exact value for StartingLBA. Use this
value as the StartingLBA parameter value of the CreateVirtualDisk() method.
The ObjectStatus property in the virtual disk view (see Section 16.10) has the value ‘3’, which
represents a pending change. The virtual disk is not created until a configuration job (see Section
16.14) is scheduled and the system is rebooted. After the virtual disk creation, the FQDD of the
pending virtual disk changes.
Invoke the CreateVirtualDisk() method 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 is used to create a virtual Disk.
VDPropNameArray: This parameter is the list of property names that is used to create a
virtual disk. The parameter list has the following names: