Service Database |
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:
Type |
Restrictions |
---|---|
Service database |
The source Cassandra database version must be 2.0 or later. |
DR database |
No keyspace with the same name as the source database exists. |
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 Cassandra. |
DR DB Engine |
Select Cassandra. |
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 Cassandra 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 there are available IP addresses for the subnet. To ensure that the disaster recovery instance is successfully created, only subnets with DHCP enabled are displayed. |
Migrate TTL |
If this function is enabled, the TTL of the source Cassandra database is migrated to the destination database. If this function is not enabled, data inconsistency may occur. |
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 |
Select a service database type. |
IP Address or Domain Name |
IP address or domain name of the Cassandra database. |
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 Update Password next to the Source Database Password field. In the displayed dialog box, change the password. This action only updates DRS with the changed 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 |
---|---|
IP Address or Domain Name |
IP address or domain name of the DMQ service. |
Database Username |
Username of the DMQ service. |
Database Password |
Password of the DMQ service. |
Group ID |
Message consumer group of the DMQ service. The system determines how to distribute messages and record the location of the group based on the consumer group. |
Queue Name |
Message type of the DMQ service. |
You can choose whether to enable DMQ information. When the DMQ information is disabled, only inventory data is migrated and incremental data is not synchronized.
Parameter |
Description |
---|---|
DB Instance Name |
The Cassandra instance you selected when you created the DR task. This parameter cannot be changed. |
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 state, in the DR Information area on the Basic Information tab, click Update Password next to the Destination Database Password field. 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 |
---|---|
Active Data Center Name |
Name of the active DC. This parameter is left blank by default. |
Concurrent Full Export Threads |
Number of export threads. Value range: 1 to 8. A larger value indicates higher load on the source database. |
Concurrent Full Import Threads |
Number of import threads. Value range: 1 to 16. A larger value indicates higher load on the destination database. |
Concurrent Incremental Import Threads |
Number of concurrent threads for data replay. Value range: 1 to 16. Incremental data is concurrently written to the destination database. A larger value indicates higher load on the destination database. |
Disaster Recovery Object |
Select objects that require disaster recovery based on your service requirements. |
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.