AddNodeToRedundancyGroup()
You can use the AddNodeToRedundancyGroup()
method to add an IBMTS2145_CandidateNode instance to an IBMTS2145_Cluster
instance as a member of the corresponding IBMTS2145_RedundancyGroup. The AddNodeToRedundancyGroup()
method belongs to the IBMTS2145_ClusteringService class.
Parameters
Table 228 shows the parameters you can specify for
the AddNodeToRedundancyGroup() method:
Table 228. AddNodeToRedundancyGroup() parameters
|
Parameter |
Type |
Description |
| Node |
COP |
Defines the IBMTS2145_CandidateNode instance to be added
that is in the same cluster as the IBMTS2145_ClusteringService instance |
| Group |
COP |
Specifies the IBMTS2145_RedundancyGroup instance to
which the candidate node is assigned; the group must belong to the same cluster
as the ClusteringService and must not have more than one node that is currently
assigned |
| [Name] |
String |
Defines the name of the IBMTS2145_CandidateNode after
it is added to the cluster |
Return values
The AddNodeToRedundancyGroup() method returns one of the following error
codes:
- 0: The node was successfully added.
- 2: An unexpected error occurred.
- 5: The number or type of parameters that have been passed is incorrect.
- 0x8000: All redundancy groups already have two nodes assigned.
- 0x8100: One of the parameters was out of the cluster scope.
- 0x9000 to 0x9FFF: This range represents various SAN Volume Controller return
codes and messages.