White Papers
Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux  Version: 2.1.0 
180 
16.16  Managing Hot Spare 
16.16.1 Determining Potential Disks-GetDHSDisks() 
The GetDHSDisks() method is used to determine possible choices of drives to be a dedicated HotSpare 
for the identified virtual disk. 
Invoke GetDHSDisks() with the following parameters and syntax: 
TARGET: This parameter is the FQDD of the target virtual disk. Its value will depend on the 
number of virtual disks, obtainable in Section 16.10. 
EXAMPLE: 
wsman invoke -a GetDHSDisks 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 GetDHSDisks.xml -j utf-8 -y basic 
The input file GetDHSDisks.xml is shown below: 
<p:GetDHSDisks_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_RAIDService"> 
 <p:Target>DISK.Virtual.1:RAID.Integrated.1-1</p:Target> 
</p:GetDHSDisks_INPUT> 
OUTPUT: 
GetDHSDisks_OUTPUT 
 ReturnValue = 0 
The following message may be fixed by deleting the job queue as referenced in Section 10.2.2. 
<n1:GetDHSDisks_OUTPUT> 
 <n1:Message>Configuration already committed, 
 cannot set configuration</n1:Message> 
 <n1:MessageID>STOR023</n1:MessageID> 
 <n1:ReturnValue>2</n1:ReturnValue> 
</n1:GetDHSDisks_OUTPUT> 
16.16.2 Assigning the Hot Spare-AssignSpare() 
The AssignSpare() method is used to assign a physical disk as a dedicated HotSpare for a virtual disk 
(VD), or as a global HotSpare. 
Invoke AssignSpare() with the following parameters and syntax: 
TARGET: This parameter is the FQDD of the DCIM_PhysicalDiskView (Section 16.9) 










