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
- To add the node that has the DNS name of
nodeDto a peer domain, run the following command from a node in the peer domain:addrpnode nodeD - To add multiple nodes to the peer domain definition, run the following
command:
addrpnode nodeD nodeE - 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:
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.addrpnode -f node.list - To add multiple nodes to the peer domain definition
along with the host names, run the following command:
where,addrpnode nodeA@host_nameA nodeB@host_nameBhost_nameAis the host name of the nodenodeAandhost_nameBis the host name of the nodenodeB.