Adding nodes to the peer domain

Use the addrpnode command to add one or more nodes to an RSCT peer domain definition, passing it the IP address or DNS name of the node you want to add.

When you initially set up an RSCT peer domain, you use the mkrpdomain command to create the initial peer domain definition. To add one or more nodes to that existing peer domain definition, use the addrpnode command, passing it the IP address or DNS name of the node you want to add. However, any change to the online cluster definition requires a configuration quorum of (n/2) + 1 nodes (where n is the number of nodes that are defined in the cluster) to be active. In other words, you cannot change an online cluster definition unless a majority of the nodes are online in the domain.

The configuration resource manager then modifies the communication group definitions that are needed later to extend liveness checks to the new nodes. This liveness check is called as heartbeating in Topology Services. When you issue the startrpnode command, the configuration resource manager supplies the modified communication group definition information to Topology Services.

Examples

  1. To add the node that has the DNS name of nodeD to a peer domain, run the following command from a node in the peer domain:
    addrpnode nodeD
  2. To add multiple nodes to the peer domain definition, run the following command:
    addrpnode nodeD nodeE
  3. To add many nodes to the peer domain definition, when it becomes difficult to specify all the nodes in the command line manually, run the following command:
    addrpnode -f node.list
    where, the node.list file contains the list of the node names to be added. Optionally, the node.list file can also contain the information as to which nodes must be the quorum or preferred nodes and vice versa.
  4. To add multiple nodes to the peer domain definition along with the host names, run the following command:
    addrpnode nodeA@host_nameA nodeB@host_nameB
    where, host_nameA is the host name of the node nodeA and host_nameB is the host name of the node nodeB.
After you add a node to an existing peer domain definition, you can bring the node online.