Before configuring DR services, check the database environments at the production and DR ends where SQL Server databases reside, and the storage environment. If any environment does not meet requirements, modify its configurations.
Check the database environments of the production end and the DR end where databases reside.
Hybrid authentication must be adopted for SQL Server database, or the connection to the database fails.
The eReplication Agent uses the VSS service to ensure consistency between SQL Server databases. Therefore, the VSS service must be enabled.
The permission granting is applicable only to the production environment where SQL Server 2012 (either in standalone or cluster mode) is in use.
If the database environments at the DR end and production end are not the same, the user should deal with it to make sure that the DR end and production end have the same database environments.
Table 1 lists configuration requirements.
Check Item |
Configuration Requirement |
|---|---|
Installation |
The operating system type and version run by SQL Server databases are the same as those at the production end. |
The SQL Server database version is the same as that at the production end. |
|
Database |
The names, instance names, user names, and passwords of databases are the same as that at the production end. |
Paths to data files and log files of the databases are the same as those at the production end. |
|
SQL Server cluster |
The names of the resource group and the disks in the resource group are the same as those at the production end. |
Names of failover clusters on the same network are unique. |
|
The disk resources where database files reside must be in Maintenance mode in the cluster manager before the database test or recovery. |
|
The disk resources where database files reside must be in Maintenance mode in the cluster manager before the database test or recovery, or the disk resources may fail to be mounted when the database is being started. |
|
After the DR cluster host restarts or resets, or cluster services reset, check the status of all resources in the failover cluster manager. For disk resources whose status is Offline and database disk resources for which database DR will be performed, set the status to Maintenance. |
Do not close instances to which the databases belong.
If you use storage array remote replication to implement DR protection for the database, establish a remote replication relationship on the storage device management software page between the production end and DR end and ensure that the replication status is normal.
In the SQL Server cluster, the cluster must be in Maintenance mode before demapping LUNs.