SQLCAT: SQL Server HA and DR Design Patterns, Architectures, and Best Practices Using Microsoft SQL Server 2012 AlwaysOn Sanjay Mishra Program Manager.

Slides:



Advertisements
Similar presentations
1EMC CONFIDENTIAL—INTERNAL USE ONLY Overview of SQL Server 2012 High Availability and Disaster Recovery (HADR) Wei Fan Technical Partner Management – Microsoft.
Advertisements

Keith Burns Microsoft UK Mission Critical Database.
SQL Server 2012 Always On Premier Field Engineer Microsoft Corporation Lisa Gardner
Inside Windows Azure Virtual Machines Vijay Rajagopalan Microsoft Corporation.
Enabling Disaster Recovery for Hyper-V Workloads Using Hyper-V Replica Shreesh Dubey Principal Group Program Manager Microsoft Corporation VIR302.
Hyper-V High-Availability & Mobility: Designing the Infrastructure for Your Private Cloud Symon Perriman Technical Evangelist Microsoft
Hyper-V High-Availability & Mobility: Designing the Infrastructure for Your Private Cloud Symon Perriman Technical Evangelist Microsoft
Optimizing Microsoft SQL Server Analysis Services for Big Data Adam Jorgensen Microsoft Corporation.
Accelerating the Power of the Cloud with Microsoft Private Cloud Fast Track and EMC Infrastructure Mike McGhee Solutions Engineer EMC Corporation WSV211.
Exploring SQL Server Data Tier Applications Bob Beauchemin Developer Skills Partner SQLskills DBI309.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Architecting Availability Groups
Get More out of SQL Server 2012 in the Microsoft Private Cloud environment Guy BowermanMadhan Arumugam DBI208.
Failover Clustering & Hyper-V: Multisite Disaster Recovery
MODIFY THIS SLIDE FOR ACTUAL PRESENTER, DELETE THIS BAR AFTER MODIFICATION.
Get More out of SQL Server 2012 in the Microsoft Private Cloud environment Steven Wort, Xin Jin Microsoft Corporation.
Real World High Availability and Site Resilience Design Robert Gillies Solution Architect Microsoft Corporation EXL308.
SQLCAT: SQL Server 2012 AlwaysOn Lessons Learned from Early Customer Deployments Sanjay Mishra Program Manager Microsoft Corporation DBI360.
SQLintersection Session SQL37 SQL Server 2012 Availability Groups Aaron Bertrand
DBI Meets mission critical high availability SLA Integrated Efficient Flexible.
Unified solution Easy to configure, manage, and monitor Reuse existing investments SAN/DAS environments Allow using HA hardware resources Fast seamless.
Site Power OutageNetwork Disconnect Node Shutdown for Patching Node Crash Quorum Witness Failure How do I make sure my Cluster stays up ??... Add/Evict.
Speaker Name 00/00/2013. Solution Requirements.
1© Copyright 2012 EMC Corporation. All rights reserved. EMC VNX5700, EMC FAST Cache, SQL Server AlwaysOn Availability Groups Strategic Solutions Engineering.
Alwayson Availability Groups
Enabling Disaster Recovery for Hyper-V Workloads Using Hyper-V Replica Vijay Sistla Senior Program Manager Microsoft Corporation VIR302.
App Controller Tabrez Mohammed Yuan Zheng Program Managers Microsoft Corporation MGT303.
DBI302 AlwaysOn Availability Groups for database protection AlwaysOn Availability Groups for database protection AlwaysOn Failover Cluster Instances.
Architecting Availability Groups An analysis of Microsoft SQL Server Always-On Availability Group architectures 1.
Course Topics Administering SQL Server 2012 Jump Start 01 | Install and Configure SQL Server04 | Manage Data 02 | Maintain Instances and Databases05 |
Cloud-Ready Data Services. cloud data services.
1 Chapter Overview Using Standby Servers Using Failover Clustering.
SQL Server 2012: AlwaysOn HA and DR Design Patterns, and Lessons Learned from Early Customer Deployments Sanjay Mishra SQLCAT.
#sqlsatTorino #sqlsat400 May 23, 2015 SQL Server AlwaysOn Gianluca
Luis Vargas Senior Program Manager Lead Microsoft.
SQL Server 2014 AlwaysOn Step-by-Step SQL Server 2014 AlwaysOn Step-by-Step A hands on look at implementing AlwaysOn in SQL Server 2014.
What HADR Option(s) Are Right For You?. Where’s The AlwaysOn?
SQL Server High Availability Introduction to SQL Server high availability solutions.
All the things you need to know before setting up AlwaysOn Michael Steineke SQL & BI Solution Lead Enterprise Architect Concurrency, Inc.
Architecting Availability Groups An analysis of Microsoft SQL Server Always-On Availability Group architectures 1.
AlwaysOn In SQL Server 2012 Fadi Abdulwahab – SharePoint Administrator - 4/2013
FUN WITH AVAILABILITY GROUPS Christopher Wolff SQL Server Database Engineer, Xero.
Are You High? Can You Recover? Robert Douglas SQL Saturday #468, Sydney 27 th February 2016.
Integrating SQL Server FileTables, Property Search, and FTS/Semantic Search Bob Beauchemin Developer Skills Partner SQLskills.
Architecting Availability Groups An analysis of Microsoft SQL Server Always-On Availability Group architectures 1.
Architecting Enterprise Workloads on AWS Mike Pfeiffer.
Introduction to Clustering
Architecting Availability Groups
Disaster Recovery Where to Begin
Always On Multi-Site Patterns
Always On Availability Groups
Design and Implement Cloud Data Platform Solutions
Required 9s and data protection: introduction to sql server 2012 alwayson, new high availability solution Santosh Balasubramanian Senior Program Manager.
Always On : Multi-site patterns
AlwaysOn Availability Groups 101
Mission Critical Confidence SQL 2012/2014 AlwaysOn
Introduction to Clustering
Disaster Recovery Where to Begin
Architecting Availability Groups
Always On : Multi-site patterns
Planning High Availability and Disaster Recovery
TechEd /21/2018 5:20 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Always On : Multi-site patterns
TechEd /23/ :44 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
SQL Server on Linux: High Availability And Disaster Recovery
AlwaysOn Availability Groups
High Availability/Disaster Recovery Solution
04 | Always On High Availability
Distributed Availability Groups Praveen Kumar. What we will cover Availability group refresher The HA/DR solution Distributed availability groups – what.
Designing Database Solutions for SQL Server
Presentation transcript:

SQLCAT: SQL Server HA and DR Design Patterns, Architectures, and Best Practices Using Microsoft SQL Server 2012 AlwaysOn Sanjay Mishra Program Manager Microsoft Corporation DBI316

Assumed Pre-requisites for this presentation: Basic knowledge of AlwaysOn Failover Cluster Instances (FCI) AlwaysOn Availability Groups (AG) Definition: For the purpose of this presentation High Availability (Local HA): Availability within a data center Disaster Recovery (DR): Availability across data centers

AlwaysOn ≠ Availability Groups AlwaysOn = { SQL Server Failover Cluster Instances, Availability Groups } Availability Groups ≠ Database Mirroring

SQL Server 2012 AlwaysOn HA+DR Design Pattern Solution Characteristics Corresponding Pre-SQL Server 2012 Solution 1 Multi-site Failover Cluster Instance (FCI) for HA and DR Shared Storage solution 1 1 Masked by storage replication Multi-site FCI using stretch VLAN 2 Availability Group for HA and DR Non-Shared Storage solution Database Mirroring for Local HA and Log Shipping for DR 3 Failover Cluster Instance for local HA + Availability Group for DR Combined Shared Storage and Non-Shared Storage Failover Cluster Instance for Local HA and Database Mirroring for DR

title Multi-site Failover Cluster Instance for HA and DR

Primary Site DR Site Node 1 Node 2 Node 3 Node 4 Windows Server Failover Cluster Storage Replication SQL-FCI ActivePassive SQL Server 2012 AlwaysOn HA+DR Solution Solution Characteristics Corresponding Pre-SQL Server 2012 Solution 1 Multi-site Failover Cluster Instance (FCI) for HA and DR ( s/archive/2011/12/22/sql-server alwayson_3a00_-multisite-failover- cluster-instance.aspx ) s/archive/2011/12/22/sql-server alwayson_3a00_-multisite-failover- cluster-instance.aspx Shared Storage solution 1 Instance Level HA (automatic) Instance Level DR (automatic 2 ) Uses storage replication 1 Masked by storage replication 2 Consider 3 rd data center Multi-site FCI using stretch VLAN

Multi-site Failover Cluster Instance Key Elements A single SQL Server failover cluster instance (FCI) providing HA as well as DR spanning across multiple sites (usually multiple subnets as well) Key components: Storage Storage level replication Cluster Enabler Provided by the storage vendor Work with your storage vendor to get the appropriate software and best practices Network Multi-subnet support in SQL Server configuration and engine Key improvement in SQL Server 2012 IP address OR dependency set within SQL Server setup SQL Engine skips binding to any IP’s which are not online at start-up RegisterAllProvidersIP for Network Name improves application failover time

Multi-site Failover Cluster Instance Deployment Considerations

title Availability Groups for HA and DR

SQL Server 2012 AlwaysOn HA+DR Solution Solution Characteristics Corresponding Pre-SQL Server 2012 Solution 2 Availability Group for HA and DR Non-Shared Storage solution (Group of) Database Level HA (automatic) (Group of) Database Level DR (manual 3 ) DR replica can be Active Secondary 3 DR is manual, if HA is chosen automatic. Consider 3 rd data center, if need automatic DR. Database Mirroring for Local HA and Log Shipping for DR

Availability Groups for HA and DR Deployment Considerations

Availability Groups for HA and DR Quorum Considerations

Note: The Fileshare Witness always has 1 vote. Quorum Model and Node Votes Node and Fileshare Majority Use the “Node and File Share Majority” quorum model with a protected file share witness.

Quorum Model and Node Votes Node Majority Add an additional voting node to the WSFC in the primary data center, and then use the “Node Majority” quorum model.

Quorum Model and Node Votes How to set / view To View Quorum Model Windows Failover Cluster Manager GUI PowerShell Cluster.exe SQL Server DMVs AlwaysOn Dashboard in SSMS To Change Quorum Model Windows Failover Cluster Manager GUI PowerShell Cluster.exe To View Node Votes PowerShell Cluster.exe SQL Server DMVs AlwaysOn Dashboard in SSMS To Change Node Votes PowerShell Cluster.exe

Recovering from a Disaster

Migration: From DBM+LS to AG Planning and Key Considerations

title Failover Cluster Instance for HA, and Availability Group for DR

FCI for HA + AG for DR SQL Server 2012 AlwaysOn HA+DR Solution Solution Characteristics Corresponding Pre-SQL Server 2012 Solution 3 Failover Cluster Instance for local HA + Availability Group for DR Combined Shared Storage and Non-Shared Storage Instance Level HA (automatic) (Group of) Database Level DR (manual) DR replica can be Active Secondary Asymmetric storage is the key to this solution Failover Cluster Instance for Local HA and Database Mirroring for DR

FCI for HA + AG for DR Deployment Considerations

FCI for HA + AG for DR Quorum Considerations

Note: The Fileshare Witness always has 1 vote. Quorum Model and Node Votes Example: Node and Fileshare Majority

Quorum Model and Node Votes How to set / view To View Quorum Model Windows Failover Cluster Manager GUI PowerShell Cluster.exe SQL Server DMVs AlwaysOn Dashboard in SSMS To Change Quorum Model Windows Failover Cluster Manager GUI PowerShell Cluster.exe To View Node Votes PowerShell Cluster.exe SQL Server DMVs AlwaysOn Dashboard in SSMS To Change Node Votes PowerShell Cluster.exe Note: Only cluster.exe can be used to set quorum model to “Node and (asymmetric) Disk Majority” or “(asymmetric) Disk Only”

Recovering from a Disaster

Migration: From FCI+DBM to FCI+AG Planning and Key Considerations

Summary

SQL Server 2012 AlwaysOn HA+DR Design Pattern Solution Characteristics Corresponding Pre-SQL Server 2012 Solution 1 Multi-site Failover Cluster Instance (FCI) for HA and DR Shared Storage solution 1 Instance Level HA (automatic) Instance Level DR (automatic 2 ) Uses storage replication Doesn’t require database to be in FULL recovery model 1 Masked by storage replication 2 Consider 3 rd data center Multi-site FCI using stretch VLAN 2 Availability Group for HA and DR Non-Shared Storage solution (Group of) Database Level HA (automatic) (Group of) Database Level DR (manual 3 ) DR replica can be Active Secondary Requires database to be in FULL recovery model 3 DR is manual, if HA is chosen automatic. Consider 3 rd data center, if need automatic DR. Database Mirroring for Local HA and Log Shipping for DR 3 Failover Cluster Instance for local HA + Availability Group for DR Combined Shared Storage and Non-Shared Storage Instance Level HA (automatic) (Group of) Database Level DR (manual) DR replica can be Active Secondary Requires database to be in FULL recovery model Asymmetric storage is the key to this solution Failover Cluster Instance for Local HA and Database Mirroring for DR

Sanjay Mishra

Connect. Share. Discuss. Learning Microsoft Certification & Training Resources TechNet Resources for IT Professionals Resources for Developers

Required Slide Complete an evaluation on CommNet and enter to win!

Scan the Tag to evaluate this session now on myTechEd Mobile Required Slide *delete this box when your slide is finalized Your MS Tag will be inserted here during the final scrub.