Updated on 2024-07-11 GMT+08:00

Modifying Connection Information

During the disaster recovery, you may change the password of the service or DR database. As a result, the data DR, data comparison, task pause, resume, primary/standby switchover, and stopping may fail. In this case, you need to change the password on the DRS console and resume the task.

You can modify the following information:

  • Database password
  • Database IP address
  • Database port
  • Database username

Constraints

  • The database connection password can be changed for all DRS tasks.
  • You can change the IP address, port, and username during the disaster recovery phase only for a single-active DR task with MySQL or GaussDB(for MySQL) serving as the source and IP address entered for the connection test. If the IP address, port number, or username changes due to some operations on the service database, you can use this function to update the information.
  • The function of changing an IP address applies to the scenario where the IP address of the service database changes. The IP addresses before and after the change must belong to the same data instance. Otherwise, the task may fail or data may be inconsistent.
  • After the connection information is changed, the change takes effect immediately, and the data in the DR database is not cleared.

Procedure

  1. On the Disaster Recovery Management page, click the target DR task in the Task Name/ID column.
  2. On the Basic Information tab, click Modify Connection Details in the DR Information area.
  3. In the displayed dialog box, change the passwords of the source and destination databases and click OK.
  4. If a task is in the Failed state, return to the task list page after the change is complete and click Resume in the Operation column to continue the DR task.