Adding a candidate node to a cluster

You can add an IBMTSSVC_CandidateNode to an existing IBMTSSVC_Cluster.

To add an IBMTSSVC_CandidateNode to an existing IBMTSSVC_Cluster, follow these steps:

  1. Obtain the reference (CIMObjectPath) of the IBMTSSVC_Cluster to which you want to add an IBMTSSVC_CandidateNode.
  2. Obtain the reference for the IBMTSSVC_CandidateNode instance.
  3. 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.
  4. 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.