Web Services Interface Guide

238 Dell Lifecycle Controller Web Services Interface Guide for Windows
WritePolicy:
Write Through = 1
Write Back = 2
Write Back Force = 4
DiskCachePolicy:
Enabled = 512
Disabled = 1024
VirtualDiskName: Name of the virtual disk (1-15 character range)
EXAMPLE:
winrm i CreateVirtualDisk cimv2/root/dcim/DCIM_RAIDService
?SystemCreationClassName=DCIM_ComputerSystem +CreationClassName=DCIM_RAIDService
+SystemName=DCIM:ComputerSystem +Name=DCIM:RAIDService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8
-a:basic -file:CreateVirtualDisk.xml
The input file CreateVirtualDisk.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: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.