Updated on 2024-09-05 GMT+08:00

Managing Logical Clusters

Editing a Logical Cluster

Precautions

  • Nodes are added to or removed from a logical cluster by ring.
  • At least one ring must be reserved in a logical cluster.
  • The ring removed from the logical cluster will be added to the elastic cluster.
  • Logical clusters of version 8.1.3 and later support online scale-out. Clusters of version 8.2.1.100 and later support job termination.

Procedure

  1. Log in to the GaussDB(DWS) console. In the navigation pane, choose Clusters > Dedicated Clusters.
  2. In the cluster list, click the name of the target cluster. The Cluster Information page is displayed.
  3. In the navigation pane, choose Logical Clusters and click Edit in the Operation column of the target cluster.

  4. Add a node to the logical cluster by moving the selected ring from the right to the left, or remove a node from the logical cluster by moving the selected ring from the left to the right, and click OK.
  5. When adding a node, select online or offline scale-out as needed.
  6. If you select online scale-out, you can configure job termination. When job termination is enabled and there is congestion during online scale-out, the system will wait for the specified duration before terminating the congested jobs. The duration value must be an integer ranging from 30 to 1200.

Managing Resources (in a Logical Cluster)

Precautions

The original resource pool configuration is cleared when the cluster is converted from physical to logical. You have to add the resource pool again if you want to configure it after the conversion.

Procedure

  1. Log in to the GaussDB(DWS) console. In the navigation pane, choose Clusters > Dedicated Clusters.
  2. In the cluster list, click the name of the target cluster. The Cluster Information page is displayed.
  3. In the navigation pane, choose Logical Cluster Management. In the Operation column of a logical cluster, click Resource Management Configurations. On the displayed page, you can manage resources in a logical cluster. For details, see Resource Management.

Restarting Logical Clusters

  1. Log in to the GaussDB(DWS) console. In the navigation pane, choose Clusters > Dedicated Clusters.
  2. In the cluster list, click the name of the target cluster. The Cluster Information page is displayed.
  3. In the navigation pane on the left, switch to the Logical Clusters page, locate the row that contains the logical cluster to be restarted, and click More > Restart in the Operation column.
  4. Confirm that all information is correct and click OK.

Scaling Out a Logical Cluster

Prerequisites

  • Logical clusters of version 8.1.3 and later support online scale-out.
  • Before a scale-out, you need to enable the logical cluster mode and add a logical cluster.
  • After scaling out or scaling in a logical cluster, you need to reconfigure the backup policy for full backup. For details, see Configuring an Automated Snapshot Policy.

Procedure

  1. Log in to the GaussDB(DWS) console. In the navigation pane, choose Clusters > Dedicated Clusters.
  2. On the displayed Clusters page, choose More > Scale Node > Scale Out.
  3. On the scale-out page, select a logical or elastic cluster. Enabling online scale-out also allows you to enable congested job termination. If congestion occurs during online scale-out and job termination is enabled, the system will wait for the specified duration before terminating congested jobs. The duration value must be an integer between 30 and 1200.

    Clusters of version 8.2.1.100 and later support job termination.

Scaling In a Logical Cluster

Constraints

  • A host ring with CN nodes cannot be scaled in.
  • A host ring with GTM and CM nodes cannot be scaled in.

Procedure

  1. Log in to the GaussDB(DWS) console. In the navigation pane, choose Clusters > Dedicated Clusters.
  2. In the cluster list, click the name of the target cluster. The Cluster Information page is displayed.
  3. In the navigation pane on the left, switch to the Logical Clusters page. Locate the row that contains the target elastic pool and click Edit in the Operation column to delete nodes from the elastic pool (move the selected ring from the left to the right).

  4. Click OK.