Service databases |
DR Database |
---|---|
|
|
To obtain accurate comparison results, start data comparison at a specified time point during off-peak hours. If it is needed, select Start at a specified time for Comparison Time. Due to slight time difference and continuous operations on data, data inconsistency may occur, reducing the reliability and validity of the comparison results.
Before creating a DR task, read the following precautions:
Parameter |
Description |
---|---|
Region |
The region where your service is running. You can change the region. |
Project |
The project corresponds to the current region and can be changed. |
Task Name |
The task name must start with a letter and consist of 4 to 50 characters. It can contain only letters, digits, hyphens (-), and underscores (_). |
Description |
The description consists of a maximum of 256 characters and cannot contain special characters !=<>'&"\ |
Parameter |
Description |
---|---|
Disaster Recovery Relationship |
Select Current cloud as standby. By default, Current cloud as standby is selected. You can also select Current cloud as active.
|
Service DB Engine |
Select MySQL. |
DR DB Engine |
Select MySQL. |
Network Type |
The public network is used as an example. Available options: VPN or Direct Connect and Public network. By default, the value is Public network. |
DR DB Instance |
The RDS instance you created. |
Disaster Recovery Instance Subnet |
Select the subnet where the disaster recovery instance is located. You can also click View Subnet to go to the network console to view the subnet where the instance resides. By default, the DRS instance and the destination DB instance are in the same subnet. You need to select the subnet where the DRS instance resides and ensure that there are available IP addresses. To ensure that the disaster recovery instance is successfully created, only subnets with DHCP enabled are displayed. |
Destination Database Access |
Select Read-only. During disaster recovery, the DR database becomes read-only. To change the DR database to Read/Write, you can change the DR database (or destination database) to a service database by clicking Promote Current Cloud on the Disaster Recovery Monitoring tab. After the DR task is complete or deleted, you can query and read data to the DR database. When the external database functions as the DR database, the user with the superuser permission can set the database to read-only. If a DRS instance node is rebuilt due to a fault, to ensure data consistency during the DRS task restoration, the current cloud standby database is set to read-only before the task is restored. After the task is restored, the synchronization relationship recovers. |
Parameter |
Description |
---|---|
Tags |
|
If a task fails to be created, DRS retains the task for three days by default. After three days, the task automatically ends.
Parameter |
Description |
---|---|
Source Database Type |
By default, Self-built on ECS is selected. |
IP Address or Domain Name |
The IP address or domain name of the service database. |
Port |
The port of the service database. Range: 1 – 65535 |
Database Username |
The username for accessing the service database. |
Database Password |
The password for the service database username. You can change the password if necessary. To change the password, perform the following operation after the task is created: If the task is in the Starting, Initializing, Disaster recovery in progress, or Disaster recovery failed status, in the DR Information area on the Basic Information tab, click Modify Connection Details. In the displayed dialog box, change the password. |
The IP address, domain name, username, and password of the service database are encrypted and stored in DRS and will be cleared after the task is deleted.
Parameter |
Description |
---|---|
DB Instance Name |
The DB instance you selected when creating the DR task and cannot be changed. |
Database Username |
The username for accessing the DR database. |
Database Password |
The password for the database username. The password can be changed after a task is created. If the task is in the Starting, Initializing, Disaster recovery in progress, or Disaster recovery failed status, in the DR Information area on the Basic Information tab, click Modify Connection Details. In the displayed dialog box, change the password. The database username and password are encrypted and stored in DRS, and will be cleared after the task is deleted. |
Parameter |
Description |
---|---|
DB Instance Name |
The RDS instance selected when you created the DR task. This parameter cannot be changed. |
Database Username |
The username for accessing the service database. |
Database Password |
The password for the database username. You can change the password if necessary. To change the password, perform the following operation after the task is created: If the task is in the Starting, Initializing, Disaster recovery in progress, or Disaster recovery failed status, in the DR Information area on the Basic Information tab, click Modify Connection Details. In the displayed dialog box, change the password. The database username and password are encrypted and stored in the system and will be cleared after the task is deleted. |
Parameter |
Description |
---|---|
Database Type |
By default, Self-built on ECS is selected. The destination database can be a Self-built on ECS or an RDS DB instance. If you select RDS DB instance, you need to select the region where the destination database is located. To use the RDS DB instance option, submit a service ticket. |
IP Address or Domain Name |
The IP address or domain name of the DR database. |
Port |
The port of the DR database. Range: 1 – 65535 |
Database Username |
The username for accessing the DR database. |
Database Password |
The password for the DR database username. You can change the password if necessary. To change the password, perform the following operation after the task is created: If the task is in the Starting, Initializing, Disaster recovery in progress, or Disaster recovery failed status, in the DR Information area on the Basic Information tab, click Modify Connection Details. In the displayed dialog box, change the password. |
Region |
The region where the RDS DB instance is located. This parameter is available only when the source database is an RDS DB instance. |
DB Instance Name |
DR instance name. This parameter is available only when the source database is an RDS DB instance. NOTE:
When the DB instance is used as the DR database, it is set to read-only. After the task is complete, the DB instance can be readable and writable. |
Database Username |
Username for logging in to the DR database. |
Database Password |
Password for the database username. |
The IP address, domain name, username, and password of the DR database are encrypted and stored in DRS and will be cleared after the task is deleted.
Parameter |
Description |
---|---|
Flow Control |
You can choose whether to control the flow.
|
Migrate Definer to User |
|
You can proceed to the next step only when all checks are successful. If there are any items that require confirmation, view and confirm the details first before proceeding to the next step.
Parameter |
Description |
---|---|
Start Time |
Set Start Time to Start upon task creation or Start at a specified time based on site requirements. NOTE:
Starting a DR task may slightly affect the performance of the service and DR databases. You are advised to start a DR task during off-peak hours. |