SQL Server AlwaysOn (HADRON)



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

SQL Server 2012/2014 AlwaysOn Availability Group

GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster

Module 14: Scalability and High Availability

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

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

Extending Your Availability Group for Disaster Recovery

Mission-Critical Availability

Appendix A Core Concepts in SQL Server High Availability and Replication

Deploy App Orchestration 2.6 for High Availability and Disaster Recovery

SQL Server AlwaysOn Deep Dive for SharePoint Administrators

Microsoft SQL Server Native High Availability with XtremIO

Redundancy Options. Presented By: Chris Williams

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

SQL Server AlwaysOn

Windows Geo-Clustering: SQL Server

WELKOM Cloud met Azure

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

SQL Server for Database Administrators Course Syllabus

MIRRORING: START TO FINISH. Ryan Adams Blog - Twitter

Contents. SnapComms Data Protection Recommendations

A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES

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

SQL AlwaysOn Availability Groups (AAG) on Tintri

EMC MULTISITE DISASTER RECOVERY FOR MICROSOFT SQL SERVER 2012

Designing a Data Solution with Microsoft SQL Server 2014

Critical SQL Server Databases:

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

Advanced HA and DR.

MOC Administering Microsoft SQL Server 2014 Databases

CA ARCserve and CA XOsoft r12.5 Best Practices for protecting Microsoft SQL Server

CREATING SQL SERVER DISASTER RECOVERY SOLUTIONS WITH SIOS DATAKEEPER

Administering Microsoft SQL Server 2012 Databases

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

Informix Dynamic Server May Availability Solutions with Informix Dynamic Server 11

Windows Server Failover Clustering April 2010

DB2 9 for LUW Advanced Database Recovery CL492; 4 days, Instructor-led

Module 07. Log Shipping

Administering Microsoft SQL Server Databases

SQL Server Mirroring. Introduction. Setting up the databases for Mirroring

Below are the some of the new features of SQL Server that has been discussed in this course

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

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

Explain how to prepare the hardware and other resources necessary to install SQL Server. Install SQL Server. Manage and configure SQL Server.

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

Administering and Managing Log Shipping

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

Before attending this course, participants should have:

Administering Microsoft SQL Server 2012 Databases

Accelerate SQL Server 2014 AlwaysOn Availability Groups with Seagate. Nytro Flash Accelerator Cards

Click Studios. Passwordstate. High Availability Installation Instructions

6231A - Maintaining a Microsoft SQL Server 2008 Database

Maintaining a Microsoft SQL Server 2008 Database

EMC NetWorker Module for Microsoft for SQL VDI

Microsoft SQL Server 2012 Administration

Designing a Data Solution with Microsoft SQL Server 2014

Installing and Configuring a. SQL Server 2012 Failover Cluster

SQL Server 2014

Designing a Data Solution with Microsoft SQL Server

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

Click Studios. Passwordstate. High Availability Installation Instructions

Course 20465: Designing a Data Solution with Microsoft SQL Server

Designing a Data Solution with Microsoft SQL Server

Configure SQL database mirroring

MS Configuring and Administering Hyper-V in Windows Server 2012

Administering a Microsoft SQL Server 2000 Database

This article Includes:

SnapManager 7.0 for Microsoft SQL Server

NUTECH COMPUTER TRAINING INSTITUTE 1682 E. GUDE DRIVE #102, ROCKVILLE, MD WEB: TEL:

Microsoft SQL Database Administrator Certification

Eliminate SQL Server Downtime Even for maintenance

Implementing and Managing Windows Server 2008 Clustering

SQL Server Replication: Providing High Availability using Database Mirroring

Boost SQL Server Performance Buffer Pool Extensions & Delayed Durability

Mind Q Systems Private Limited

$99.95 per user. SQL Server 2005 Database Administration CourseId: 152 Skill level: Run Time: 30+ hours (158 videos)

10775A Administering Microsoft SQL Server 2012 Databases

Symantec NetBackup for Microsoft SQL Server Administrator's Guide

SQL Server Training Course Content

SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques


Release Notes. LiveVault. Contents. Version Revision 0

1Y0-250 Implementing Citrix NetScaler 10 for App and Desktop Solutions Practice Exam

MOC 20462C: Administering Microsoft SQL Server Databases

EMC NetWorker Module for Microsoft for SQL VDI

Database Backup and Restore Mechanism. Presented by : Mary Meladath

MS-10775: Administering Microsoft SQL Server 2012 Databases. Course Objectives. Required Exam(s) Price. Duration. Methods of Delivery.

Supporting MS SQL Server Failover Using Database Mirroring

Administering a Microsoft SQL Server 2000 Database

VMware vsphere Data Protection

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

Deployment Topologies

Deploying Exchange Server 2007 SP1 on Windows Server 2008

XLink ClusterReplica SQL 3.0 For Windows 2000/2003/XP

Transcription:

SQL Server AlwaysOn (HADRON) 朱 桦 Technical Leader, Microsoft Database Support Team Microsoft Public - See Terms of Use

2 Windows Server Failover Clustering (WSFC) Shared Data Disk Multi-node w/shared Data Storage SQL Binaries on each node Client Connections via Virtual Server Name Manual or Automatic Instance Failover Stretch Cluster via VLAN AlwaysOn Failover Cluster Instances (FCI) Flexible Failover Policy sp_server_diagnostics logging Multi-Subnet Failover Cluster Faster Recovery with Indirect Checkpoints

3 Log Shipping Provides Remote Disaster Recovery Site Database Level Protection Based on Transaction Log Backup\Restore Easy to setup No Automatic Failover No Client Redirection

4 Database Mirroring Hot Disaster Recovery Site for Single Database Easy setup using Wizard per Database Synchronous Mirroring Automatic Failover via 3rd Witness Server Client Redirection Asynchronous Mirror Automatic Page Repair (2008) Log Stream Compression (2008) Mirror Backups (2008)

5 New for SQL Server 2012 Log Shipping + Database Mirroring + Windows Clustering = AlwaysOn Availability Group for Database Protection Primary Replica Data Changes Synchronous Hot DR Standby Asynchronous Warm Standby Readable Reports Asynchronous Warm Standby Readable Backups

6 from Windows Server Failover Cluster (WSFC) Automatic Failover via Windows Server Failover Cluster (WSFC) Flexible Failover Policy using sp_server_diagnostics Multisite Clustering using disbursed servers Multiple Secondary Nodes (up to four) Virtual Server Name for Client Redirection (availability group listener) Enhanced No shared disk storage used in Windows Clustering No restart of SQL resulting in faster failover Failover single, or group of databases instead of entire SQL Server

7 from Database Mirroring Two Synchronous Secondary Servers for high availability Backup Asynchronous Secondary Servers (total 4) Automatic Bi-Directional Page Repair Secondary Backup (SQL 2008 EE) Enhanced Log Backup maintains backup chain allowing restore to Primary Maintenance Plans preferred backup based on priority Bi-directional automatic page repair 7

8 SQL Server 2012 Management Studio Availability Group Participating SQL instances, their roles and corresponding properties Availability Replica Unit of failover. Single database or group of databases Group Listeners Single Name Connection

AlwaysOn Architecture Windows Server Failover Clustering (WSFC) Cluster Network Subnet Network Subnet Node Node Node Node Node WSFC Configuration WSFC Configuration WSFC Configuration WSFC Configuration WSFC Configuration SQL Server Instance SQL Server Instance SQL Server Instance SQL Server Failover Cluster Instance Instance Network Name Instance Network Name Instance Network Name Instance Network Name AlwaysOn Availability Group Primary Replica Secondary Replica Secondary Replica Secondary Replica AG Listener Virtual Network Name Storage Storage Storage Shared Storage WSFC Quorum Witness Remote File Share 9

Availability Group Configuration Up to 5 replicas (including primary) Availability Mode Asynchronous Synchronous Up to 3 replica per availability group including primary Failover mode Manual Automatic Up to 2 per availability group Requires synchronous availability mode Readable Secondary No Yes Read Intent 10

11 AVAILABILITY GROUP AVAILABILITY MODE Asynchronous Primary replica doesn t wait for secondary replicas to harden log records. Performance over data protection Secondary never synchronized / can lag behind Reports synchronizing, never synchronized Useful When availability replicas are distributed Transaction performance is priority Synchronous Primary commit waits for secondary log harden Synchronized data protection over performance High availability over performance Reports synchronizing or synchronized

12 AVAILABILITY GROUP FAILOVER MODE AUTOMATIC Requires synchronous availability mode Up to two availability replica Additional configuration options HEALTH_CHECK_TIMEOUT FAILURE_CONDITION_LEVEL MANUAL Asynchronous or synchronous availability mode

13 Types of Failover Three Types of Failover Automatic Synchronous Commit Automatic Failover Replica in SYNCHRONIZED state Planned manual failover (without data oss) No data loss - supported when synchronous commit and secondary is synchronized alter availability group agtest1 failover Forced manual failover (with possible data loss) Supported with asynchronous commit Secondary is synchronizing or not_synchronized alter availability group agtest1 force_failover_allow_data_loss

14 AlwaysOn Readable Secondaries Secondary Replica is Active Offload Read Only activity Backups DBCC CHECKDB Read Only querying, reporting How do you re-direct read-only activity?

AlwaysOn Readable Secondaries Configure secondary for read access CREATE AVAILABILITY GROUP REPLICA ON SQL01' WITH ( SECONDARY_ROLE= ) - NO - ALL - READ_ONLY 15

AlwaysOn Readable Secondaries Read-Only client connection behavior determined by Availability Replica Option+ ApplicationIntent Property READ ONLY ROUTING 1. Secondary replica read access SECONDARY_ROLE 2. Set replica s URL for secondary routing READ_ONLY_ROUTING_URL 3. When primary, replica routing list READ_ONLY_ROUTING_LIST 4. Application connects using listener 5. Application use ReadOnly to connect 16

AlwaysOn Backup on Secondary Why backup on secondary? Backup is resource intensive Offload job from Tier-1 application What is supported: BACKUP DATABASE (copy-only full backup) BACKUP LOG Differential not supported Offload backups to synchronized or synchronizing secondaries Manage backups with new Recovery Advisor 17

Mulit-Subnet Failover No VPN needed No storage replication Multi IP address OR dependency 18

Keywords for Multi-Subnet AG RegisterAllProvidersIP - Get rid of DNS issue MultiSubnetFailover - Quick establish connection 19

20