Real-Time Disaster Recovery¶
Database Types¶
DRS supports disaster recovery (DR) management for the following types of databases.
DR Direction | Data Flow | Service Database | DR Database | DR DB Instance Type |
---|---|---|---|---|
Current cloud as standby | MySQL->MySQL |
| RDS MySQL instances |
|
Current cloud as active | MySQL->MySQL | RDS MySQL instances |
|
|
Current cloud as standby | MySQL -> GaussDB(for MySQL) primary/standby |
| GaussDB(for MySQL) primary/standby instances |
|
Current cloud as standby | Cassandra->Cassandra |
| GaussDB(for Cassandra) instances |
|
Current cloud as active | Cassandra->Cassandra |
|
|
|
Database Versions¶
DR Direction | Data Flow | Service Database Version | DR Database Version |
---|---|---|---|
Current cloud as standby | MySQL->MySQL |
|
|
Current cloud as active | MySQL->MySQL |
|
|
Current cloud as standby | MySQL -> GaussDB(for MySQL) primary/standby |
| GaussDB(for MySQL)-MySQL 8.0 |
Current cloud as standby | Cassandra-> Cassandra | Cassandra 2.x | GaussDB(for Cassandra) 3.x |
Current cloud as active | Cassandra->Cassandra | GaussDB(for Cassandra) 3.x | Cassandra 2.x |
Network Preparations¶
DRS supports disaster recovery through a Virtual Private Network (VPN), Direct Connect, or public network. Table 3 lists the application scenarios of each network type and required preparations.
Network Type | Application Scenario | Preparations |
---|---|---|
VPN | Disaster recovery from on-premises databases to cloud databases or between cloud databases across regions | Establish a VPN connection between your local data center and the VPC that hosts the destination database. Before disaster recovery, ensure that the VPN network is accessible. |
Direct Connect | Disaster recovery from on-premises databases to cloud databases or between cloud databases across regions | Use a dedicated network connection to connect your data center to VPCs. |
Public network | Disaster recovery from on-premises databases or other cloud databases to destination databases. | To ensure network connectivity between the source and destination databases, perform the following operations:
|
DR Direction | Data Flow | VPC | Public Network | VPN or Direct Connect |
---|---|---|---|---|
Current cloud as standby | MySQL->MySQL | Not supported | Supported | Supported |
Current cloud as active | MySQL->MySQL | Not supported | Supported | Supported |
Current cloud as standby | MySQL -> GaussDB(for MySQL) primary/standby | Not supported | Supported | Supported |
Current cloud as standby | Cassandra->Cassandra | Not supported | Supported | Supported |
Current cloud as active | Cassandra->Cassandra | Not supported | Supported | Supported |