Always on High Availability and Disaster Recovery
July 17, 2026 · 1.5 MB
A transcript of a Microsoft presentation on designing high availability and disaster recovery for SQL Server 2012 databases using AlwaysOn failover clusters and availability groups.
Overview
Every production database deployment should answer a basic question: what is the disaster recovery plan? In this presentation, Goden Yao, a programme manager on Microsoft's SQL Server high availability team, explains how the AlwaysOn technology introduced in SQL Server 2012 can be used to design such plans. The transcript, with slide references, covers design patterns, architectures and best practices.
The talk assumes some knowledge of failover cluster instances and availability groups, and of two key planning measures. The recovery time objective (RTO) is how quickly service must be restored after a disaster. The recovery point objective (RPO) is how much data loss can be tolerated.
Three Solutions
Yao presents three approaches:
- A multi-site failover cluster instance, giving instance-level protection with shared storage replicated by hardware between sites
- An availability group, giving database-level protection without shared storage and allowing secondary copies to be used for reporting or backups
- A hybrid, with a failover cluster instance for local high availability and an availability group for disaster recovery at a second site
The second and third options require databases to use the full recovery model.
Multi-Site Failover Clusters
Failover cluster instances date back to SQL Server 2005, but before 2012 spanning two sites required a stretched virtual LAN, which was hard to maintain and raised security concerns. SQL Server 2012 supports multiple subnets natively, registering IP addresses from both sites in DNS so clients can reconnect faster after a failover. A new client driver setting lets applications try both addresses in parallel, while older clients need shorter timeouts. Yao notes that TempDB can now be placed on local storage, cutting shared storage use and input/output load, since customers found about 40% of shared storage activity came from TempDB. He explains why the storage validation check can be skipped and which quorum models suit a multi-site cluster.
Availability Groups
Many customers previously combined database mirroring for local high availability with log shipping for disaster recovery. Availability groups replace this with a single group of databases spanning a Windows Server failover cluster across both data centres. Data can move synchronously to a local secondary and synchronously or asynchronously to a remote one, with up to four secondaries. A file share witness may be needed for automatic failover, depending on the number of nodes.
Quorum and Disaster Scenarios
Much of the talk explains how to assign quorum votes so that nodes at the disaster recovery site can't take the cluster offline, and what to do when disaster strikes. Failing over to the second data centre is a manual process: administrators force the cluster to start with a forced quorum, bring the availability group online allowing possible data loss, then adjust votes so replication runs back towards the original site once it is repaired.
Recap
Yao closes by comparing each solution with the older approach it replaces, such as a stretched virtual LAN cluster or a combination of mirroring and log shipping.
Why It Matters
The presentation is a practical guide to planning database resilience, a key part of continuity planning for any organisation that depends on its data.
