White Papers

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
161
16.16.3 Unassigning the Hot Spare-UnassignSpare()
The UnassignSpare() method is used to unassign a physical disk. The physical disk may be used as a
dedicated hot spare to a virtual disk, or as a global hot spare. After the method executes successfully
the physical disk is no longer a hotspare.
Invoke UnassignSpare() with the following parameters and syntax:
TARGET: This parameter is the FQDD of the DCIM_PhysicalDiskView(Error! Reference source
not found.)
EXAMPLE:
winrm i UnassignSpare
cimv2/root/dcim/DCIM_RAIDS
ervice?SystemCreationClassName=DCIM_ComputerSystem
+CreationClassName=DCIM_RAIDService
+SystemName=DCIM:ComputerSystem+Name=DCIM:RAIDService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADRESS]/wsman -SkipCNcheck -SkipCAcheck
-encoding:utf-8 -a:basic -file:UnassignSpare.xml
The input file UnassignSpare.xml is shown below:
<p:UnassignSpare_INPUT
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_RAIDService">
<p:Target>Disk.Bay.3:Enclosure.Internal.0-0:RAID.Integrated.1-1</p:Target>
</p:UnassignSpare_INPUT>
OUTPUT:
UnassignSpare_OUTPUT
RebootRequired = YES
ReturnValue = 0
16.17 Managing Keys for Self Encrypting Drives
NOTE: The Dell Key Manager feature is not available at this time.
16.17.1 Setting the Key-SetControllerKey()
The SetControllerKey() method sets the key on controllers that support encryption of the virtual disk
drives.
Invoke SetControllerKey() with the following parameters and syntax:
TARGET: This parameter is the FQDD of the DCIM_ControllerView (Section 16.7)
Key: Maximum size 32 characters
Keyid: Identifier, or description, for the key (maximum size 255 characters)