Web Services Interface Guide

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
176
+SystemName=DCIM:ComputerSystem
+Name=DCIM:RAIDService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck
-encoding:utf-8 -a:basic -file:CreateSlicedVirtualDisk.xml
The input file CreateSlicedVirtualDisk.xml is shown below:
<p:CreateVirtualDisk_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:VDPropNameArray>RAIDLevel</p:VDPropNameArray>
<p:VDPropNameArray>SpanDepth</p:VDPropNameArray>
<p:VDPropNameArray>SpanLength</p:VDPropNameArray>
<p:VDPropNameArray>Size</p:VDPropNameArray>
<p:VDPropNameArray>VirtualDiskName</p:VDPropNameArray>
<p:VDPropNameArray>StartingLBA</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:VDPropValueArray>0xFFFFFFFFFFFFFFFF</p:VDPropValueArray>
</p:CreateVirtualDisk_INPUT>
OUTPUT:
The instanceID output identifies this virtual disk in the inventory before and after the
CreateTargetedConfigJob() method creates it. However, the instanceID changes 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.6 Creating a Cachecade Virtual Disk-CreateVirtualDisk()
The CreateVirtualDisk() method is used to create a Cachecade virtual disk on the targeted controller.
This method internally creates a RAID-0 virtual disk.The creation process is the same as explained in
Section 16.18.5. In this scenario, CreateVirtualDisk() method only takes VDPropNameArray-
VDPropValueArray pairs mentioned below.