Deleting the IP Addresses of Shard and Config Nodes
Scenarios
A cluster instance of Community Edition consists of dds mongos, shard, and config nodes. When your application needs to read and write data from and into databases, connect to the dds mongos node. In certain scenarios (for example, data migration and synchronization between clusters), when the application needs to read data from the shard or config node, it must obtain the IP address of the corresponding node. If the IP address is no longer required, you can delete it.
This section describes how to delete the IP addresses of shard and config nodes.
Precautions
- Frozen instances do not support this operation.
- During the deletion, the IP address of the corresponding node is inaccessible.
- During the deletion, the shard or config node will reboot. The DDS DB instance is unavailable during the reboot. Exercise caution when performing this operation.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click
in the upper left corner of the page and choose Databases > Document Database Service. - On the Instances page, click the instance name. The Basic Information page is displayed.
- In the Node Information area on the Basic Information page, click the shard tab. Figure 1 shard nodes
- Click
next to Show shard IP Address to delete the shard node's IP address. Figure 2 Deleting the IP address of the shard node
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click
in the upper left corner of the page and choose Databases > Document Database Service. - In the left navigation pane, choose Instances. In the instance list, click the instance name to go to the Basic Information page.
- In the Node Information area on the Basic Information page, click the config tab. Figure 3 config nodes
- Click
next to Show config IP Address to delete the config node's IP address. Figure 4 Deleting the IP address of the config node
Related APIs
| API | Description |
|---|---|
| Deletes the shard or config IP addresses of a cluster instance. |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot