ALWAYSON AVAILABILITY GROUPS

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
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.
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.
Architecting Availability Groups
SQL-Server 2012 Always On.
MODIFY THIS SLIDE FOR ACTUAL PRESENTER, DELETE THIS BAR AFTER MODIFICATION.
SQLCAT: SQL Server 2012 AlwaysOn Lessons Learned from Early Customer Deployments Sanjay Mishra Program Manager Microsoft Corporation DBI360.
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.
SQL Server 2012: AlwaysOn HA and DR Design Patterns, and Lessons Learned from Early Customer Deployments Sanjay Mishra SQLCAT.
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.
SQL 2012 – Always On Deep Dive Bob Duffy Database Architect Prodata SQL Centre of Excellence 11 th April 2013.
ALWAYSON AVAILABILITY GROUPS Replicas, Listeners & Quorums, Oh My! Kevin Howell SQL Saturday #517 Philadelphia, June 2016.
Turgay Sahtiyan Istanbul, Turkey
Sponsors.
Business Continuity for Virtual SQL Servers
Database Mirroring with SQL Server
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
Introduction to Clustering
Disaster Recovery Where to Begin
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 & 1 Wife 15 Years Developer & DBA Joined Microsoft® in March 2016 Email: kevin@sqlpsi.com Website: www.sqlpsi.com & 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: Disaster Recovery: 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

Why? Rolling Upgrades Passive Secondary Active Primary Steps Stop Synchronizing Upgrade Secondary Failover to Secondary Upgrade Primary Restart Synchronization Failover to Initial Primary Fail Over 2016 2014 2016 2014 Passive Secondary Active Primary Passive Secondary Active Primary

Windows Server Failover Cluster Terminology Windows Server Failover Cluster Instance 1 Instance 2 Window Server Failover Cluster Group of independent servers that work together to maintain availability of services Listener Virtual name to direct incoming database traffic to the primary replica or read-only secondary Availability Group Container for a set of databases that failover together 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 Availability Group Primary Replica Secondary Replica Listener

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 2014 SQL 2012 Secondary Replicas 8 1 4 Synchronous Secondary Replicas 2 Automatic Failover Targets 3 N/A AD Domain Required No Yes DTC Support Group Managed Service Account Direct Seeding of Replicas

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 Email: kevin@sqlpsi.com Website: www.sqlpsi.com/presentations.html

Resources http://www.tech-coffee.net/sql-server-2012-2014-alwayson-availability- group/ https://www.brentozar.com/sql/sql-server-alwayson-availability-groups/ https://channel9.msdn.com/Events/DataDriven/SQLServer2016/Always-On- Availability-Groups-Enhancements https://popbi.wordpress.com/2014/06/26/always-on-availability-groups-do-i- need-a-file-share-witness-or-no/ https://azure.microsoft.com/en-us/blog/sql-server-alwayson-cluster- template-updated-with-internal-listeners-and-optimized-performance/