White Papers

8 Methods
This section details the requirements for supporting intrinsic operations and extrinsic methods for the CIM
elements defined by this profile
8.1 Method: DCIM_RAIDService.AssignSpare ()
The AssignSpare() method is used to assign a physical disk as a dedicated hot spare for a virtual disk, or
as a global hot spare.
Table 2 DCIM_RAIDService.AssignSpare ( ) Method: Return Code Values
Value
Description
0
Request was successfully executed.
1
Method is not supported in the implementation.
2
Error occurred
Table 3 DCIM_RAIDService.AssignSpare ( ) Method: Standard Messages
MessageID (OUT parameter)
Message
STOR003
Missing CIM method parameter
STOR004
Invalid parameter value
STOR006
General failure
STOR007
Resource Allocation Failure
STOR009
Physical disk FQDD did not identify a valid
physical disk for the operation
STOR017
Virtual Disk provided is not valid for the operation
Table 4 DCIM_RAIDService.AssignSpare () Method: Parameters
Qualifiers
Name
Type
Description/Values
IN, REQ
Target
String
FQDD of target device (Physical Disk)
IN
VirtualDiskArray
String Array
Array of ElementName(s) where each
ElementName identifies a different virtual
disk.
OUT
RebootRequired
string
A value of “Yes” means a reboot is required
to set this value, and a value of “No” means
a reboot is not required to set this value
OUT
(optional)
MessageID
String
Error MessageID is returned If the method
fails to execute.
OUT
(optional)
Message
String
Error Message in English corresponding to
MessageID is returned If the method fails to
execute.