Designing Database Solutions for SQL Server

Slides:



Advertisements
Similar presentations
SQL Server AlwaysOn: Active Secondaries Luis Vargas Program Manager Microsoft Corporation DBI312.
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.
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.
SQL Server 2012 Always On Premier Field Engineer Microsoft Corporation Lisa Gardner
SQL Server AlwaysOn: Active Secondaries Luis Vargas Program Manager Microsoft Corporation DBI312.
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.
High-Availability Methods Lesson 25. Skills Matrix.
Architecting Availability Groups
SQL-Server 2012 Always On.
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.
Rajib Kundu Agenda Definitions Failover Cluster Database Snapshots Log shipping Database Mirroring.
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.
Module 10: Maintaining High-Availability. Overview Introduction to Availability Increasing Availability Using Failover Clustering Standby Servers and.
Speaker Name 00/00/2013. Solution Requirements.
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.
#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.
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.
Level 400 SQL Server 2012 AlwaysOn Deep Dive Christian Bolton, Coeo Ltd.
High Availability & Disaster Recovery with SQL Server AlwaysOn Availability Groups Turgay Sahtiyan Microsoft – Senior SQL Server PFE
Introduction to Clustering
Turgay Sahtiyan Istanbul, Turkey
Sponsors.
SQL Server AlwaysOn Availability Groups DrillDown
AlwaysON Availability groups
ALWAYSON AVAILABILITY GROUPS
Navigating the options for Data Redundancy
Disaster Recovery Where to Begin
AlwaysOn Mirroring, Clustering
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
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.
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
Introduction to Clustering
Disaster Recovery Where to Begin
Planning High Availability and Disaster Recovery
Example of a page header
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
Presentation transcript:

Designing Database Solutions for SQL Server Christian Bolton | Technical Director, Coeo Graeme Malcolm | Microsoft

Course Topics Designing Database Solutions for SQL Server 01 | Managing a SQL Server Environment 02 | Designing Database Security 03 | Designing a Backup & Recovery Solution 04 | Designing a High-Availability Solution 05 | Troubleshooting & Maintaining a database

Christian Bolton | Technical Director, Coeo Graeme Malcolm | Microsoft 04 | Designing a High-Availability Solution Christian Bolton | Technical Director, Coeo Graeme Malcolm | Microsoft

Module Overview Log Shipping Windows Server Failover Clustering AlwaysOn Failover Clustering AlwaysOn Availability Groups Advanced deployment scenarios

Log Shipping Log shipping is a three-phase process Backup log on primary server Copy log to secondary server Restore log on secondary server Secondary servers can be readable but be aware of caveats Manual failover to secondary servers

Windows Server Failover Clustering SQL Server AlwaysOn technologies rely on Windows Server Failover Clustering A Windows Server Failover Cluster includes Cluster nodes Cluster resources Cluster roles Failover Cluster Instance Each node maintains a copy of the cluster configuration During failover and failback, ownership of resources passes from one node to another Windows Cluster

Quorum Quorum defines the minimum number of votes required for the cluster to remain online More than 50% must be counted to achieve quorum Quorum configurations Node majority Node and disk majority Node and file share majority Disk only

AlwaysOn Failover Clustering SQL Server is a cluster-aware application Instance-level protection – databases, logins, Scheduled Jobs Transparent to end-user applications Requires shared storage SQL Server installations are Failover Cluster Instances (FCI)

Enhancements to AlwaysOn Failover Clustering Enhancements in SQL Server 2012 Detailed health monitoring Flexible failover policies Improved troubleshooting Support for multi-subnet clustering Local tempdb Enhancements in SQL Server 2014 Support for Cluster Shared Volumes

Enhancements to AlwaysOn Failover Clustering The sp_server_diagnostics stored procedure provides health monitoring and flexible failover policies 5 – Failover/restart on any qualified failure conditions 4 – Failover/restart on moderate SQL Server errors 3 – Failover/restart on critical SQL Server errors 2 – Failover/restart on server unresponsive 1 – Failover/restart on server down 0 – No automatic failover

AlwaysOn Availability Groups Listener Clustered Network Name Clustered IP Address ERP CRM Availability Group ERP CRM Availability Group ERP CRM Availability Group Asynchronous Synchronous Windows Cluster Node

AlwaysOn Availability Groups Synchronous-commit mode Primary replica send transaction log changes to a secondary replica Secondary replica applies the changes in the log to its copy of the database and sends an acknowledgement to the primary replica Primary replica commits the transaction

AlwaysOn Availability Groups Asynchronous-commit mode Primary replica send transaction log changes to a secondary replica and then commits the transaction Secondary replica applies the changes in the log to its copy of the database

AlwaysOn Availability Groups Offload workload with Active Secondary Replicas Near-real-time reporting from replicas Read-only routing to readable replicas Offload Full and Log Backups to replicas No differential and copy_only full backups

AlwaysOn Availability Groups Failover options Automatic failover No data loss Planned manual failover Forced manual failover Possible data loss Use the Start Failover Wizard to initiate manual failover Don’t use Failover Cluster Manager to initiate failover

AlwaysOn Technologies

Solution Example 1 Existing architecture FCI for HA Failover Clustering SAN User and Application Access Production Environment Production Server Passive Node MPLS Disaster Recovery Environment DR Server Log Shipping Existing architecture FCI for HA Log Shipping for DR Requirement to test DR every 6 months

Solution Example 1 New architecture AG with auto-failover for HA Synchronous Replica User and Application Access Production Environment Primary Replicas Sync Replicas MPLS Disaster Recovery Environment DR Server Async Replicas Asynchronous Replica Automatic Failover New architecture AG with auto-failover for HA Async replicas for DR

Solution Example 1 DR can be tested easily Synchronous Replica User and Application Access Production Environment Primary Replicas Sync Replicas MPLS Disaster Recovery Environment DR Server Async Replicas Asynchronous Replica Automatic Failover DR can be tested easily Make async replicas sync and initiate failover Configure new auto- failover partner and remote async Solution can run from DR and still have DR capabilities

Peer-to-Peer Replication Solution Example 2 Failover Clustering SAN Website Users Web Production Environment (Hosted) Web Production Server Passive Node MPLS HQ Production Environment (On-Premises) HQ Production Server Peer-to-Peer Replication User and Applications Scale out solution with P2P replication FCIs for HA Requirement to simplify by removing multi-site write capability Still need the data in HQ for reporting

Async Replica for Reporting Solution Example 2 Synchronous Replica User, Web, and Application Access Web Production Environment (Hosted) Primary Replicas Sync Replicas MPLS HQ Production Environment (On-Premises) Data Warehouse Asynchronous Replica Automatic Failover Async Replica for Reporting SSIS File Share Witness AG with autofailover for HA Async replica back to HQ for reporting Node vote for async replica removed File share witness added

Solution Example 3 Failover Cluster Instances for HA SAN replication Databases attached during DR Requirement to remove dependency on SAN replication due to cost Failover Clustering SAN Production SQL Server SAN Replication DC 2 DC 1 Production Site (10.0.0.0 Network) Disaster Recovery Site (11.0.0.0 Network)

Availability Group Replica Solution Example 3 Failover Cluster Instances for HA Asymmetric storage Asynchronous Availability Group Replica for DR File share witness added Votes removed from DR Production Site (10.0.0.0 Network) DC 1 SAN Production SQL Server File Share Witness Availability Group Replica Failover Clustering Disaster Recovery Site (11.0.0.0 Network) DC 2 SAN Production SQL Server File Share Witness

Designing a High-Availability Solution Summary Log Shipping Windows Server Failover Clustering AlwaysOn Failover Clustering AlwaysOn Availability Groups Advanced deployment scenarios