Mission-Critical Availability



Similar documents
SQL Server AlwaysOn (HADRON)

SQL Server Hybrid Features. Luis Vargas, Senior Program Manager Lead Xin Jin, Program Microsoft

SQL Server on Azure An e2e Overview. Nosheen Syed Principal Group Program Manager Microsoft

SQL Server 2012/2014 AlwaysOn Availability Group

Floating on a Hybrid Cloud: SQL Server 2012 & Microsoft Azure. Timothy P. McAliley Microsoft Premier Field Engineer SQL Server

Dell High Availability and Disaster Recovery Solutions Using Microsoft SQL Server 2012 AlwaysOn Availability Groups

SQL Server AlwaysOn

Course 20465C: Designing a Data Solution with Microsoft SQL Server

GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster

Designing a Data Solution with Microsoft SQL Server 2014

SQL Server AlwaysOn. Michal Tinthofer 11. Praha What to avoid and how to optimize, deploy and operate.

Designing a Data Solution with Microsoft SQL Server

Course 20465: Designing a Data Solution with Microsoft SQL Server

Designing a Data Solution with Microsoft SQL Server

Implementing and Managing Windows Server 2008 Clustering

Extending Your Availability Group for Disaster Recovery

Designing Database Solutions for Microsoft SQL Server 2012 MOC 20465

MS 20465C: Designing a Data Solution with Microsoft SQL Server

Designing and Deploying Messaging Solutions with Microsoft Exchange Server 2010 Service Pack B; 5 days, Instructor-led

Course 20465C: Designing a Data Solution with Microsoft SQL Server

Deploy App Orchestration 2.6 for High Availability and Disaster Recovery

20465C: Designing a Data Solution with Microsoft SQL Server


Module 14: Scalability and High Availability

SQL AlwaysOn Availability Groups (AAG) on Tintri

Storage and High Availability with Windows Server

WELKOM Cloud met Azure

Microsoft SQL Server Native High Availability with XtremIO

Designing a Data Solution with Microsoft SQL Server 2014

AUTOMATED DISASTER RECOVERY SOLUTION USING AZURE SITE RECOVERY FOR FILE SHARES HOSTED ON STORSIMPLE

New hybrid cloud scenarios with SQL Server Matt Smith 6/4/2014

"Charting the Course... MOC C Designing a Data Solution with Microsoft SQL Server Course Summary

Designing a Data Solution with Microsoft SQL Server

Implementing Microsoft Azure Infrastructure Solutions

Microsoft Azure Cloud on your terms. Start your cloud journey.

Designing a Data Solution with Microsoft SQL Server 2014

Expert Reference Series of White Papers. Unlock the Power of Microsoft SQL Server 2012

Storage and High Availability with Windows Server 10971B; 4 Days, Instructor-led

SQL Server 2014 New Features/In- Memory Store. Juergen Thomas Microsoft Corporation

INDIA September 2011 virtual techdays

Administering Microsoft SQL Server 2012 Databases

Building disaster-recovery solution using Azure Site Recovery (ASR) for Hyper-V (Part 1)

Implementing Microsoft Windows Server Failover Clustering (WSFC) and SQL Server 2012 AlwaysOn Availability Groups in the AWS Cloud

SQL Server 2016 New Features!

Microsoft SharePoint 2010 on VMware Availability and Recovery Options. Microsoft SharePoint 2010 on VMware Availability and Recovery Options

10971B: Storage and High Availability with Windows Server

Introduction to Hyper-V High- Availability with Failover Clustering

The last 18 months. AutoScale. IaaS. BizTalk Services Hyper-V Disaster Recovery Support. Multi-Factor Auth. Hyper-V Recovery.

Online Transaction Processing in SQL Server 2008

Course 10971:Storage and High Availability with Windows Server

Critical SQL Server Databases:

Implementing Microsoft Azure Infrastructure Solutions

Implementing Microsoft Azure Infrastructure Solutions

20465: Designing a Data Solution with Microsoft SQL Server

70-414: Implementing a Cloud Based Infrastructure. Course Overview

Configure AlwaysOn Failover Cluster Instances (SQL Server) using InfoSphere Data Replication Change Data Capture (CDC) on Windows Server 2012

Microsoft Windows Server Failover Clustering (WSFC) and SQL Server AlwaysOn Availability Groups on the AWS Cloud: Quick Start Reference Deployment

Part2 Hyper-V Replica and Hyper-V Recovery Manager. Datacenter Specialist

Mind Q Systems Private Limited

Windows Server 2012 授 權 說 明

Microsoft SQL Database Administrator Certification

Advanced HA and DR.

SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques

SQL Server AlwaysOn Deep Dive for SharePoint Administrators

Powering the Next Generation Cloud with Azure Stack, Nano Server & Windows Server 2016! Jeff Woolsey Principal Program Manager Cloud & Enterprise

Windows Server 2012 Hyper-V Installation and Configuration Guide

Availability Guide for Deploying SQL Server on VMware vsphere. August 2009

Microsoft SQL Server 2008 R2 Enterprise Edition and Microsoft SharePoint Server 2010

Windows Server Failover Clustering April 2010

DR-to-the- Cloud Best Practices

Big data Devices Apps

TABLE OF CONTENTS THE SHAREPOINT MVP GUIDE TO ACHIEVING HIGH AVAILABILITY FOR SHAREPOINT DATA. Introduction. Examining Third-Party Replication Models

DeltaV Virtualization High Availability and Disaster Recovery

SQL Server 2008 Designing, Optimizing, and Maintaining a Database Session 1

MIRRORING: START TO FINISH. Ryan Adams Blog - Twitter

SQL Server Log Shipping: Replacing the Windows File Server with SQL File Tables for higher availability

This course is intended for database professionals who need who plan, implement, and manage database solutions. Primary responsibilities include:

Veeam Study Webinar Server Virtualization with Windows Server Hyper-V and System Center. Orin

Contents. SnapComms Data Protection Recommendations

Designing, Optimizing and Maintaining a Database Administrative Solution for Microsoft SQL Server 2008

Installation and Upgrade on Windows Server 2008/2012 When the Secondary Server is Physical VMware vcenter Server Heartbeat 6.6

Course 20533: Implementing Microsoft Azure Infrastructure Solutions

Redundancy Options. Presented By: Chris Williams

SQL Server What s New? Christopher Speer. Technology Solution Specialist (SQL Server, BizTalk Server, Power BI, Azure) v-cspeer@microsoft.

Storage and High Availability with Windows Server

Designing Database Solutions for Microsoft SQL Server 2012

Windows Geo-Clustering: SQL Server


EMC VPLEX FAMILY. Continuous Availability and data Mobility Within and Across Data Centers

Rethink Disaster Recovery with Microsoft

What s new in Hyper-V 2012 R2

Feature Comparison. Windows Server 2008 R2 Hyper-V and Windows Server 2012 Hyper-V

Grade Disaster Recovery with Azure Site

Availability for your modern datacenter

MS Design, Optimize and Maintain Database for Microsoft SQL Server 2008

Scaling Database Performance in Azure

Transcription:

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

AlwaysOn SQL Server HA/DR Technologies Failover Cluster Instances (for servers) Availability Groups (for groups of databases) 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 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 Enhancements in SQL Server 2012 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

Availability Groups Introduced 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 Integrated Seamless App Connectivity Configuration Wizard Monitoring Dashboard Diagnostics infrastructure System Center integration Full cross-feature support Contained Databases, FileStream, FileTable, Service Broker Efficient Active Secondaries Read workloads Backups PowerShell Automation Fast Failover

An Availability Group Deployment Sync Log Synchronization Async Log Synchronization

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

Availability Groups Increased Number of Secondaries 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 Readable Secondaries Availability 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 Sync Log Synchronization Async Log Synchronization

Availability Groups Increased Readable Secondaries Availability The increased readable secondaries availability means our users can still find answers online and the world keeps spinning - StackOverflow http://nickcraver.com/blog/2013/11/18/running-stack-overflow-sql-2014-ctp-2/

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

Demo Availability Groups Increased Availability of Readable Secondaries

Availability Groups Add Azure Replica Wizard 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 Sync Log Synchronization Async Log Synchronization

Low TCO Availability Groups Add Azure Replica Wizard 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

Demo Screen Shots Availability Groups Add Azure Replica Wizard

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

Failover Cluster Instances Support for Windows Cluster Shared Volumes (Windows Server 2012 & 2012 R2) 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

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

סיכום: גירסא שניה של,Always ON מוסיפה: יציבות Features דיאגנוסטיקה מומלץ עם Windows Server 2012 R2 משתלב נהדר ב Azure

assaff@microsoft.com