Luis Vargas Senior Program Manager Lead Microsoft.

Slides:



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

SQL Server AlwaysOn.
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
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.
Low Control | Low Maintenance Shared Lower cost Dedicated Higher cost High Control | High Maintenance Hybrid On premises Off premises SQL Server Physical.
SQL Server 2012 Always On Premier Field Engineer Microsoft Corporation Lisa Gardner
SQL Server 2014 Platform for Hybrid Cloud (Level 300 Deck)
SQL Server AlwaysOn: Active Secondaries Luis Vargas Program Manager Microsoft Corporation DBI312.
Implementing Failover Clustering with Hyper-V
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Architecting Availability Groups
SQL-Server 2012 Always On.
Get More out of SQL Server 2012 in the Microsoft Private Cloud environment Guy BowermanMadhan Arumugam DBI208.
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.
SQLintersection SQL37 SQL Server 2012 Availability Groups: High Availability for Your Most Important Data Aaron Bertrand,
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
Unified solution Easy to configure, manage, and monitor Reuse existing investments SAN/DAS environments Allow using HA hardware resources Fast seamless.
SQL Server 2014: Overview Phil ssistalk.com.
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.
Make VMs Resilient to Failures with Availability Sets.
1© Copyright 2012 EMC Corporation. All rights reserved. EMC VNX5700, EMC FAST Cache, SQL Server AlwaysOn Availability Groups Strategic Solutions Engineering.
Alwayson Availability Groups
Martin Cairney Hybrid data platform – making the most of Azure plus your on- prem kit DAT341 B.
4/26/2017 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
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 |
SQL Server 2012: AlwaysOn HA and DR Design Patterns, and Lessons Learned from Early Customer Deployments Sanjay Mishra SQLCAT.
#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.
Deploying Highly Available SQL Server in Windows Azure A Presentation and Demonstration by Microsoft Cluster MVP David Bermingham.
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.
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.
High Availability & Disaster Recovery with SQL Server AlwaysOn Availability Groups Turgay Sahtiyan Microsoft – Senior SQL Server PFE
Turgay Sahtiyan Istanbul, Turkey
Sponsors.
AlwaysON Availability groups
ALWAYSON AVAILABILITY GROUPS
Disaster Recovery Where to Begin
Always On Multi-Site Patterns
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
AlwaysOn Availability Groups 101
BRK3286 SQL Server 2016 High Availability and Disaster Recovery in private and hybrid cloud deployments Denny Cherry
Capitalize on modern technology
Architecting Availability Groups
Denali Always On for Mission Critical Systems
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
Windows Azure Hybrid Architectures and Patterns
ATC323 Architecting Highly Available, Geo-Redundant Cloud Solutions with Windows Azure Graham Elliott Asia Time Zone Director Global Technical Evangelism.
04 | Always On High Availability
Designing Database Solutions for SQL Server
Presentation transcript:

Luis Vargas Senior Program Manager Lead Microsoft

Meet Luis Vargas Senior Program Manager Lead in SQL Server –AlwaysOn (High Availability) –SQL Server on Windows Azure VMs –Hybrid scenarios (E.g. Backup/Replicas in Azure) Over 10 years of industry experience –Program Manager at Microsoft –Developer in Financial Services

Unified solution Easy to configure, manage, and monitor Reuse existing investments SAN/DAS environments Allow using HA hardware resources Fast seamless failover Detect failures reliably Able to stand multiple failures

Pre-existent Server failover Useful in consolidation scenarios Shared storage (SAN / SMB) Depends on storage redundancy Failover takes minutes Server restart Multi-node instance Passive secondary nodes Failover Cluster Instances (for servers) New Multi-database Failover DBs that app depends on Direct attached storage Log synchronization Failover takes seconds Secondary replicas are online Multiple Secondary Replicas Active Secondary Replicas Availability Groups (for groups of databases)

Multi-Site Clusters Clusters across subnets without stretch vLAN TempDB on local disk Improved performance, better SAN utilization Indirect Checkpoints More predictable DB recovery (failover) times Flexible Failover Policy Sensitivity to failures for automatic failover Failover Cluster Instances Enhancements in SQL Server 2012

Multi-database Failover Multiple secondaries (4) Sync (max 2) / Async Compression & Encryption Manual/Automatic Failover Flexible Failover Policy Automatic Page Repair Seamless App Connectivity Configuration Wizard Monitoring Dashboard Diagnostics infrastructure System Center integration Full cross-feature support Contained Databases, FileStream, FileTable, Service Broker Active Secondaries Read workloads Backups PowerShell Automation Fast Failover Integrated Efficient Availability Groups Introduced in SQL Server 2012

Sync Log Synchronization Async Log Synchronization

Box Strategy Continue momentum in the Enterprise with deliberate box innovations and new hybrid scenarios Availability Scenario Mission Provide the best in class and cost-effective HA/DR solutions for on- premise, cloud, and hybrid

Pre-existent Server failover Useful in consolidation scenarios Shared storage (SAN / SMB) Depends on storage redundancy Failover takes minutes Server restart Multi-node instance Passive secondary nodes Availability Groups (for groups of databases) New Multi-database Failover DBs that app depends on Direct attached storage Log synchronization Failover takes seconds Secondary replicas are online Multiple Secondary Replicas Active Secondary Replicas Failover Cluster Instances (for servers) Increased Number of Secondaries Increased Availability of Readable Secondaries Add Azure Replica Wizard Support for Windows Cluster Shared Volumes E n h a n c e d D i a g n o s t i c s

SQL Server 2012: Customers using (max 4) readable secondaries to offload read workloads Single technology to configure / manage Higher throughput (~7x) than Replication Customers asking for more replicas Reduce query latency in geo-distributed environments (e.g. Bwin) Scale-out read workloads (e.g. Baltika) SQL Server 2014: Max 8 secondaries Max 2 sync secondaries for high availability Secondary delay depends on network latency and I/O ~1s within data center~5s between data centers Availability Groups Increased Number of Secondaries

Minimal performance impact Commits don’t wait for async secondaries Log sender threads share log pool Added transaction latency of 8 async secondaries: <1% Scoped-out: Load balancing via connection string Read_Only connections still routed to first available readable secondary Load balancing possible via DNS round-robin or specialized load balancers (e.g. NLB) Availability Groups Increased Number of Secondaries

SQL Server 2012: Read workloads killed during network failures Geo-distributed environments (e.g. failure/upgrade of network equipment, ISP failures) Hybrid (on-premise to Azure) deployments SQL Server 2014: read workloads not impacted during network failures.. or primary down.. or cluster quorum loss.. Readable secondaries remain available during “Resolving” state Requires direct connections to readable secondaries (Read-only routing not supported yet) Replica state and last commit time available in DMV/Dashboard Availability Groups Increased Readable Secondaries Availability

Availability Groups Increased Readable Secondaries Availability Sync Log Synchronization Async Log Synchronization

“The increased readable secondaries availability means our users can still find answers online and the world keeps spinning - StackOverflow Availability Groups Increased Readable Secondaries Availability

StackOverflow can now: Offload more critical read workloads to readable secondary in main data center Network glitches even within the same DC can happen Use readable secondary in DR site while data center is down (70% reads) Simpler to change DNS than force failover and failback Doesn’t result in data loss Availability Groups Increased Readable Secondaries Availability

Many customers can’t afford a DR site Site rent + maintenance, hardware, Ops SQL Server 2012: Started supporting replicas on Windows Azure VMs this year Offload read workloads Offload backups (policy compliance) Disaster recovery At best region West US, East US, East Asia, Southeast Asia, North Europe, West Europe Latency / political considerations Availability Groups Add Azure Replica Wizard

Availability Groups Add Azure Replica Wizard Sync Log Synchronization Async Log Synchronization

Low TCO VM and storage Free ingress traffic Case studies Lufthansa, Thomson Reuters, Buffalo Hospital Supply SQL Server 2014: “Add Replica Wizard” supports Windows Azure E2E: From provisioning VM to starting log synchronization Validates environment Handles failures Does cleanup Availability Groups Add Azure Replica Wizard

24 Enhancements on Dashboard, Error Messages, DMVs, XEvents Simplify troubleshooting & prevent issues Based on feedback from customers & CSS Availability Groups & Failover Cluster Instances Enhanced Diagnostics

Availability Groups & Failover Cluster Instances Enhanced Diagnostics TitleComponent Show timestamps in XEL output in UTC (not adjusted to client SSMS computer)XEvents Viewer Warning about log synchronization behavior when primary replica is asyncDashboard System function IsPrimaryReplica(database_name)System function Add AG name (and replica name and DB name if relevant) to many more XEvents to allow better data correlation between the logs XEvents Report major HADRON Manager transitions to AlwaysOn XEvent sessionXEvents Add Replica name context to connection established error log entryError Log Dump relevant output from sys.dm_hadr_database_replica_states to SQL error log when replicas change to resolving state XEvents Add new error message to detect AG startup failure when quorum is forcedError Log Separate error msg (replica can't become primary) - raised for two importantly different reasons Error Log AlwaysOn Functions/DMVs should also support FCIs where applicableDMVs Improve the CREATE AG error message “AG already exists”, to say “It’s possible that a previous DROP AG operation, executed during cluster quorum loss, didn’t delete the AG from the cluster. If so, please retry the DROP operation” Error Message Remove FCI setup dependency on cluster.exe (deprecated) – Use PowershellError Log Show timestamps in XEL output in UTC (not adjusted to client SSMS computer) Warning about log synchronization behavior when primary replica is async System function IsPrimaryReplica(database_name) Separate error msg (replica can't become primary) - raised for two importantly different reasons Dump relevant output from sys.dm_hadr_database_replica_states to SQL error log when replicas change to resolving state and 13 more..

Cluster Shared Volume (CSV) Shared disk accessible to all nodes (over SMB) One or more per physical drive Failover Cluster Instances on CSV Improves SAN utilization Removes limitation of 24 drives Increases I/O resiliency Retry read/write via other nodes Increases failover resiliency Disks don’t need to be unmounted/mounted Failover Cluster Instances Support for Windows Cluster Shared Volumes (Windows Server 2012 & 2012 R2)

Failover Cluster Instances Support for Windows Cluster Shared Volumes

AlwaysOn and Windows Server Windows Cluster Enhancements Version 2012 Dynamic Quorum Removes votes from unavailable nodes Enables “last man standing” Increased network resiliency Handle more exceptions Avoid node evictions Version 2012 R2 Network names without Active Directory Avoid Listeners issues: permissions, collisions

JOIN US in San Jose, May 7-9 for our second annual event to get the best learning for analyzing, managing, and sharing business information and insights through the Microsoft Data Platform of technologies. $150 off with discount Code: XXXXXX