Help Center> Document Database Service> User Guide> Instance Modifications> Changing the Name of the Replica Set in the Connection Address
Updated on 2023-12-13 GMT+08:00

Changing the Name of the Replica Set in the Connection Address

You can change the name of the replica set in the connection address for a DDS DB instance to better meet your service requirements.

Precautions

  • This function is available only for replica set instances.
  • When you change the replica set name in the connection address of a DDS DB instance, the instance will be unavailable. Exercise caution when performing this operation.
  • This operation is not allowed if the DB instance is in any of the following statuses: creating, changing instance class, changing port, restarting, or abnormal.

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, locate the target replica set instance and click its name.
  5. In the Network Information area, click next to HA Connection Address.

    Figure 1 HA Connection Address

  6. Enter a new name and click to save the change.

    The name of the replica set in the connection address must be 3 to 128 characters long and start with a letter. It is case-sensitive and can contain only letters, digits, and underscores (_).