High Availability/Disaster Recovery Solution

Slides:



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

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
Keith Burns Microsoft UK Mission Critical Database.
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.
SQL Server 2012 Always On Premier Field Engineer Microsoft Corporation Lisa Gardner
SQL Server AlwaysOn: Active Secondaries Luis Vargas Program Manager Microsoft Corporation DBI312.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
High-Availability Methods Lesson 25. Skills Matrix.
Architecting Availability Groups
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.
Rajib Kundu Agenda Definitions Failover Cluster Database Snapshots Log shipping Database Mirroring.
SQLintersection Session SQL37 SQL Server 2012 Availability Groups Aaron Bertrand
SQLCAT: SQL Server HA and DR Design Patterns, Architectures, and Best Practices Using Microsoft SQL Server 2012 AlwaysOn Sanjay Mishra Program Manager.
Module 10: Maintaining High-Availability. Overview Introduction to Availability Increasing Availability Using Failover Clustering Standby Servers and.
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.
High Availability in DB2 Nishant Sinha
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.
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.
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.
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.
Sql Server Architecture for World Domination Tristan Wilson.
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.
Are You High? Can You Recover? Robert Douglas SQL Saturday #468, Sydney 27 th February 2016.
Architecting Availability Groups An analysis of Microsoft SQL Server Always-On Availability Group architectures 1.
High Availability & Disaster Recovery with SQL Server AlwaysOn Availability Groups Turgay Sahtiyan Microsoft – Senior SQL Server PFE
ALWAYSON AVAILABILITY GROUPS Replicas, Listeners & Quorums, Oh My! Kevin Howell SQL Saturday #517 Philadelphia, June 2016.
Architecting Enterprise Workloads on AWS Mike Pfeiffer.
SQLSaturday (Silicon Valley) – Mar
Turgay Sahtiyan Istanbul, Turkey
Sponsors.
Business Continuity for Virtual SQL Servers
ALWAYSON AVAILABILITY GROUPS
Navigating the options for Data Redundancy
Disaster Recovery Where to Begin
AlwaysOn Mirroring, Clustering
Always On Availability Groups
Always on HA SQL Server Always ON feature is the new comprehensive high availability and disaster recovery solution which increases application availability.
VIDIZMO Deployment Options
Design and Implement Cloud Data Platform Solutions
Contained DB? Did it do something wrong?
SQL AlwaysOn Availability Groups
Required 9s and data protection: introduction to sql server 2012 alwayson, new high availability solution Santosh Balasubramanian Senior Program Manager.
AlwaysOn, an Early bird Overview
AlwaysOn Availability Groups 101
BRK3286 SQL Server 2016 High Availability and Disaster Recovery in private and hybrid cloud deployments Denny Cherry
SQL Server High Availability Amit Vaid.
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.
AlwaysOn Availability Groups
Distributed Availability Groups
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:

High Availability/Disaster Recovery Solution SQL 2016 AOAG’s High Availability/Disaster Recovery Solution

Why do we need another solution? The current High Availability and Disaster Recovery Solutions from Microsoft are scattered. High Availability / Disaster Recovery Solutions: Windows Failover Clustering (WSFC) Database Mirroring (DBM) Log Shipping Database Replication is not a viable HA/DR solution.

SQL Failover Clustering (WSFC) A failover cluster is a combination of two or more servers(nodes) connected to a shared storage. Active Node 1 Windows Cluster Active client DataFiles Shared Storage App Server Basic Functionality of a WSFC Node 2

SQL Failover Clustering (WSFC) cont. Active Node 1 Windows Cluster Active client DataFiles Shared Storage App Server Node 2

SQL Failover Clustering Issues Protects against hardware loss and not disk loss. Passive node is not used thus not achieving maximum utilization of resources. Can not read data/backup/etc from Non-Active node

Database Mirroring Primary DB Primary SQL Server Client App Server Mirrored SQL Server Mirrored DB Primary DB

Database Mirroring Issues Can have only one mirror. No multiple copies of data. Mirrored database is not readable, though snapshots can be taken from the mirrored database. Need to be setup per database. Per database failover, no automatic failover of multiple databases. No sql logins/jobs are replicated to the mirrored instance. Either synchronous or asynchronous mirroring is supported but not both.

Log Shipping Issues Cannot have synchronized databases. To be setup per database. In case of failover, the connection string needs to change to point it to the failover server. No logins/jobs are replicated to the mirrored instance.

What if we had all these features in a single solution? Protects against hardware loss. Protects against disk loss. Multiple copies of replicated databases. Readable mirrored databases thus maximizing resources. Multiple database failover at once. No need to change the connection string in case of failover, you can use the same abstract name. Failover can occur across datacenters without extra effort.

Always On Availability Groups Introducing….. Always On Availability Groups

Modes of SQL2016 AlwaysOn 1. AlwaysOn Failover Clustering Instance(FCI). 2. AlwaysOn Availability Groups. Today we will discuss AlwaysOn Availability Groups.

SQL 2016 AOAG Requirements: Needs to have Windows failover cluster**. Supported in Enterprise Edition Only (8 Nodes/2 Synchronous) Install individual SQL servers on each machines, not cluster aware. All servers should can be in a same/different windows cluster.** Matching hardware not required. Database should have Full Recovery model with at least one full successful backup. All nodes must be in the same AD domain**. **- Changed in SQL 2016 onwards

AlwaysOn Vocabulary Availability Group (AG): A set of databases working together in a group. Availability Replicas: A set of Mirrored databases in a availability group. Availability Group Listener: Virtual network name.

Demo Architecture Local Data Center(Sacramento) DR Site SACTO1 SACTO2 Synchronous DR Site Client App Server Asynchronous NEWYORK1

SQL 2016 AlwaysOn Demo Setup VM1 VM2 VM3 VM4 Host Name SQLDC SACTO1 SACTO2 NEWYORK1 OS W2k16 Server W2K16 Server IP Address 192.168.60.1 192.168.60.2 192.168.60.3 192.168.60.4 Subnet Mask 255.255.255.0 Domain: SQLDemos.local Cluster Name: DemoCluster(192.168.60.5) Availability Group: DemoAG Listener: DemoListener – 192.168.60.10

Demo Setup a Cluster Install SQL 2016. Install SSMS 17.0 Setup an AG, synchronous and asynchronous Replica. Readable secondary DBCC on secondary Backup on secondary Synchronous Failover Asynchronous Failover Listener Read-only routing

SQL AlwaysOn Features Combines the best features of mirroring and clustering Can have up to 3 mirrored synchronous databases - automatic failover Can have up to 7 mirrored asynchronous databases - manual failover Can have read-only secondary databases Can have one or more databases in an availability group so in case of a failover, all databases failover at once SQL Logins can be failed over using contained databases

SQL AOAG features contd.. Backups can occur on the replica databases DBCC commands can be run on secondary Setup and Failover can be scripted using Windows PowerShell

Some disadvantages Needs Enterprise Edition of SQL Needs Windows Cluster. Need double the storage compared to WSFC as there is no shared storage. If replica is used, you need to take care of extra licensing System databases cannot be replicated- users(contained databases) and jobs are not part of replication Differential backups are not supported on secondary

What is available for Standard Edition Basic Availability Group(BAG) Replaces database mirroring (Deprecated). Only one database per BAG. No readable secondary. You are responsible for failing over multiple databases in case of failover. Synchronous only.

Always On Availability Groups in SQL 2016 Failover can happen on database health Distributed Transactions supported starting in SQL 2016 3 synchronous Replicas and possible failover targets. Load balancing across readable secondary's. Redo Rate improvement. Distributed Availability Groups

Distributed Availability Group in SQL 2016

Questions?