Web Services Interface Guide

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
187
16.17.5 Removing the Key-RemoveControllerKey()
The RemoveControllerKey() method is used to erase the key on the controller along with the attached
encrypted drives.
Invoke the RemoveControllerKey() method with the following parameters and syntax:
TARGET: This parameter is the FQDD of the DCIM_ControllerView class. See section 16.1.
EXAMPLE:
wsman invoke -a RemoveControllerKey http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_RAIDService
?SystemCreationClassName=DCIM_ComputerSystem,CreationClassName=DCIM_RAIDService,SystemNa
me=DCIM:ComputerSystem,Name=DCIM:RAIDService
-h $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -J RemoveControllerKey.xml -j utf-8 -y basic
The input file RemoveControllerKey.xml is shown below:
<p:RemoveControllerKey_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:RemoveControllerKey_INPUT>
OUTPUT:
This method requires an H700 or H800 controller to function correctly. If the
EnableControllerEncryption() method does not set the key, the following message is displayed:
<n1:RemoveControllerKey_OUTPUT>
<n1:Message>Controller is not security capable</n1:Message>
<n1:MessageID>STOR021</n1:MessageID>
<n1:ReturnValue>2</n1:ReturnValue>
</n1:RemoveControllerKey_OUTPUT>
16.18 Managing Virtual Disk
16.18.1 Getting the Available RAID levels-GetRAIDLevels()
The GetRAIDLevels() method is used to determine possible choices RAID levels to create virtual disks.
If the list of physical disks is not provided, this method will operate on all connected disks.
Invoke GetRAIDLevels() with the following parameters and syntax:
TARGET: This parameter is the FQDD of the DCIM_ControllerView (Section 16.7)
DiskType: Corresponds to MediaType attribute in PhysicalDiskView (Section 16.9)
Include all types=0, Include Magnetic Only=1, Include SSD only=2
Diskprotocol: Types of protocol to include