AddNode() Extrinsic methods AddNodeToRedundancyGroup()

You can use the AddNode() method to add an IBMTS2145_CandidateNode instance to an IBMTS2145_Cluster instance. The AddNode() method belongs to the IBMTS2145_ClusteringService class.

When invoked, the AddNode() method automatically chooses the IBMTS2145_RedundancyGroup for the candidate node. If the IBMTS2145_RedundancyGroup instances have only one existing node, the method selects the one whose identifier contains the smallest number. If no such IBMTS2145_RedundancyGroup exists, the method selects an empty IBMTS2145_RedundancyGroup whose identifier contains the smallest number.

Parameters

Table 227 shows the parameters you can specify for the AddNode() method:

Table 227. AddNode() parameters
Parameter Type Description
CS COP Defines the IBMTS2145_CandidateNode instance to be added that is in the same cluster as the IBMTS2145_CLusteringService instance
Return values

The AddNode() method returns one of the following error codes:

(C) Copyright International Business Machines Corporation 2003, 2004