Help Center/ Document Database Service/ User Guide/ Connection Management/ Deleting the IP Addresses of Shard and Config Nodes
Updated on 2026-08-04 GMT+08:00

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

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Document Database Service.
  4. On the Instances page, click the instance name. The Basic Information page is displayed.
  5. In the Node Information area on the Basic Information page, click the shard tab.

    Figure 1 shard nodes

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

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Document Database Service.
  4. In the left navigation pane, choose Instances. In the instance list, click the instance name to go to the Basic Information page.
  5. In the Node Information area on the Basic Information page, click the config tab.

    Figure 3 config nodes

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

Deleting Shard or Config IP Addresses of a Cluster Instance

Deletes the shard or config IP addresses of a cluster instance.