Managing Nodes

Overview

On the Nodes tab page, you can view the node list of the current cluster, add new nodes to or remove nodes from it, and view the node usage, status, flavor, and AZ. To modify an alias, click image1 next to it.

image2

Note

  • This feature is supported only in 8.1.1.200 or later cluster versions.

Adding Nodes

This function is more suited for large-scale scale-out. Nodes can be added in batches in advance without interrupting services. For example, if 180 more BMS nodes are needed, add them in three batches (60 for each batch). If some nodes fail to be added, add them again. After all the 180 nodes are successfully added, use the nodes for cluster scale-out.

Precautions

  • Nodes can be added only when no other task is running on the management side.

  • The storage size of a new node must be the same as that of each of the existing nodes in the cluster.

  • A node that is successfully added, usually for scale-out purposes, is called an idle node. You are advised to add nodes only when necessary and use them for scale-out in a timely manner once they are added.

  • The anti-affinity rule dictates that the number of nodes to be added at a time must be an integer multiple of the cluster ring size. For example, if the cluster ring size is 3, the number of nodes to be added must be an integer multiple of 3.

  • In the anti-affinity deployment mode, when a node is idle and fails due to power-off or other causes, it makes other nodes in its server group unavailable. In this case, you should remove and re-add the failed node.

  • The anti-affinity rule dictates that, if a node fails to be added and is rolled back, other nodes that are being added in the same server group will also be rolled back.

Procedure

  1. Log in to the GaussDB(DWS) management console.

  2. Choose Clusters > Dedicated Clusters. All clusters are displayed by default.

  3. Click the name of the target cluster. On the Cluster Information page that is displayed, choose Nodes.

  4. Click Add, enter the number of nodes to be added, read the note, and select Confirmed. Click Next: Confirm.

  5. Click Submit. The nodes will start to be added, as shown in the following figure.

    image3

Note

The nodes that fail to be added will be automatically rolled back and recorded in the displayed list, as shown in the following figure.

image4

Removing Nodes

Precautions

  • Nodes can be removed only when no other task is running on the management side.

  • Only nodes whose resource status is Idle can be removed. Nodes that are in use cannot be removed.

  • In anti-affinity deployment, nodes are removed by cluster ring. For example, when you remove a node, other nodes in the same ring will be automatically selected and displayed.

Procedure

  1. Log in to the GaussDB(DWS) management console.

  2. Choose Clusters > Dedicated Clusters. All clusters are displayed by default.

  3. Click the name of the target cluster. On the Cluster Information page that is displayed, choose Nodes.

  4. On the Nodes page, select the nodes to be removed, click Remove, and click Yes to submit the task.

    image5

  5. The nodes that are successfully removed will not be displayed on the Nodes page.