What HADR Option(s) Are Right For You?. Where’s The AlwaysOn?

Slides:



Advertisements
Similar presentations
SharePoint 2013 & SQL Server 2012 Availability Groups The Rough Guide.
Advertisements

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.
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.
SQL Server 2012 Always On Premier Field Engineer Microsoft Corporation Lisa Gardner
National Manager Database Services
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Implementing Database Snapshot & Database Mirroring in SQL Server 2005 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft.
High-Availability Methods Lesson 25. Skills Matrix.
Architecting Availability Groups
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
Maintaining a Mirrored Database Tips and Tricks by Paul G. Hiles.
MODIFY THIS SLIDE FOR ACTUAL PRESENTER, DELETE THIS BAR AFTER MODIFICATION.
SQLintersection SQL37 SQL Server 2012 Availability Groups: High Availability for Your Most Important Data Aaron Bertrand,
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
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.
Overview of high availability in Microsoft SQL Server Szymon Wójcik.
7. Replication & HA Objectives –Understand Replication and HA Contents –Standby server –Failover clustering –Virtual server –Cluster –Replication Practicals.
Alwayson Availability Groups
Enhancing Scalability and Availability of the Microsoft Application Platform Damir Bersinic Ruth Morton IT Pro Advisor Microsoft Canada
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.
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.
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.
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.
Microsoft Connect /23/ :39 PM
Turgay Sahtiyan Istanbul, Turkey
Sponsors.
Database Mirroring with SQL Server
ALWAYSON AVAILABILITY GROUPS
Secrets to Fast, Easy High Availability for SQL Server in AWS
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.
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 Availability Groups 101
SQL Server High Availability Amit Vaid.
Disaster Recovery Where to Begin
How to keep your database servers out of the news Matt Gordon
SYED SAJID WASIM SQL SERVER ALWAYS ON Step by Step.
SQL Server on Linux: High Availability And Disaster Recovery
AlwaysOn Availability Groups
High Availability/Disaster Recovery Solution
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.
SQL AlwaysOn Availability Groups
Designing Database Solutions for SQL Server
Presentation transcript:

What HADR Option(s) Are Right For You?

Where’s The AlwaysOn?

Levels of Protection InstanceDatabaseObject Availability Groups  FCI Log Shipping  Mirroring  Replication (Merge)  Replication (P2P) 

Options Per Version /R Availability Groups  FCI Log Shipping Mirroring  Replication (Merge) Replication (P2P) 

SQL 2000 Options By Edition WorkgroupStandardEnterprise FCI*  Log Shipping Replication (Merge) * 2 nodes only in Standard

SQL 2005 Options By Edition WorkgroupStandardEnterprise FCI*  Log Shipping Mirroring**  Replication (Merge) Replication (P2P)  * 2 nodes only in Standard ** High safety (synchronous) only in Standard

SQL 2008 / 2008 R2 Options By Edition WebStandardEnterpriseDatacenter FCI*  Log Shipping Mirroring**  Replication (Merge)*** Replication (P2P)  * 2 nodes only in Standard ** High safety (synchronous) only in Standard *** Web only supported as subscriber

SQL 2012 / 2014 Options By Edition WebStandardBIEnterprise Availability Groups****  FCI*  Log Shipping Mirroring**  Replication (Merge)*** Replication (P2P)  * 2 nodes only in Standard/BI ** High safety (synchronous) only in Standard/BI *** Web only supported as subscriber **** Up to 4 secondary replicas in secondary replicas in 2014

Failover Cluster Instances (FCI)  You might also might know it as Clustering  Common Terms:  Active/Active or Active/Passive (not correct use N or N+1)  MSCS (Microsoft Clustering Services) – Windows NT4.0 to 2003  WSFC (Windows Server Failover Cluster) – Windows 2008 and up  Full copy of SQL installed on all servers (nodes)  Transparent client redirection on failover*  Jobs, logins, linked servers, etc… also failover  Some special hardware requirements  Shared storage or 3 rd party hardware solution  There are single points of failure

Log Shipping  Not HA technology, but critical for business continuity  Scheduled backups of transaction logs get moved and restored to other servers  Can delay applying of logs on other servers  Perfect for those “OH moments  Possible to use built in routines, or roll your own  Great for remote DR  Limited to databases only.  Logins, jobs, connection strings, etc.. Have to be managed  Client redirection manual or via DNS

Mirroring  Deprecated, but doesn’t look like it’s going away any time soon  May not live past SQL 2016 with AG support in Std Edition  Two different modes  High Safety (2 phase commit)  High Performance (Enterprise Edition only)  Provides automatic failover (with Witness)  Transparent client redirection (use Failover Partner in conn string)  Single database in mirror  Have manage failover for multiple databases  Have to manually manage logins, jobs, linked servers, etc…  Can only have a single mirror  Has no domain requirements

Merge Replication  Object level, so very restrictive  Requires conflict resolution which can impact performance  Can develop custom resolvers  Needs a GUID on each row, impacts storage  Does not scale well to high transaction levels  Not a good choice

Peer to Peer Replication  Object level, so very restrictive  Need to very carefully manage ranges at each location for peer writes to prevent serious database issues  Using multi-site, multi-write can allow for local scale  Management can be very complicated

Availability Groups  Built on WSFC (to manage quorum) so requires AD  Sends transactions over to secondary replicas  Synchronous mode (allows for automatic failover)  Asynchronous mode (great for offsite DR)  Allows reading from secondary replicas  Incurs a 16-byte per row overhead on Insert/Update  4 secondary replicas in 2012, 8 in 2014  Multiple databases allowed in an AG  Requires manual management of logins, jobs, linked servers, etc…

Availability Groups Are The New Big Shiny  They can be a (reasonably) easy way to get HA going without specialized hardware, but…  Multiply the storage costs, as you’ll be paying per server  Reading off a secondary? That’ll cost you  Multi-subnet configuration can lead to management nightmares  SQLPS, SSMS do not support the MultiSubnetFailover connection option  Sync commit mode can inhibit performance  No cross database or DTC transactions (coming in SQL 2016!)  Will only work within a single domain and WSFC  Lose the WSFC or AD and lose the AG  Do NOT have AGs as your sole HADR option!

HADR With AGs and…?  First option… Log Shipping  Provides ability to delay logs application to secondary server  Secondary can reside outside the WSFC  Second option… FCI  Provides initial instance level protection  Cannot automatically failover to another node in AG  Third option… Log shipping & FCI  Best of both worlds, but…  No automatic failover within the AG

Questions?