4.5.2. Adding a Member to a Running Cluster

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:

4.5.2.1. Adding a Member to a Running Cluster That Contains Only Two Nodes

To add a member to an existing cluster that is currently in operation, and contains only two nodes, follow these steps:

  1. Add the node and configure fencing for it as in

    Section 4.5.1, “Adding a Member to a Cluster”.

  2. Click Send to Cluster to propagate the updated configuration to other running nodes in the cluster.

  3. Use the scp command to send the updated /etc/cluster/cluster.conf file from one of the existing cluster nodes to the new node.

  4. At the Red Hat Cluster Suite management GUI Cluster Status Tool tab, disable each service listed under Services.

  5. Stop the cluster software on the two running nodes by running the following commands at each node in this order:

    1. service rgmanager stop

    2. service gfs stop, if you are using Red Hat GFS

    3. service clvmd stop

    4. service cman stop

  6. Start cluster software on all cluster nodes (including the added one) by running the following commands in this order:

    1. service cman start

    2. service clvmd start

    3. service gfs start, if you are using Red Hat GFS

    4. service rgmanager start

  7. 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.

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 more than two nodes, follow these steps:

  1. Add the node and configure fencing for it as in

    Section 4.5.1, “Adding a Member to a Cluster”.

  2. Click Send to Cluster to propagate the updated configuration to other running nodes in the cluster.

  3. Use the scp command to send the updated /etc/cluster/cluster.conf file from one of the existing cluster nodes to the new node.

  4. Start cluster services on the new node by running the following commands in this order:

    1. service cman start

    2. service clvmd start

    3. service gfs start, if you are using Red Hat GFS

    4. service rgmanager start

  5. 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.


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.