Download presentation
Presentation is loading. Please wait.
Published byClifton Williams Modified over 9 years ago
1
1EMC CONFIDENTIAL—INTERNAL USE ONLY Overview of SQL Server 2012 High Availability and Disaster Recovery (HADR) Wei Fan Technical Partner Management – Microsoft January 2012
2
2EMC CONFIDENTIAL—INTERNAL USE ONLY Agenda Business Case for HADR Prior to SQL Server 2012: HADR Review What is New in HADR of SQL Server 2012 Demo Q & A Footer information: 10 pt. MetaNormalLF—NOT italics
3
3EMC CONFIDENTIAL—INTERNAL USE ONLY Business Case for HADR Data loss Downtime
4
4EMC CONFIDENTIAL—INTERNAL USE ONLY Business Risks and Solutions Business RiskSolution High Availability Potential downtime of database service Redundant database system components Disaster Recovery In case that database service is down with potential data loss, get database service back online with minimum impact Redundant data. Redundant database system components.
5
5EMC CONFIDENTIAL—INTERNAL USE ONLY HADR Strategy Principle: Redundancy Data Redundancy Database Service Redundancy Hardware Redundancy
6
6EMC CONFIDENTIAL—INTERNAL USE ONLY History of SQL-based Data Redundancy SQL Backup and Restore (SQL Server 6.5) SQL Log Shipping (SQL Server 7.0) SQL Transactional Replication (SQL Server 7.0) SQL Failover Cluster (SQL Server 7.0) - HADR Enhancements (SQL Server 2000) SQL Snapshot (SQL Server 2005) SQL Mirroring (SQL Server 2005) - HADR Enhancements (SQL Server 2008 & R2) SQL AlwaysOn (SQL Server 2012)
7
7EMC CONFIDENTIAL—INTERNAL USE ONLY Permitted downtime (planned & unplanned) Uptime SLA Downtime per Year Downtime per Month 95%18.25 days36 hours 98%7.30 days14.4 hours 99%3.65 days7.20 hours 99.9%8.76 hours43.8 minutes 99.99%52.6 minutes4.38 minutes 99.999%5.26 minutes0.438 minutes 99.9999%31.5 seconds2.59 seconds
8
8EMC CONFIDENTIAL—INTERNAL USE ONLY SQL HADR Categories by Standby Modes Standb y Mode Failover BehaviorSQL Server Feature Cold standb y Manual intervention required to ready data copy Backup and restore Warm standb y Data copy ready to use Manual failover required Transaction log shipping Transactional replication Database mirroring Hot standb y Automatic failoverDatabase mirroring Failover clustering AlwaysOn
9
9EMC CONFIDENTIAL—INTERNAL USE ONLY SQL HADR Categories by DB/Instance HADR Prior to SQL 2012SQL 2012 Database Level HADR Backup and Restore Log Shipping Transactional Replication SQL Snapshot SQL Mirroring AlwaysOn High Availability Group Instance Level HADR SQL Failover ClusterAlwaysOn Failover Cluster
10
10EMC CONFIDENTIAL—INTERNAL USE ONLY SQL HADR Review Prior to SQL Server 2012
11
11EMC CONFIDENTIAL—INTERNAL USE ONLY Database Backup & Restore Full Database Backup Differential Database Backup Transaction Log Backup
12
12EMC CONFIDENTIAL—INTERNAL USE ONLY Pros & Cons: Database Backup & Restore Pros: Physical database backup files Simple and easy to perform Cons: Not a high availability solution Possible data loss
13
13EMC CONFIDENTIAL—INTERNAL USE ONLY Scorecard: AlwaysOn vs. Backup & Restore
14
14EMC CONFIDENTIAL—INTERNAL USE ONLY Log Shipping Continuous backup and restore Standby server Asynchronous
15
15EMC CONFIDENTIAL—INTERNAL USE ONLY Pros & Cons: Log Shipping Pros: Automatic restore process Multiple secondary servers Cons: Possible data loss Manual failover Issue with reporting in standby server
16
16EMC CONFIDENTIAL—INTERNAL USE ONLY Scorecard : AlwaysOn vs. Log Shipping
17
17EMC CONFIDENTIAL—INTERNAL USE ONLY Transactional Replication
18
18EMC CONFIDENTIAL—INTERNAL USE ONLY Pros & Cons: Transactional Replication Pros: Automatic restore process Secondary servers for reporting app Multiple secondary servers Cons: Designed for data, not for schema Manual failover
19
19EMC CONFIDENTIAL—INTERNAL USE ONLY Scorecard : AlwaysOn vs. SQL Replication
20
20EMC CONFIDENTIAL—INTERNAL USE ONLY SQL Failover Cluster Instance: FCI Instance level
21
21EMC CONFIDENTIAL—INTERNAL USE ONLY Pros & Cons: SQL Failover Cluster Instance Pros: High availability solution Automatic failover No lost data Coupled with SAN as shared array Cons: High cost Restricted to local subnet
22
22EMC CONFIDENTIAL—INTERNAL USE ONLY Scorecard : AlwaysOn FC vs. SQL FC
23
23EMC CONFIDENTIAL—INTERNAL USE ONLY Database Snapshot Data-page Copy-on-write
24
24EMC CONFIDENTIAL—INTERNAL USE ONLY Pros & Cons: Database Snapshot Pros: Maintaining historical data Snapshot as a reporting database Many snapshots Cons: Depend on the primary database Restriction of same server instance
25
25EMC CONFIDENTIAL—INTERNAL USE ONLY Scorecard: AlwaysOn vs. SQL Snapshot
26
26EMC CONFIDENTIAL—INTERNAL USE ONLY Database Mirroring Hot standby database Sync/Async modes
27
27EMC CONFIDENTIAL—INTERNAL USE ONLY Pros & Cons: Database Mirroring Pros: Sync mode with automatic failover Async mode for performance Easy to setup Cons: Single database Standby server not accessible
28
28EMC CONFIDENTIAL—INTERNAL USE ONLY Scorecard : AlwaysOn vs. SQL Mirroring
29
29EMC CONFIDENTIAL—INTERNAL USE ONLY SQL Server 2012 HADR AlwaysOn High Availability Group (HAG) AlwaysOn Failover Cluster Instance (FCI)
30
30EMC CONFIDENTIAL—INTERNAL USE ONLY AlwaysOn: High Availability Group Installation Windows cluster No-clustered SQL Server
31
31EMC CONFIDENTIAL—INTERNAL USE ONLY Configure High Availability Group (AlwaysOn) Replica Database level Many databases Failover in groups Multiple replicas Sync/Async mode
32
32EMC CONFIDENTIAL—INTERNAL USE ONLY High Availability Group: Active Secondary R/W work load Primary backup Secondary backup
33
33EMC CONFIDENTIAL—INTERNAL USE ONLY High Availability Group: Active Secondary
34
34EMC CONFIDENTIAL—INTERNAL USE ONLY Pros & Cons: High Availability Group Pros: Synchronous/asynchronous mode Failover on multiple databases Automatic failover Up to 4 replicas Active replicas Cons: Perf issue in provisioning large databases Perf issue when updating indexes on large databases
35
35EMC CONFIDENTIAL—INTERNAL USE ONLY AlwaysOn: Failover Cluster Instance - FCI Instance level Multi-subnet
36
36EMC CONFIDENTIAL—INTERNAL USE ONLY Scorecard: AlwaysOn HAG vs. AlwaysOn FC
37
37EMC CONFIDENTIAL—INTERNAL USE ONLY AlwaysOn Failover: FCI + HA
38
38EMC CONFIDENTIAL—INTERNAL USE ONLY AlwaysOn Failover: FCI + HA
39
39EMC CONFIDENTIAL—INTERNAL USE ONLY EMC MV/CE Combines Microsoft Failover Cluster and EMC Mirror View Support failover in storage level Geographical cluster Synchronous/Asnychronous mode
40
40EMC CONFIDENTIAL—INTERNAL USE ONLY Scorecard : AlwaysOn vs. EMC MV/CE
41
41EMC CONFIDENTIAL—INTERNAL USE ONLY Demonstration
42
42EMC CONFIDENTIAL—INTERNAL USE ONLY
43
43EMC CONFIDENTIAL—INTERNAL USE ONLY Q&AQ&A
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.