ALWAYSON AVAILABILITY GROUPS Replicas, Listeners & Quorums, Oh My! Kevin Howell SQL Saturday #517 Philadelphia, June 2016.

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.
Mecanismos de alta disponibilidad con Microsoft SQL Server 2008 Por: ISC Lenin López Fernández de Lara.
1EMC CONFIDENTIAL—INTERNAL USE ONLY Overview of SQL Server 2012 High Availability and Disaster Recovery (HADR) Wei Fan Technical Partner Management – Microsoft.
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
0 SQL Server AlwaysOn – SharePoint 2013 High Availability and Disaster Recovery Sal Bawany, Solutions Architect
1 © Copyright 2010 EMC Corporation. All rights reserved. EMC RecoverPoint/Cluster Enabler for Microsoft Failover Cluster.
Virtual techdays INDIA │ September 2011 High Availability - A Story from Past to Future Balmukund Lakhani │ Technical Lead – SQL Support, Microsoft.
Denny Cherry twitter.com/mrdenny.
1© Copyright 2011 EMC Corporation. All rights reserved. EMC RECOVERPOINT/ CLUSTER ENABLER FOR MICROSOFT FAILOVER CLUSTER.
National Manager Database Services
SharePoint Business Continuity Management with SQL Server AlwaysOn
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Maintaining a Mirrored Database Tips and Tricks by Paul G. Hiles.
MODIFY THIS SLIDE FOR ACTUAL PRESENTER, DELETE THIS BAR AFTER MODIFICATION.
Tony Tomarchio Director of Field Engineering SIOS Technology
SQLintersection Session SQL37 SQL Server 2012 Availability Groups Aaron Bertrand
7. Replication & HA Objectives –Understand Replication and HA Contents –Standby server –Failover clustering –Virtual server –Cluster –Replication Practicals.
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
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.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Narasimha Reddy Gopu Jisha J. Agenda Introduction to AlwaysOn * AlwaysOn Availability Groups (AG) & Listener * AlwaysOn Failover * AlwaysOn Active Secondaries.
Windows Server Failover Clustering with SQL Server.
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.
Windows Server Failover Clustering (WSFC) with SQL Server.
William Durkin A Gourmet Menu of SQL Server High Availability Options.
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.
Architecting Availability Groups An analysis of Microsoft SQL Server Always-On Availability Group architectures 1.
Architecting Enterprise Workloads on AWS Mike Pfeiffer.
Turgay Sahtiyan Istanbul, Turkey
Sponsors.
Welcome to SharePoint Saturday Houston
ALWAYSON AVAILABILITY GROUPS
Navigating the options for Data Redundancy
Disaster Recovery Where to Begin
AlwaysOn Mirroring, Clustering
by Microsoft Cluster MVP David Bermingham
Always On Multi-Site Patterns
Always on HA SQL Server Always ON feature is the new comprehensive high availability and disaster recovery solution which increases application availability.
Contained DB? Did it do something wrong?
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
SQL Server High Availability Amit Vaid.
Introduction to Clustering
Disaster Recovery Where to Begin
Always On : Multi-site patterns
What’s new in SQL Server 2016 Availability Groups
Planning High Availability and Disaster Recovery
Always On : Multi-site patterns
Example of a page header
SYED SAJID WASIM SQL SERVER ALWAYS ON Step by Step.
AlwaysOn Availability Groups
High Availability/Disaster Recovery Solution
Top 5 TIPS TO KEEP Always on AGs humming and users happy
Distributed Availability Groups
04 | Always On High Availability
Distributed Availability Groups
Using Distributed AGs for Your Migrations
SQL AlwaysOn Availability Groups
Designing Database Solutions for SQL Server
Presentation transcript:

ALWAYSON AVAILABILITY GROUPS Replicas, Listeners & Quorums, Oh My! Kevin Howell SQL Saturday #517 Philadelphia, June 2016

ALL ABOUT ME Kevin Howell 3 Kids Cubmaster & Wrestling Coach 15 Years Developer & DBA Joined Microsoft ® in March Website: & 1 Wife

AGENDA Basics WHY? Terminology Modes Requirements Versions Good Stuff Environment Setup Availability Group Setup Failover Demo Details, Details… 2016 Improvements Keys to Success Questions

WHY?

WHY AGs? High Availability: Minimize disruption of service via hardware solution Disaster Recovery: Ability to reestablish services after an unplanned hardware outage Shared Goal: Ensure Data Integrity is maintained

Rolling Upgrades WHY? 2014 Active Primary Passive Secondary 2016 Fail Over Active Primary Passive Secondary Steps 1)Stop Synchronizing 2)Upgrade Secondary 3)Failover to Secondary 4)Upgrade Primary 5)Restart Synchronization 6)Failover to Initial Primary 7)Restart Synchronization

TERMINOLOGY Window Server Failover Cluster Group of independent servers that work together to maintain availability of services Windows Server Failover Cluster Availability Group Container for a set of databases that failover together Instance 1Instance 2 Availability Group Listener Primary Replica Secondary Replica Primary Replica Makes databases available for read/write connections and sends transaction logs to secondary replicas Secondary Replica Maintains a copy of availability databases. Serves as a failover target. Allows Read- Only access and Backups Listener Virtual name to direct incoming database traffic to the primary replica or read-only secondary

A STEP FURTHER… SQL 2016 supports 8 secondary replicas (up to 2 synchronous commit)

JUST ONE MORE STEP… Symmetrical Hardware, but not necessary

MORE TERMINOLOGY Quoroum – collector of votes among nodes within the Availability Group to determine if state is healthy. Majority of votes wins Witness (File Share or Disk) – needed in cases where there are an even number of nodes in Availability Group for tie-breaker

DEMO Quorum & Witness in Azure Lab Windows Server VM (Failover Cluster Manager)

AVAILABILITY GROUP MODES Asynchronous Commit Mode: Primary commits without waiting for secondary verification of a hardened log Only Manual failovers are available with Asychronous MINIMAL TRANSACTIONAL LATENCY, POSSIBLE LOSS OF DATA Synchronous Commit Mode: Prior to transaction commit, secondary must confirm the log has been hardened Both Manual & Automatic failovers are available with Synchronous COMMITTED TRANSACTIONS ARE FULLY PROTECTED, INCREASED TRANSACTAIONAL LATENCY

REQUIREMENTS Window Server 2012 (For SQL 2016) Windows Server 2008 (For SQL 2014 & 2012) SQL Server Licenses 2016 Enterprise (Full Availability Groups) 2016 Standard (Basic Availability Groups) 2014 Enterprise 2012 Enterprise Windows Server Failover Cluster

AVAILABILITY GROUP VERSIONS SQL 2016 Enterprise SQL 2016 Standard SQL 2014SQL 2012 Secondary Replicas8184 Synchronous Secondary Replicas2122 Automatic Failover Targets3N/A11 AD Domain RequiredNo Yes DTC SupportYes No Group Managed Service AccountYes No Direct Seeding of ReplicasYes No

NOW THE GOOD STUFF… DEMO Azure Marketplace – Availability Group Cluster Environment Setup Availability Group Setup/Deployment Availability Group Management SSMS

SQL 2016 IMPROVEMENTS Log Transport Performance Development focused on matching PCIE Class Storage Streamlined Pipeline for Data Transport to Replicas Load Balancing among Read-Only Secondaries Read traffic spread across secondaries Standard Edition Basic Availability Groups Replacement for Database Mirroring 2 node AG (Primary + 1 Secondary), 1 Database

SQL 2016 IMPROVEMENTS Domain Independent Availability Groups Cross Domain/No Domain Options (think consolidation) Database Level Failover Trigger (instead of Instance Level) DTC Support with Availability Groups 3 Failover Available Replicas Group Managed Service Accounts (gMSA) Direct Seeding of Replicas (no backup onto secondaries)

KEYS TO SUCCESS Plan out your topology & failover processes Ensure infrastructure can support bandwidth for log transport Determine your geo-replication sensitivity Explore hybrid solution (on-prem/cloud) Consider Read-only secondaries for your reporting purposes

QUESTIONS?

CONTACT INFORMATION Website:

RESOURCES group/ group/ Availability-Groups-Enhancements Availability-Groups-Enhancements need-a-file-share-witness-or-no/ need-a-file-share-witness-or-no/ template-updated-with-internal-listeners-and-optimized-performance/ template-updated-with-internal-listeners-and-optimized-performance/