SetRedundancyGroup()
You can use the SetRedundancyGroup()
method to assign an IBMTS2145_StorageVolume instance to another IBMTS2145_RedundancyGroup
instance. The SetRedundancyGroup() method belongs to the IBMTS2145_StorageConfigurationService
class.
Parameters
Table 276 shows the parameters you can specify for the
SetRedundancyGroup() method:
Table 276. SetRedundancyGroup() parameters
|
Parameter |
Type |
Description |
| Volume |
String |
Defines the IBMTS2145_StorageVolume instance to be reassigned |
| RedundancyGroup |
String |
Specifies the IBMTS2145_RedundancyGroup instance to
which the IBMTS2145_StorageVolume instance will be added |
Return values
The SetRedundancyGroup() method returns one of the following error codes:
- 0: The change was successful.
- 2: An unexpected error occurred.
- 5: The number or type of parameters that have been passed is incorrect.
- 0x8000: The redundancy group does not have any nodes.
- 0x8100: The redundancy group belongs to a different cluster than the StorageConfigurationService
or does not have any nodes.
- 0x9000 to 0x9FFF: SAN Volume Controller return codes and messages.