SQLintersection SQL37 SQL Server 2012 Availability Groups: High Availability for Your Most Important Data Aaron Bertrand,

Slides:



Advertisements
Similar presentations
Implementing SQLServer AlwaysON Sarabpreet Singh Anand SQL Server – MVP SQLServerGeeks.com (VP)
Advertisements

SharePoint 2013 & SQL Server 2012 Availability Groups The Rough Guide.
1EMC CONFIDENTIAL—INTERNAL USE ONLY Overview of SQL Server 2012 High Availability and Disaster Recovery (HADR) Wei Fan Technical Partner Management – Microsoft.
0 SQL Server AlwaysOn – SharePoint 2013 High Availability and Disaster Recovery Sal Bawany, Solutions Architect
Virtual techdays INDIA │ September 2011 High Availability - A Story from Past to Future Balmukund Lakhani │ Technical Lead – SQL Support, Microsoft.
SQL Server 2012 Always On Premier Field Engineer Microsoft Corporation Lisa Gardner
SharePoint Business Continuity Management with SQL Server AlwaysOn
Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.
Architecting Availability Groups
SQL-Server 2012 Always On.
Get More out of SQL Server 2012 in the Microsoft Private Cloud environment Guy BowermanMadhan Arumugam DBI208.
IT Pro Day SQL Server 2012 AllwaysOn Stephan Hurni Microsoft V-TSP Principal Consultant, Trivadis AG
DATABASE MIRRORING  Mirroring is mainly implemented for increasing the database availability.  Is configured on a Database level.  Mainly involves two.
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
Unified solution Easy to configure, manage, and monitor Reuse existing investments SAN/DAS environments Allow using HA hardware resources Fast seamless.
SQLCAT: SQL Server HA and DR Design Patterns, Architectures, and Best Practices Using Microsoft SQL Server 2012 AlwaysOn Sanjay Mishra Program Manager.
Speaker Name 00/00/2013. Solution Requirements.
Alwayson Availability Groups
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 |
Warwick Rudd – Henry Rooney – How Available is SQL Server 2016? DAT33 6.
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
Narasimha Reddy Gopu Jisha J. Agenda Introduction to AlwaysOn * AlwaysOn Availability Groups (AG) & Listener * AlwaysOn Failover * AlwaysOn Active Secondaries.
Luis Vargas Senior Program Manager Lead Microsoft.
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.
Windows Server Failover Clustering (WSFC) with SQL Server.
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.
Redmond Protocols Plugfest 2016 Kevin Farlee Senior Program Manager SQL Server AlwaysOn in SQL Server 2016.
SQL 2012 – Always On Deep Dive Bob Duffy Database Architect Prodata SQL Centre of Excellence 11 th April 2013.
Level 400 SQL Server 2012 AlwaysOn Deep Dive Christian Bolton, Coeo Ltd.
Architecting Enterprise Workloads on AWS Mike Pfeiffer.
SQLSaturday (Silicon Valley) – Mar
Microsoft Connect /23/ :39 PM
Introduction to Clustering
Turgay Sahtiyan Istanbul, Turkey
Sponsors.
High Availability in SQL Server 2012
SQL Server AlwaysOn Availability Groups DrillDown
Business Continuity for Virtual SQL Servers
AlwaysON Availability groups
SQL Server 2012 AlwaysOn and SQLSentry
Navigating the options for Data Redundancy
Disaster Recovery Where to Begin
Always On Availability Groups
Contained DB? Did it do something wrong?
unexplained AG failover
Required 9s and data protection: introduction to sql server 2012 alwayson, new high availability solution Santosh Balasubramanian Senior Program Manager.
AlwaysOn Availability Groups 101
Introduction to Clustering
Disaster Recovery Where to Begin
What’s new in SQL Server 2016 Availability Groups
SYED SAJID WASIM SQL SERVER ALWAYS ON Step by Step.
SQL Server on Linux: High Availability And Disaster Recovery
unexplained AG failover
AlwaysOn Availability Groups
High Availability/Disaster Recovery Solution
04 | Always On High Availability
Using Distributed AGs for Your Migrations
Using Distributed AGs for Your Migrations
Distributed Availability Groups Praveen Kumar. What we will cover Availability group refresher The HA/DR solution Distributed availability groups – what.
SQL AlwaysOn Availability Groups
Designing Database Solutions for SQL Server
Keeping Data Secure In Azure
Presentation transcript:

SQLintersection SQL37 SQL Server 2012 Availability Groups: High Availability for Your Most Important Data Aaron Bertrand, Kevin Kline,

2 © SQLintersection. All rights reserved. Agenda The Basics of AlwaysOn SSMS Tooling Demo SQLSentry Tooling Demo

3 © SQLintersection. All rights reserved. The Basics  Database-level protection  Built upon the foundation of database mirroring  Requires a Windows Server Failover Cluster.  Availability Groups (AGs) are what most people mean when they say “AlwaysOn” Inherits from DBM: Sync / Async data protection Automatic or manual failover Automatic page repair Compressed data stream TCP endpoints With WSFC: Does NOT require instances to be Failover Cluster Instances (FCIs) Does NOT require that servers start out as clustered if using standalone instances

4 © SQLintersection. All rights reserved. What Does WSFC Mean for a Data Pro?  You need to know WSFC thoroughly.  Quorum matters.  Nodes must be part of the same domain. (Different subnets are ok).  Quorum matters.  WSFC validation is very important.  AG feature doesn’t check like in setup for FCI  It’s on YOU to check it.  %windir%/Cluster/Reports  Apply hotfixes per Windows version  Quorum matters.

5 © SQLintersection. All rights reserved. I Know Mirroring. How’s This Different?  Enterprise Edition only. DB in full recovery mode only.  Not a 1:1 ratio of principals to mirrors. Per AG:  Up to 4 additional replicas, for a total of 5  Up to 2 synchronous secondary replicas  Up to 2 automatic failover pairs  Multiple DBs in an AG will failover at the same time.***  Easily span subnets.  Replicas usable for read-only access (w/o snapshots!) and backups.  More flexible routing – apps don’t need to know where replicas live.

6 © SQLintersection. All rights reserved. Availability Groups Fundamentals

7 © SQLintersection. All rights reserved. Flexible Failover Policy Levels Damaged databases and suspect databases? Nope, not detected by any failure-condition level. Failure ConditionLevel On server down. This is the least restrictive level.1 On server unresponsive.2 On critical server error. The default level. (1 and 2, plus internal errors). 3 On moderate server error. (1 – 3, plus other errors like stack dumps). 4 On any qualified failure conditions. (1 – 4, plus other errors like worker thread exhaustion and unresolvable deadlocks). 5

8 © SQLintersection. All rights reserved. Monitoring Availability Groups - Native  SSMS (in demo)  DMVs:  sys.availability_*  sys.dm_hadr_*  XEvents (availability_replica_state_change, data_movement_suspend_resume)  Performance counters (SQLServer:Availability Replica/Database Replica)  sp_server_diagnostics (checks for health and diagnostic info)

Demo Comparison of Native Tooling to SQL Sentry for SQL Server Availability Groups A.K.A. “You get what you pay for”.

10 © SQLintersection. All rights reserved. What about Cloud?  Windows Azure is a supported destination for secondaries.  Within Azure, can have sync replicas and automatic failover  SQL 2014: On-premise can have async replicas (requires VPN tunnel)  Can provide some serious benefits:  No servers to buy. Might be cheaper.  Geographically disbursed for better business continuity in the event of a natural / physical disaster.  Built-in management.

11 © SQLintersection. All rights reserved. Additional Resources  Twitter and #SQLHelp    Community Sites:        Brent Ozar Availability Groups Checklist alwayson-availability-groups-setup-checklist.pdf alwayson-availability-groups-setup-checklist.pdf  AG Troubleshooting and Monitoring Guide groups-troubleshooting-and-monitoring-guide-published.aspx groups-troubleshooting-and-monitoring-guide-published.aspx

12 © SQLintersection. All rights reserved. SUMMARY Based upon older database mirroring technologies & WSFC. Provides continuous uptime, great recoverability, and useful secondaries. Useful secondaries are usually read-only centric workloads and preventative maintenance. The cloud is an option for secondaries. Native tooling is adequate for small infrastructures.

Don’t forget to complete a session evaluation form and drop it off at the conference registration desk. Session: SQL37 Questions? Thank you!