White Papers
Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux  Version: 2.1.0 
182 
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(16.9) 
EXAMPLE: 
wsman invoke -a UnassignSpare http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/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 UnassignSpare.xml -j utf-8 -y basic 
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: 
<n1:UnassignSpare_OUTPUT> 
 <n1:RebootRequired>YES</n1:RebootRequired> 
 <n1:ReturnValue>0</n1:ReturnValue> 
</n1:UnassignSpare_OUTPUT> 
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) 










