• Document Database Service

dds
  1. Help Center
  2. Document Database Service
  3. User Guide
  4. Managing DDS DB Instances
  5. Storage
  6. Adding Cluster Instance Nodes

Adding Cluster Instance Nodes

Scenarios

This section guides you on how to add nodes to a DB instance.

NOTE:
  • You can add nodes when the instance status is Available, Deleting backup, or Checking restoration.
  • A DB instance cannot be deleted when one or more nodes are being added.

Add mongos

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click Service List. Under Database, click Document Database Service.
  4. On the Instance Management page, locate the target DB instance on the Clusters tab and click its name.
  5. On the mongos tab in the Node Information area, click Add mongos.
  6. On the displayed page, specify Node Class and mongos Quantity and click Submit.

    A cluster instance of the Community Edition supports a maximum of 12 mongos nodes.

  7. View the result of adding nodes.

    • This process takes about 10 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 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 Cluster Instance Nodes.

Add shard

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click Service List. Under Database, click Document Database Service.
  4. On the Instance Management page, locate the target DB instance on the Clusters tab and click its name.
  5. On the shard tab in the Node Information area, click Add shard.
  6. On the displayed page, specify Node Class, Storage Space, and shard Quantity and click Submit.

    • The storage space you applied for will contain the system overhead required for inode, reserved block, and database operation. The storage space must be an integer multiple of 10.
    • A cluster instance of the Community Edition supports a maximum of 12 shard nodes.

  7. View the result of adding nodes.

    • This process takes about 10 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 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 Cluster Instance Nodes.