Managing CNs

Purpose

After a cluster is created, the number of required CNs varies with service requirements. The CN management function enables you to adjust the number of CNs in the cluster. The operations are as follows:

  • This feature is supported only in cluster version 8.1.1 or later.
  • Only cluster versions 8.1.3.300 and later (excluding 8.2.0) support online CN addition, deletion, and concurrent addition of multiple CNs.

Constraints and Limitations

Adding CNs

  1. Log in to the GaussDB(DWS) management console.
  2. On the Clusters > Dedicated Clusters page, locate the cluster to which you want to add CNs.
  3. In the Operation column of the specified cluster, choose More > Manage CN > Add CN Node.

  4. In the displayed dialog box, determine whether to add CNs to a specified node. If you select No, set the number of CNs after adjustment and click OK. If you select Yes, select a node and click OK.

    • Before adding a CN, ensure that the cluster is in the Available or Unbalanced state.
    • The number of CNs after adjustment cannot exceed the number of deployed CNs. It must be less than or equal to the number of nodes, and less than or equal to 20.

Deleting CNs

  1. Log in to the GaussDB(DWS) management console.
  2. On the Clusters > Dedicated Clusters page, locate the cluster from which you want to delete CNs.
  3. In the Operation column of the specified cluster, choose More > Manage CN > Delete CN Node.

  4. On the displayed page, select the CN to be deleted and click OK.

    • At least two CN must be retained.
    • When you delete a CN, the cluster must be in the Available, Degraded, or Unbalanced state.
    • If an elastic IP address has been bound to a CN, the CN cannot be deleted.
    • If abnormal nodes exist, only the abnormal CNs can be deleted.
      • If one CN is faulty, only this CN can be deleted.
      • If two or more CNs are faulty, no CN can be deleted.