MODIFY THIS SLIDE FOR ACTUAL PRESENTER, DELETE THIS BAR AFTER MODIFICATION.

Slides:



Advertisements
Similar presentations
SQL Server AlwaysOn: Active Secondaries Luis Vargas Program Manager Microsoft Corporation DBI312.
Advertisements

Implementing SQLServer AlwaysON Sarabpreet Singh Anand SQL Server – MVP SQLServerGeeks.com (VP)
Mecanismos de alta disponibilidad con Microsoft SQL Server 2008 Por: ISC Lenin López Fernández de Lara.
SQL Server AlwaysOn.
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
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
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.
IT Pro Day SQL Server 2012 AllwaysOn Stephan Hurni Microsoft V-TSP Principal Consultant, Trivadis AG
SQLintersection Session SQL37 SQL Server 2012 Availability Groups Aaron Bertrand
DBI Meets mission critical high availability SLA Integrated Efficient Flexible.
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.
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
DBI302 AlwaysOn Availability Groups for database protection AlwaysOn Availability Groups for database protection AlwaysOn Failover Cluster Instances.
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 |
Data Disaster Recovery Planning Greg Fibiger 1/7/2016.
Warwick Rudd – Henry Rooney – How Available is SQL Server 2016? DAT33 6.
Your Data Any Place, Any Time Always On Technologies.
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.
AlwaysOn Introduction in Denali November 27 th, 2011.
Architecting Availability Groups An analysis of Microsoft SQL Server Always-On Availability Group architectures 1.
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
SQLSaturday (Silicon Valley) – Mar
Turgay Sahtiyan Istanbul, Turkey
Sponsors.
SQL Server AlwaysOn Availability Groups DrillDown
AlwaysON Availability groups
ALWAYSON AVAILABILITY GROUPS
Disaster Recovery Where to Begin
AlwaysOn Readable Secondary
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Always On Availability Groups
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.
AlwaysOn, an Early bird Overview
Mission Critical Confidence SQL 2012/2014 AlwaysOn
Introduction to Clustering
Denali Always On for Mission Critical Systems
Planning High Availability and Disaster Recovery
SYED SAJID WASIM SQL SERVER ALWAYS ON Step by Step.
AlwaysOn Availability Groups
High Availability/Disaster Recovery Solution
Distributed Availability Groups
04 | Always On High Availability
Designing Database Solutions for SQL Server
Presentation transcript:

MODIFY THIS SLIDE FOR ACTUAL PRESENTER, DELETE THIS BAR AFTER MODIFICATION

AlwaysOn High Availability Windows Server Core Support Online Operations Enhancements Active Secondaries Scale Read-Only Applications Offload Backups Fast Application Failover Integrated Configuration Wizard Windows PowerShell Support AlwaysOn Dashboard Microsoft System Center Monitoring

1 The percentage reduction in patching varies & can be less based on the server roles that are enabled & the type of patches that are applied.

Multi-site Failover Cluster Instance (FCI) Multi-site Failover Cluster Instance (FCI) for HA & DR Shared Storage solution Instance Level HA Instance Level DR Doesn’t require database to be in FULL recovery model Availability GroupAvailability Group for HA & DR Non-Shared Storage solution (Group of) Database Level HA (Group of) Database Level DR DR replica can be Active Secondary Requires database to be in FULL recovery model Failover Cluster Instance Failover Cluster Instance for local HA & Availability Group for DR Combined Shared Storage and Non-Shared Storage Instance Level HA (Group of) Database Level DR DR replica can be Active Secondary Requires database to be in FULL recovery model

Availability Groups AlwaysOn Availability Groups is a new feature that enhances and combines database mirroring and log shipping capabilities Application failover using virtual name Configuration Wizard Dashboard System Center Integration Rich diagnostic infrastructure File-stream replication Replication publisher failover

TechAG1 2 DB 2DB2DB 2DB2DB PrimarySecondary TechListener1 Parameter Sample: - server TechListener1;- catalog HRDB Application retry during failover Primary Secondary 2DB2DB 2DB2DB ServerA ServerB ServerC Availability Groups Listener allow applications to failover seamlessly to any secondary; reconnecting through Virtual Network Name Connect to new primary once failover is complete and the listener is online

Availability Group uses WSFC for Database Active Log Synchronization Database Active Log Synchronization WSFC is a Common Microsoft Availability Platform

Note: More secondaries (total up to 4) can be added for additional resiliency or read scale out Primary Data Center Disaster Recovery Data Center Synchronous / Asynchronous PrimarySecondary Fileshare Witness Synchronous Secondary Availability Group

Multiple no data loss secondariesMultiple no data loss secondaries Better data loss protection for DR secondaries through continuous replication Faster failover to DR Faster failover to DR secondaries through virtual name failover Unified solution Simple deployment Unified dashboard Rich diagnosticsRich diagnostics Centralized management of client connection topology Multi-DB failoverMulti-DB failover New Management Dashboard

IT EFFICIENCY AND COST- EFFECTIVENESS ARE CRITICAL FOR BUSINESSES Idle hardware Idle hardware is no longer an option. ACTIVE SECONDARY USES Read-only Read-only workloads Offloading Offloading Backups Active Secondary AlwaysOn Active Secondary enables efficient utilization of high availability hardware resources to improve overall IT efficiency

SQLservr.exe offloading read queries to secondaryReadable secondary allow offloading read queries to secondary Low data latencyLow data latency automatically redirected After failover, the read applications can be automatically redirected to the new Secondary (require explicit connection request) replication scenariosNot a replacement for replication scenarios PrimarySecondaryPrimarySecondary Database Log Synchronization DB2DB1 InstanceB Reports DB2DB1 InstanceA Reports CRASH

SecondaryPrimary Log Cache Secondary read is always behind primary during transaction activity DB1 Log Log Capture Log Receive DB1 Data Redo Thread Redo Pages DB1 Log DB1 Data Log Hardened Log Flush Commit Acknowledge Commit Log Pool Log Capture

CONCURRENCY AND BLOCKING REDOREDO can get blocked by reporting workload REDOREDO thread and read workload can deadlock SOLUTION Internally map blocking isolation Internally map read workload to non blocking isolation levels (no application changes required) Read Uncommitted  Snapshot Isolation Read Committed  Snapshot Isolation Repeatable Read  Snapshot Isolation Serializable  Snapshot Isolation Ignore all locking hints REDONever choose REDO as deadlock victim PRIMARYSECONDARIES ReadRead/Write RESULT Blocking and deadlock between Reporting workload (i.e. Query) and REDO thread is eliminated No issues with DML (INSERT/DELETE/UPDATE) as it is not allowed Will incur additional cost of row versioning.

READ / WRITE WORKLOAD AG Listener Connecting using AG Listener Connection using FAILOVER_PARTNER (if connection string of existing applications can’t be changed) READ ONLY WORKLOAD ApplicationIntent=ReadOnly Connection using VNN and ApplicationIntent=ReadOnly Connection to the secondary instance directly ReadOnly Routing MULTI SUBNET FAILOVER SCENARIO: New client libraries => MultiSubnetFailover=True New client libraries => MultiSubnetFailover=True Old client libraries configure appropriate client connection timeout CLIENT PRIMARYSECONDARIES

Backups from any replica Synchronous or asynchronous secondaries Primary backups still work Adds capacity Adds capacity to primary server by off- loading backups to a replica Log backups done on all replicas form a single log chain Recovery Advisor makes restores simple RECOVERY ADVISOR

All SQL servers (including the secondary in the DR site) in the same Windows domain One Windows Server Failover Cluster spreads over the primary and DR sites All the databases must be in FULL recovery model unit of failover is at the AG level The unit of failover (for local HA, as well as DR) is at the AG level, i.e., group of databases – not the instance Consider using Contained Database for containing logins for failover For jobs and other objects outside the database, simple customization needed No delayed apply on the secondary like log shipping Removing log shipping means the regular log backup job is removed Need to re-establish periodic log backup (essential for truncating the log) AlwaysOn Dashboard System Center Operations Manager

High Availability Provide High Availability at the Instance Level Unit of failover = SQL server instance Maintain same virtual network name after failover. Clients re-connect to same name Instance restart requires database to go through recovery Disaster Recovery Provide Disaster Recovery at the Instance Level Provide Disaster Recovery protection from site failure: be it network, power, infrastructure or other site disasters. Require storage based replication technology and networking considerations Multi-subnet support: HA & DR Solution SQL Server 2008 R2 NO Create stretch Virtual-LAN (VLAN) to act as a single subnet SQL Server 2012SQL Server 2012 YES IP address OR dependency support IP address OR dependency support within SQL Server setup SQL Engine skips binding to IP’s not online on start-up

Corpnet Network Name: SqlClust subnet 1subnet 1subnet 2subnet 2 IP1: IP2: SAN Replication Local Site Remote Site OR

WHY WE ENABLE THIS? tempdb access occupies large % of SAN I/O Fast local HDD/SSD becomes standard Server configuration BENEFITS Better overall performance Cost saving IMPORTANT NOTE! Ensure that tempdb local paths are available to SQL Service on all the nodes LOCAL TEMP DB LOCAL TEMP DB (Fast disk, SSD) SECONDARIES PRIMARY

Diagnos tics Configurable options eliminate false failover Improved logging for better diagnostics

SQL Server Hands-on-Labs SQLSERV ERLAUNC H.COM