Adding Cluster Instance Nodes

Scenarios

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

  • You can add nodes only when your account balance is greater than or equal to ¥0.
  • 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 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.

    Figure 1 Node information

  4. On the displayed page, specify Node Class, Quantity, and Parameter Group and click Next.

    If you add mongos nodes to a cluster DB instance deployed across AZs, the new mongos nodes can be deployed in the primary or standby AZ. For details about how to deploy a cluster DB instance across AZs, see Buying a Cluster Instance

    Figure 2 Add mongos

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

  5. On the displayed page, confirm the node configuration information.

    • Yearly/Monthly
      • If you need to modify your settings, click Previous to go back to the page for you to specify details.
      • If you do not need to modify your settings, click Submit to go to the payment page and complete the payment.
    • Pay-per-use
      • If you need to modify your settings, click Previous to go back to the page for you to specify details.
      • If you do not need to modify your settings, click Submit to add the nodes.

  6. 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 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.

    Figure 3 Node information

  4. Specify Node Class, Storage Space, Quantity, and Parameter Group and click Next.

    Figure 4 Add shard
    • 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 Community Edition supports up to 32 shard nodes.

  5. On the displayed page, confirm the node configuration information.

    • Yearly/Monthly
      • If you need to modify your settings, click Previous to go back to the page for you to specify details.
      • If you do not need to modify your settings, click Submit to go to the payment page and complete the payment.
    • Pay-per-use
      • If you need to modify your settings, click Previous to go back to the page for you to specify details.
      • If you do not need to modify your settings, click Submit to add the nodes.

  6. 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.