Adding Nodes to a Cluster

Scenarios

This section describes how to add nodes to a cluster instance.

Note

  • You can add nodes when the instance status is Available, Deleting backup, or Checking restoration.

  • A DB instance cannot be deleted when nodes are being added.

  • Mongos and shard nodes that are successfully added cannot be deleted.

Add mongos

  1. Log in to the DDS console.

  2. On the Instance Management page, click the target cluster instance.

  3. On the mongos tab in the Node Information area, click Add mongos.

  4. On the displayed page, specify Node Class, Nodes, and Parameter Template and click Submit.

    A cluster instance of Community Edition supports up to 32 mongos nodes.

  5. View the result of adding nodes.

    • This process takes up to 15 minutes. The status of the DB instance in the instance list is Adding node.

    • In the upper right corner of the DB instance list, click image1 to refresh the list. The instance status changes to Available.

    • On the mongos tab in the Node Information area, view the information about the node you added.

    • If the mongos fail to be added, you can revert them in batches or delete them one by one. For details, see section Reverting and Deleting Failed Cluster Instance Nodes.

Add shard

  1. Log in to the DDS console.

  2. On the Instance Management page, click the target cluster instance.

  3. On the shard tab in the Node Information area, click Add shard.

  4. Specify Node Class, Storage Space, Nodes, and Parameter Template and click Submit.

    • The storage space you applied for will contain the system overhead. The storage space can be configured from 10 GB to 2000 GB and must be an integer multiple of 10.

    • A cluster instance of Community Edition supports up to 32 shard nodes.

  5. View the result of adding nodes.

    • This process takes up to 15 minutes. The status of the DB instance in the instance list is Adding node.

    • In the upper right corner of the DB instance list, click image2 to refresh the list. The instance status changes to Available.

    • On the shard tab in the Node Information area, view the information about the node you added.

    • If the shards fail to be added, you can revert them in batches or delete them one by one. For details, see section Reverting and Deleting Failed Cluster Instance Nodes.