AlwaysOn, an Early bird Overview

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)
SQL Server AlwaysOn.
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.
Implementing Failover Clustering with Hyper-V
SharePoint Business Continuity Management with SQL Server AlwaysOn
Architecting Availability Groups
SQL-Server 2012 Always On.
IT Pro Day SQL Server 2012 AllwaysOn Stephan Hurni Microsoft V-TSP Principal Consultant, Trivadis AG
MODIFY THIS SLIDE FOR ACTUAL PRESENTER, DELETE THIS BAR AFTER MODIFICATION.
Data platform market will be 36.2B by 2012Database key in hosted scenarios.
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
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.
Roger Technology Solution Professional DataPlatform Microsoft Corporation SQL Server 2012AlwaysOn Availability Groups.
Speaker Name 00/00/2013. Solution Requirements.
System Center Lesson 4: Overview of System Center 2012 Components System Center 2012 Private Cloud Components VMM Overview App Controller Overview.
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
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.
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.
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.
High Availability & Disaster Recovery with SQL Server AlwaysOn Availability Groups Turgay Sahtiyan Microsoft – Senior SQL Server PFE
SQLSaturday (Silicon Valley) – Mar
Dev and Test Solution reference architecture.
Turgay Sahtiyan Istanbul, Turkey
Sponsors.
SQL Server AlwaysOn Availability Groups DrillDown
AlwaysON Availability groups
Dev and Test Solution reference architecture.
Dev and Test Solution reference architecture.
Disaster Recovery Where to Begin
AlwaysOn Mirroring, Clustering
AlwaysOn Readable Secondary
Dev and Test Solution reference architecture.
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Always On Availability Groups
Dev and Test Solution reference architecture.
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.
Mission Critical Confidence SQL 2012/2014 AlwaysOn
Disaster Recovery Where to Begin
Denali Always On for Mission Critical Systems
What’s new in SQL Server 2016 Availability Groups
SYED SAJID WASIM SQL SERVER ALWAYS ON Step by Step.
SQL Server on Linux: High Availability And Disaster Recovery
Dev and Test Solution reference architecture.
AlwaysOn Availability Groups
High Availability/Disaster Recovery Solution
Distributed Availability Groups
Windows Azure Hybrid Architectures and Patterns
04 | Always On High Availability
Designing Database Solutions for SQL Server
Presentation transcript:

AlwaysOn, an Early bird Overview Tobias Ternström Senior Program Manager Lead, SQL Engine

Our organization SQL Server RDBMS Team Applications and Components External Apps Excel Project Server Content Management Server MOM MS CRM Outlook Visual Studio Dynamics LCS Commerce Server Oslo Exchange Biztalk Server Sharepoint DPM SQL Replication SQL Management Tools SQL Reporting Services SQL Analysis Services SQL Integration Services SQL Server RDBMS Team Connectivity MDAC ODBC, OLE-DB SNAC ODBC, OLE-DB EDM Ado.Net SQL Client JDBC App Platform T-SQL Language, Data-Tier Application Model, Types, Libraries SQL Engine Query Processor Query Opimization & Execution Storage & Admin Storage Engine, DR etc. High Availability Mirroring, Clustering, etc.

Failover Cluster Instances AlwaysOn Solution Availability Groups Failover Cluster Instances Non-Shared Storage Database Level HA Protection Active Secondaries Shared Storage Instance Level HA Protection

Common Setup Today Database Mirroring Log Shipping

AlwaysOn Availability Groups AlwaysOn Availability Groups is a new feature that enhances and combines database mirroring and log shipping capabilities Flexible Integrated Efficient Multi-database failover Multiple secondaries Total of 4 secondaries 2 synchronous secondaries 1 automatic failover pair Synchronous and asynchronous data movement Built in compression and encryption Automatic and manual failover Flexible failover policy Automatic Page Repair Application failover using virtual name Configuration Wizard Dashboard System Center Integration Rich diagnostic infrastructure Replication publisher failover Supported with Contained Database, FileStream, FileTable, Service Broker Active Secondary Readable Secondary Backup from Secondary Automation using power-shell

Application Failover Primary Secondary Secondary Primary Secondary Availability Groups Listener allow applications to failover seamlessly to any secondary Application reconnects using a virtual name after a failover to a secondary ServerA ServerB ServerC HR DB HR DB HR DB AG_HR HR_VNN Primary Secondary Primary Secondary Secondary Application retry during failover Connect to new primary once failover is complete and the listener is online -server HR_Listener;-catalog HRDB

Availability Group Architecture Windows Server Failover Cluster Database Active Log Synchronization Database Active Log Synchronization Availability Group uses Windows Server Failover Cluster (WSFC) for WSFC Common Microsoft Availability Platform SQL Server AlwaysOn Failover cluster instances SQL Server AlwaysOn Availability Group Microsoft Hyper-V Microsoft Exchange Built-in WSFC workloads (e.g. file share, NLB, etc) and third party workloads Inter-node health detection, Failover coordination, Primary health detection, Distributed data store for settings and state, Distributed change notifications © 2010 Microsoft Corporation.   Microsoft Materials - Confidential.  All rights reserved.

Windows Server Pre-Reqs Windows Server 2008 and above KB 976097 Supports SQL Server Failover Cluster Instances with AlwaysOn Availability Groups KB 2494036 Supports configuring optimal quorum with non-automatic failover targets All nodes should be in the same AD domain To create WFSC cluster user running creation must have: Domain account Administrator on all machines Have Create Computer objects and Read All Properties rights in AD Detailed Article: http://technet.microsoft.com/en-us/library/cc731002(WS.10).aspx

Quorum Configuration Quorum: need majority of votes to operate and avoid split brain Two-Steps process: Select nodes to vote (KB 2494036) 1 vote if node’s that host a replica that is currently: Primary  (if primary is an FCI include all possible owner nodes for that FCI) An auto failover target if the primary is also configured for auto failover 0 votes for rest of nodes Select the quorum type: Odd number of votes, use “Node Majority” Even number of votes, add a witness by either: Adding an additional witness node and use “Node Majority” Using “Node and File Share Majority” with a protected file share (blog with details) Re-evaluate and adjust quorum after manual failover outside automatic target

AlwaysOn Active Secondary IT efficiency and cost-effectiveness is critical for businesses Idle hardware is not an option anymore AlwaysOn Active Secondary enables efficient utilization of high availability hardware resources thereby improving overall IT efficiency Active Secondary can be utilized for Balancing read-only workloads Offloading Backup Operations

Active Secondary – Making Secondary Readable Primary Failover Secondary SQLservr.exe SQLservr.exe Secondary Primary InstanceA InstanceB DB2 DB1 DB2 DB1 Reports Reports Readable secondary allow offloading read queries to secondary Close to real-time data, latency of log synchronization impact data freshness

Readabale Secondary – Data Latency DB1 Log Capture Log Capture Network DB1 Primary Log Recieve Secondary Log Pool Commit Redo Thread Log Cache Log Cache Redo Pages Log Flush Log Hardened DB1 Log DB1 Data Acknowledge Commit DB1 Log DB1 Data Secondary read is always behind primary during transaction activity Changes for a transaction are visible on the readable secondary only after REDO thread processes the COMMIT log record. No dirty reads are allowed on RS.

Read-Only Client Connectivity Read-Only client connection behavior determined by Availability Replica Option + ApplicationIntent Property ApplicationIntent is a connection property Replica option determines whether a replica is enabled for read access when in a secondary role Read-Only Routing enables redirection of client connection to new secondary on role change Enable seamless redirection of application connection across replicas without manual intervention

Active Secondary: Enabling Backup On Secondary R/W workload Primary Backups Secondary Backups can be done on any replica of a database Backups on primary replica still works Log backups done on all replicas form a single log chain Database Recovery Advisor makes restores simple

New Topology Reports Backups A Synchronous Data Movement Asynchcronous Data Movement

Additional Topology Examples AlwaysOn provides the flexibility of different HA configurations Shared Storage, regional and geo secondaries A A Direct attached storage local, regional and geo secondaries Synchronous Data Movement Asynchcronous Data Movement

For attending this session and PASS SQLRally Nordic 2011, Stockholm THANK YOU! For attending this session and PASS SQLRally Nordic 2011, Stockholm