|
1 | 1 | ---
|
2 | 2 | title: Set up disaster recovery for SQL Server with Azure Site Recovery
|
3 | 3 | description: This article describes how to set up disaster recovery for SQL Server by using SQL Server and Azure Site Recovery.
|
4 |
| -services: site-recovery |
5 | 4 | author: ankitaduttaMSFT
|
6 |
| -manager: rochakm |
7 | 5 | ms.service: azure-site-recovery
|
8 |
| -ms.topic: conceptual |
| 6 | +ms.topic: how-to |
9 | 7 | ms.date: 03/28/2023
|
10 | 8 | ms.author: ankitadutta
|
11 | 9 |
|
@@ -33,7 +31,7 @@ SQL Server on an Azure infrastructure as a service (IaaS) virtual machine (VM) o
|
33 | 31 | SQL Server on an Azure IaaS VM or at on-premises.| [Failover clustering (Always On FCI)](/sql/sql-server/failover-clusters/windows/windows-server-failover-clustering-wsfc-with-sql-server) | The time taken to fail over between the nodes. | Because Always On FCI uses shared storage, the same view of the storage instance is available on failover.
|
34 | 32 | SQL Server on an Azure IaaS VM or at on-premises.| [Database mirroring (high-performance mode)](/sql/database-engine/database-mirroring/database-mirroring-sql-server) | The time taken to force the service, which uses the mirror server as a warm standby server. | Replication is asynchronous. The mirror database might lag somewhat behind the principal database. The lag is typically small. But it can become large if the principal or mirror server's system is under a heavy load.<br/><br/>Log shipping can be a supplement to database mirroring. It's a favorable alternative to asynchronous database mirroring.
|
35 | 33 | SQL as platform as a service (PaaS) on Azure.<br/><br/>This deployment type includes single databases and elastic pools. | Active geo-replication | 30 seconds after failover is triggered.<br/><br/>When failover is activated for one of the secondary databases, all other secondaries are automatically linked to the new primary. | RPO of five seconds.<br/><br/>Active geo-replication uses the Always On technology of SQL Server. It asynchronously replicates committed transactions on the primary database to a secondary database by using snapshot isolation.<br/><br/>The secondary data is guaranteed to never have partial transactions.
|
36 |
| -SQL as PaaS configured with active geo-replication on Azure.<br/><br/>This deployment type includes a managed instances, elastic pools, and single databases. | Auto-failover groups | RTO of one hour. | RPO of five seconds.<br/><br/>Auto-failover groups provide the group semantics on top of active geo-replication. But the same asynchronous replication mechanism is used. |
| 34 | +SQL as PaaS configured with active geo-replication on Azure.<br/><br/>This deployment type includes managed instances, elastic pools, and single databases. | Auto-failover groups | RTO of one hour. | RPO of five seconds.<br/><br/>Auto-failover groups provide the group semantics on top of active geo-replication. But the same asynchronous replication mechanism is used. |
37 | 35 | SQL Server on an Azure IaaS VM or at on-premises.| Replication with Azure Site Recovery | RTO is typically less than 15 minutes. To learn more, read the [RTO SLA provided by Site Recovery](https://azure.microsoft.com/support/legal/sla/site-recovery/v1_2/). | One hour for application consistency and five minutes for crash consistency. If you are looking for lower RPO, use other BCDR technologies.
|
38 | 36 |
|
39 | 37 | > [!NOTE]
|
@@ -156,9 +154,9 @@ Site Recovery replication for SQL Server is covered under the Software Assurance
|
156 | 154 |
|
157 | 155 | Site Recovery is application agnostic. Site Recovery can help protect any version of SQL Server that is deployed on a supported operating system. For more, see the [support matrix for recovery](vmware-physical-azure-support-matrix.md#replicated-machines) of replicated machines.
|
158 | 156 |
|
159 |
| -### Does ASR Work with SQL Transactional Replication? |
| 157 | +### Does Azure Site Recovery Work with SQL Transactional Replication? |
160 | 158 |
|
161 |
| -Due to ASR using file-level copy, SQL cannot guarantee that the servers in an associated SQL replication topology are in sync at the time of ASR failover. This may cause the logreader and/or distribution agents to fail due to LSN mismatch, which can break replication. If you failover the publisher, distributor, or subscriber in a replication topology, you need to rebuild replication. It is recommended to [reinitialize the subscription to SQL Server](/sql/relational-databases/replication/reinitialize-a-subscription). |
| 159 | +Due to Azure Site Recovery using file-level copy, SQL cannot guarantee that the servers in an associated SQL replication topology are in sync at the time of Azure Site Recovery failover. This may cause the log reader and/or distribution agents to fail due to LSN mismatch, which can break replication. If you failover the publisher, distributor, or subscriber in a replication topology, you need to rebuild replication. It is recommended to [reinitialize the subscription to SQL Server](/sql/relational-databases/replication/reinitialize-a-subscription). |
162 | 160 |
|
163 | 161 |
|
164 | 162 | ## Next steps
|
|
0 commit comments