White Papers

Dell™ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
160
VirtualDiskArray: Array of ElementName(s) where each identifies a different VD, currently
only one VD can be passed
EXAMPLE:
winrm i AssignSpare 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
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck
-encoding:utf-8 -a:basic -file:AssignSpare.xml
The input file AssignSpare.xml is shown below:
<p:AssignSpare_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:VirtualDiskArray>Disk.Virtual.0
:RAID.Integrated.1-1</p:VirtualDiskArray>
</p:AssignSpare_INPUT>
OUTPUT:
AssignSpare_OUTPUT
RebootRequired = YES
ReturnValue = 0
Nonconformance to the following restrictions may result in the error message below.
Virtual disk (VD) referenced (dedicated hot spare) is RAID-0, which cannot have hot spares
Physical disk (PD) is too small for the virtual disk referenced (dedicated hot spare)
Physical disk is wrong type for the virtual disk (i.e. SATA PD to be used as hot spare for SAS VD)
Similar conditions when no VD referenced, which is the global hot spare attempted assignment
ERROR MESSAGE:
AssignSpare_OUTPUT
Message = Physical disk FQDD did not identify a valid physical disk for the operation
MessageID = STOR009
ReturnValue = 2