Reference Guide

177 Lifecycle Controller Web Services Interface Guide for Linux
,SystemName=DCIM:ComputerSystem,Name=DCIM:RAIDService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J CreateVDCacheCade.xml -j utf-8 -y basic
The input file CreateVDCacheCade.xml is shown below:
<p:CreateVirtualDisk_INPUT
xmlns:p=“http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_RAID
Service">
<p:Target>RAID.Integrated.1-1</p:Target>
<p:PDArray>Disk.Bay.4:Enclosure.Internal.0-0:RAID.Integrated.1-1</p:PDArray
>
<p:VDPropNameArray>VirtualDiskName</p:VDPropNameArray>
<p:VDPropValueArray>MyCacheCadeVD</p:VDPropValueArray>
<p:VDPropNameArray>Cachecade</p:VDPropNameArray>
<p:VDPropValueArray>1</p:VDPropValueArray>
</p:CreateVirtualDisk_INPUT>
OUTPUT:
The instanceID output identifies this virtual disk in the inventory before and after the
CreateTargetedConfigJob() method creates it. 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
http://schemas.dell.com/wbem/wscim/1/cim-schema/2/DCIM_VirtualDiskVie
wschema/2/DCIM_VirtualDiskView
SelectorSet
Selector: InstanceID =
DISK.Virtual.267386880:RAID.Integrated.1-1, __cimnamespace =
root/dcim
RebootRequired = YES
ReturnValue = 0
16.21.7 Deleting a Virtual Disk-DeleteVirtualDisk()
The DeleteVirtualDisk() method is used to delete a single virtual disk from the targeted controller. The
successful execution of this method results in the marking of this virtual disk for deletion. The
ObjectStatus property in the virtual disk view will have the value of ‘2’, which indicates pending delete.
The virtual disk will not be deleted until a configuration job is scheduled and the System is rebooted (
Section 16.15).
Invoke DeleteVirtualDisk() with the following parameters and syntax:
TARGET: This parameter is the FQDD of the virtual device ( Section 16.10)
EXAMPLE:
wsman invoke -a DeleteVirtualDisk
http://schemas.dmtf.org/wbem/wscim/1/cimschema/2/root/dcim/DCIM_RAIDService?
SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_RAIDService
,SystemName=DCIM:ComputerSystem,Name=DCIM:RAIDService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD
-J DeleteVirtualDisk.xml -j utf-8 -y basic