You can add an IBMTSSVC_CandidateNode to an existing IBMTSSVC_Cluster.
To add an IBMTSSVC_CandidateNode to an existing IBMTSSVC_Cluster,
follow these steps:
- Obtain the reference (CIMObjectPath) of the IBMTSSVC_Cluster
to which you want to add an IBMTSSVC_CandidateNode.
- Obtain the reference for the IBMTSSVC_CandidateNode instance.
- Obtain the IBMTSSVC_ClusteringService instance by using one of the following two methods:
- Obtain the IBMTSSVC_ClusteringService instance directly. There is only one instance obtained by
enumeration because the CIMOM is embedded on the cluster.
- Locate the IBMTSSVC_ClusteringService instance that is associated with the IBMTSSVC_Cluster by
traversing the IBMTSSVC_ClusteringServiceForSystem association.
- Invoke the IBMTSSVC_ClusteringService.AddNode() method.
The AddNode method has the parameter CandidateNode Ref, and the IOGroup
Ref to which you want to add the node. Every node must be in an IOGroup
and each IOGroup can only contain two nodes.