Web Services Interface Guide
224 Dell Lifecycle Controller Web Services Interface Guide for Windows
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:
winrm i GetDHSDisks cimv2/root/dcim/DCIM_RAIDService
?SystemCreationClassName=DCIM_ComputerSystem +SystemName=DCIM:ComputerSystem
+CreationClassName=DCIM_RAIDService +Name=DCIM:RAIDService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic
-file:GetDHSDisks.xml
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.
GetDHSDisks_OUTPUT
Message = Configuration already committed, cannot set configuration
MessageID = STOR023
ReturnValue = 2