Before using SDRS, learn about the constraints listed in Table 1.
Constraint |
Description |
|---|---|
Computing |
Constraints on server types:
|
Replication |
Constraints on servers:
|
Constraints on EVS disks:
|
|
Storage |
This service is applicable for servers using only EVS. |
Application |
Storage-based synchronous replication ensures disk data consistency but cannot ensure application consistency. If your applications support crash consistency, you can run and replicate applications. |
Deployment model |
VPC migration: Servers at the production site and those at the DR site are in the same VPC. NIC migration and multiple NICs are supported for each server. |
Backup and restoration |
Only servers at the production site can be backed up and restored. Servers at the DR site can only be backed up. |
If the AZ of the production site becomes faulty, you can use the DR drill function to restore the server services in the AZ.
After you have performed a switchover, failover, or DR drill for the first time:
If your servers are installed with Cloud-Init/Cloudbase-Init, Cloud-Init/Cloudbase-Init will start along with the server's first startup to inject the initial data. In this case, the password or key pair used to log in to the production site server, DR site server, or drill server will change.
If your servers are not installed with Cloud-Init/Cloudbase-Init, the password or key pair used to log in to the production site server, DR site server, or drill server will not change.
The following uses a switchover or failover as the example operation. For the login constraints on drill servers, see those for DR site servers.
In the following example, Server A and server B are deployed. Table 2 shows the servers before and after the operation.
N/A |
Production Site Server |
DR Site Server |
|---|---|---|
Before |
A |
B |
After |
B |
A |
Detailed login constraints are described as follows:
After the first time switchover or failover, the password or key pair remains the same for the subsequent switchovers or failovers. Take servers listed in Table 2 as an example.
You can use the password of Server A to log in to the production site server or DR site server.
If Cloudbase-Init is not started (normally within 3 to 5 minutes after the production site server starts), you can use the password of Server B for login.
After Cloudbase-Init is started, the login password of Server B becomes invalid. Reset the password and use the new password for login.
If Cloudbase-Init is not started (normally within 3 to 5 minutes after the production site server starts), you can use the obtained login password of Server B for login.
After Cloudbase-Init is started, the obtained login password of Server B becomes invalid. Obtain the password again.
After the first time switchover or failover, the password or key pair remains the same for the subsequent switchovers or failovers. Take servers listed in Table 2 as an example.
If the login password of Server A is not changed before the operation, use this password for login.
For ECS OSs other than CoreOS, the login password does not change after the first time switchover or failover.
For ECSs running CoreOS, the login password of Server A will restore to the initial one after the first time switchover or failover. In this case, use the login password configured when Server A is created to log in to production site Server A or DR site Server B.