Updated on 2023-11-21 GMT+08:00

Adding Nodes

Scenarios

This section describes how to add nodes to a DB instance to suit your service requirements. You can also delete a node as required. For details, see Deleting Nodes.

Precautions

  • GeminiDB Mongo allows you to add nodes only to 4.0 replica set instances. The role of each new node is Readonly.
  • Adding nodes may lead to the decrease of OPS. You are advised to perform this operation during off-peak hours.
  • You can only add nodes when the instance status is Available or Checking restoration.
  • An instance cannot be deleted when one or more nodes are being added.
  • If the storage is insufficient, adding nodes is not supported. Expand the storage first. For details about the storage supported by instances of different specifications, see Instance Specifications.

Method 1

  1. Log in to the management console.
  2. In the service list, choose Databases > GeminiDB Mongo API.
  3. On the Instances page, click the target DB instance.
  4. In the Node Information area on the Basic Information page, click Add Node.

    Figure 1 Basic information

  5. Specify Add Nodes and click Next.

    Figure 2 Add Node

    New nodes are of the same specifications as existing nodes. Once a new node is added, its specifications cannot be changed.

  6. On the displayed page, confirm the node configuration details.

    • For yearly/monthly DB instances
      • If you need to modify your settings, click Previous to go back to the page where you specify details.
      • If you do not need to modify your settings, click Next and complete the payment.
    • For pay-per-use instances
      • If you need to modify your settings, click Previous to go back to the page where you specify details.
      • If you do not need to modify your settings, click Submit to add the nodes.

  7. View the result of adding nodes.

    • The status of the DB instance in the instance list is Adding node.
    • After the nodes are added, the DB instance status becomes Available.
    • Click the DB instance name. In the Node Information area on the Basic Information page, view the information about the new nodes.

Method 2

  1. Log in to the management console.
  2. In the service list, choose Databases > GeminiDB Mongo API.
  3. On the Instance Management page, locate the instance you want to add nodes for and choose More > Add Node in the Operation column.

    Figure 3 Adding nodes

  4. Specify Add Nodes and click Next.

    Figure 4 Add Node

    New nodes are of the same specifications as existing nodes. Once a new node is added, its specifications cannot be changed.

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

    • For yearly/monthly DB instances
      • If you need to modify your settings, click Previous to go back to the page where you specify details.
      • If you do not need to modify your settings, click Next and complete the payment.
    • For pay-per-use instances
      • If you need to modify your settings, click Previous to go back to the page where you specify details.
      • If you do not need to modify your settings, click Submit to add the nodes.

  6. View the result of adding nodes.

    • The status of the DB instance in the instance list is Adding node.
    • After the nodes are added, the DB instance status becomes Available.
    • Click the DB instance name. In the Node Information area on the Basic Information page, view the information about the new nodes.