Adding Replica Set Instance Nodes
DDS allows you to scale out a three-node replica set instance to up to five or even seven nodes. All newly added nodes are secondary nodes and support primary/secondary switchovers, improving data reliability.
Note
Precautions
- To add nodes, instance status must be Available, Deleting backup, or Checking restoration.
- A DB instance cannot be deleted while nodes are being added.
- If there are any newly added standby nodes, they will be unable to participate in this switchover. When you add a new standby node, the HA connection address needs to be reconfigured, and the new node is frozen for 12 hours.
- Nodes cannot be manually deleted.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and a project.
- Click Service List. Under Database, click Document Database Service to go to the DDS console.
- On the Instances page, click the replica set instance name.
- In the Node Information area on the Basic Information page, click Change Secondary Nodes.
- Specify Total Nodes and click Next.
You can add five or seven nodes.
- On the displayed page, confirm the node configuration information.
- 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.
- View the result of adding nodes.
- When a node is being added, the status of the instance is Adding node. The entire process takes about 15 minutes.
- In the Node Information area, view the information about the nodes you added.
Parent topic: Changing Replica Set Instance Nodes
- Precautions
- Procedure