White Papers
Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux  Version: 2.1.0 
181 
VirtualDiskArray: Array of ElementName(s) where each identifies a different VD, currently 
only one VD can be passed 
EXAMPLE: 
wsman invoke -a 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 -h $IPADDRESS -V -v -c dummy.cert -P 443 
-u $USERNAME -p $PASSWORD -J AssignSpare.xml -j utf-8 -y basic 
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: 
<n1:AssignSpare_OUTPUT> 
 <n1:RebootRequired>YES</n1:RebootRequired> 
 <n1:ReturnValue>0</n1:ReturnValue> 
</n1:AssignSpare_OUTPUT> 
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 
 <n1:Message>Physical disk FQDD did not identify a 
 valid physical disk for the operation</n1:Message> 
 <n1:MessageID>STOR009</n1:MessageID> 
 <n1:ReturnValue>2</n1:ReturnValue> 
</n1:AssignSpare_OUTPUT> 










