4.5.2. Adding a Member to a Running Cluster
The procedure for adding a member to a running cluster depends on whether the cluster contains only two nodes or more than two nodes. To add a member to a running cluster, follow the steps in one of the following sections according to the number of nodes in the cluster:
For clusters with only two nodes —
Section 4.5.2.1, “Adding a Member to a Running Cluster That Contains Only Two Nodes”
For clusters with more than two nodes —
Section 4.5.2.2, “Adding a Member to a Running Cluster That Contains More Than Two Nodes”
To add a member to an existing cluster that is currently in operation, and contains only two nodes, follow these steps:
Add the node and configure fencing for it as in
Click Send to Cluster to propagate the updated configuration to other running nodes in the cluster.
Use the scp command to send the updated /etc/cluster/cluster.conf file from one of the existing cluster nodes to the new node.
At the Red Hat Cluster Suite management GUI Cluster Status Tool tab, disable each service listed under Services.
Stop the cluster software on the two running nodes by running the following commands at each node in this order:
service rgmanager stop
service gfs stop, if you are using Red Hat GFS
service clvmd stop
service cman stop
Start cluster software on all cluster nodes (including the added one) by running the following commands in this order:
service cman start
service clvmd start
service gfs start, if you are using Red Hat GFS
service rgmanager start
Start the Red Hat Cluster Suite management GUI. At the Cluster Configuration Tool tab, verify that the configuration is correct. At the Cluster Status Tool tab verify that the nodes and services are running as expected.
To add a member to an existing cluster that is currently in operation, and contains more than two nodes, follow these steps:
Add the node and configure fencing for it as in
Click Send to Cluster to propagate the updated configuration to other running nodes in the cluster.
Use the scp command to send the updated /etc/cluster/cluster.conf file from one of the existing cluster nodes to the new node.
Start cluster services on the new node by running the following commands in this order:
service cman start
service clvmd start
service gfs start, if you are using Red Hat GFS
service rgmanager start
Start the Red Hat Cluster Suite management GUI. At the Cluster Configuration Tool tab, verify that the configuration is correct. At the Cluster Status Tool tab verify that the nodes and services are running as expected.