Ryan Adams Blog - Twitter Thanks to our Gold Sponsors

Similar documents
Ryan Adams Blog - Twitter MIRRORING: START TO FINISH

Microsoft SQL AlwaysOn and High Availability

Are AGs A Good Fit For Your Database? Doug Purnell

Microsoft SQL AlwaysOn and High Availability

SQL Server 2012 virtually out, Microsoft talks features, licensing

Index. Peter A. Carter 2016 P.A. Carter, SQL Server AlwaysOn Revealed, DOI /

Windows Clustering 101

SQL Server Availability Groups

SQL AlwaysOn - Skype for Business

Microsoft SQL Server

High Availability- Disaster Recovery 101

EASYHA SQL SERVER V1.0

Microsoft Azure Windows Server Microsoft System Center

High Availability- Disaster Recovery 101

Implementation of Microsoft SQL Server using AlwaysOn for High Availability and Disaster Recovery without Shared Storage

DESIGNING DATABASE SOLUTIONS FOR MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE

SQL Server AlwaysOn setup on ObserveIT environment

SQL Server Virtualization 201

SQL 2016 Always On High Availability

Designing Database Solutions for Microsoft SQL Server (465)

DOWNLOAD PDF SQL SERVER 2012 STEP BY STEP

Avoiding the Cost of Confusion: SQL Server Failover Cluster Instances versus Basic Availability Group on Standard Edition

The safer, easier way to help you pass any IT exams. Exam : Administering Microsoft SQL Server 2012 Databases.

Transactional Replication New Features for AlwaysOn AG in SQL Henry Weng Premier Field Engineer SQL Server & AI

AlwaysOn Availability Groups 2016 What is new?

Maximizing SharePoint Availability Whitepaper v1.1 4/2018

A Closer Look at Distributed Availability Groups. Allan Hirt, Managing Partner, SQLHA LLC Moderated By: George Carlisle

SQL Server In-Memory Across Workloads Performance & Scale Hybrid Cloud Optimized HDInsight Cloud BI

SQL Saturday Jacksonville Aug 12, 2017

EXAM Administering Microsoft SQL Server 2012 Databases. Buy Full Product.

Architecting a Hybrid Database Strategy with Microsoft SQL Server and the VMware Cloud Provider Program

MANAGE YOUR SHOP WITH POLICY BASED MANAGEMENT & CENTRAL MANAGEMENT SERVER

Clusters Your Way. SQL Server in "The Cloud": High Availability and Disaster Recovery in Azure, AWS and Google

SQL Server DBA Course Content

Floating on a Hybrid Cloud: SQL Server 2014 & Microsoft Azure Timothy P. McAliley Microsoft Premier Field Engineer SQL Server May 8, 2014

What can you do with SQL Server on Linux?

6 Months Training Module in MS SQL SERVER 2012

Managing Copy Services

SQL Server HA and DR: A Simple Strategy for Realizing Dramatic Cost Savings

How To Manually Remove Sql Server 2008 Default Named Or Virtual Instance

HIGH-AVAILABILITY & D/R OPTIONS FOR MICROSOFT SQL SERVER

StarWind Virtual SAN Installing and Configuring SQL Server 2017 Failover Cluster Instance on Windows Server 2016

Building Clusters to Protect SQL Server in Cloud Configurations

Microsoft Exam Designing Database Solutions for Microsoft SQL Server Version: 12.0 [ Total Questions: 111 ]

Number: Passing Score: 800 Time Limit: 120 min File Version:

Introducing Microsoft SQL Server Preview Edition Higher availability. Stacia Varga, Denny Cherry, Joseph D Antoni

SQL Server technical e-book series. Drive business continuity with SQL Server

Microsoft. Designing Database Solutions for Microsoft SQL Server 2012

2. Recovery models ->

Manually Run The Synchronization Replication Sql Server 2005 Delete

Introduction Chapter 1. General Information Chapter 2. Servers Used... 9

Azure Webinar. Resilient Solutions March Sander van den Hoven Principal Technical Evangelist Microsoft

SQL Server 2014 Training. Prepared By: Qasim Nadeem

Veritas NetBackup for Microsoft SQL Server Administrator's Guide

SQL Server New innovations. Ivan Kosyakov. Technical Architect, Ph.D., Microsoft Technology Center, New York

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

Installing SQL Server 2016 Cluster

StarWind Virtual SAN Installing and Configuring SQL Server 2019 (TP) Failover Cluster Instance on Windows Server 2016

StarWind Virtual SAN. Installing and Configuring SQL Server 2014 Failover Cluster Instance on Windows Server 2012 R2. One Stop Virtualization Shop

iscsi Target Usage Guide December 15, 2017

Performance Monitoring AlwaysOn Availability Groups. Anthony E. Nocentino

microsoft.

Installing PI AF with SQL Server 2012 AlwaysOn Availability Group Feature. Version 1.0

Microsoft SQL Server HA and DR with DVX

TS: System Center Data Protection Manager 2007, Configuring. Version 3.1

MS SQL Server 2012 DBA Course Contents

MOVING TOWARDS ZERO DOWNTIME FOR WINTEL Caddy Tan 21 September Leaders Have Vision visionsolutions.com 1

Allan Hirt Cluster MVP E mail: Website and Blog:

DO NOT USE Microsoft Designing Database Solutions for Microsoft SQL Server

Maintaining a Microsoft SQL Server 2005 Database Course 2780: Three days; Instructor-Led

Performance Monitoring AlwaysOn Availability Groups. Anthony E. Nocentino

EMC MISSION CRITICAL INFRASTRUCTURE FOR MICROSOFT SQL SERVER 2012

StarWind Virtual SAN SQL Server HADR using Availability Groups and Failover Cluster Instance

SQL Server DBA Online Training

SPECIAL EXCERPT II Complete book available Spring Introducing Microsoft. SQL Server 2012 PREVIEW CONTENT. Ross Mistry and Stacia Misner

Microsoft SQL Server Fix Pack 15. Reference IBM

Hosting Roadmap Upgrades, Improvements and Changes

SQL Server 2014 Upgrade

Ian Choy. Technology Solutions Professional

Troubleshooting Always On Availability Groups Performance

Deploy Microsoft SQL Server 2014 on a Cisco Application Centric Infrastructure Policy Framework

Performance Monitoring Always On Availability Groups. Anthony E. Nocentino

Virtual protection gets real

Performance Monitoring AlwaysOn Availability Groups. Anthony E. Nocentino

Technical Note. Dell/EMC Solutions for Microsoft SQL Server 2005 Always On Technologies. Abstract

Vendor: Microsoft. Exam Code: Exam Name: Administering Microsoft SQL Server 2012 Databases. Version: Demo

Performance Monitoring AlwaysOn Availability Groups. Anthony E. Nocentino

Netcast

The Right Choice for DR: Data Guard, Stretch Clusters, or Remote Mirroring. Ashish Ray Group Product Manager Oracle Corporation

Document Sub Title. Yotpo. Technical Overview 07/18/ Yotpo

Microsoft SQL Server 2014 on VMware VSAN 6 Hybrid October 30, 2017

SAP HANA. HA and DR Guide. Issue 03 Date HUAWEI TECHNOLOGIES CO., LTD.

10. Replication. CSEP 545 Transaction Processing Philip A. Bernstein Sameh Elnikety. Copyright 2012 Philip A. Bernstein

5/24/ MVP SQL Server: Architecture since 2010 MCT since 2001 Consultant and trainer since 1992

Move Exchange 2010 Database To Another Drive Powershell

AlwaysOn Availability Groups: Backups, Restores, and CHECKDB

Microsoft SQL Server" 2008 ADMINISTRATION. for ORACLE9 DBAs

Protecting Microsoft SQL Server databases using IBM Spectrum Protect Plus. Version 1.0

SnapManager 6.0 for Microsoft SQL Server Installation and Administration Guide

ADMINISTERING MICROSOFT SQL SERVER CERTIFICATION QUESTIONS AND STUDY GUIDE

Transcription:

Ryan Adams Blog - http://ryanjadams.com Twitter - @ryanjadams Email ryan@ryanjadams.com Thanks to our Gold Sponsors

Discover the AlwaysOn Feature Set AlwaysOn Failover Cluster Instances AlwaysOn Availability Groups Windows Server Failover Clustering Multi-database Failover Availability Replicas Active Secondaries

It s an HA and DR solution AlwaysOn is a combined term that encompasses AlwaysOn Failover Cluster Instances The old SQL Clustering AlwaysOn Availability Groups The old SQL Mirroring

Server level protection SQL Server level protection Database level protection Client connection level protection/abstraction

It s SQL Clustering Renamed Shared storage requirement Node2 Node1 Node3 SAN

It s really called Multi-subnet Different subnets in the same datacenter Different subnets in the different datacenters Storage level replication required Multiple IP addresses that use OR Network Name has multiple host records in DNS

TempDB is no longer required to be on a SAN or other shared storage Install will create the directory and give the SQL Server Service account permissions on the first node You must create the directory and add the permissions when adding additional node to the cluster

More options than the old LooksAlive and IsAlive Checks 3 Failure Detection Types WSFC monitors the SQL Server service for a stop Response from sp_server_diagnostics must be less than the HealthCheckTimeout setting Conditions as reported by sp_server_diagnostics Level 0 5 0 is most restrictive and 5 is least restrictive

It s a group of user databases that failover together Groups are often defined by the application they support It s Mirroring re-defined

Windows Server 2008 or later SQL Server 2012 Enterprise Edition Windows Server Failover Clustering Cannot be on a Domain Controller User databases only Databases must be in Full Recovery Model

SQL Failover Cluster Instance Shared Storage

Windows Server Failover Cluster Required SQL Failover Cluster Instance not Required Mutually Exclusive Can be used together WSFC Provides Quorum Abstracts IP and Network Name Monitors Server Health Status AGs report SQL Health Status to WSFC

Image taken from SQL Server Books Online http://msdn.microsoft.com/en-us/library/ff877884.aspx

Automatic Page Recovery sys.dm_hadr_auto_page_repair Compression Encryption

Defining the FailoverPartner in the application connection string Witness

FailoverPartner in the connection string Replaced by Virtual Network Name Witness Replace by Windows Server Failover Clustering

Group of DBs supporting an app that failover together as a group It is defined by an Availability Group

Each instance of SQL Server in an AG is called a replica Each instance can only house one replica for a particular AG Each instance can, however, house a replica for multiple AGs SPECIAL NOTE.A DB can only be part of one AG

5 Total Replicas 1 Primary Master read/write copy 4 Secondary Read only copies

No data loss Possible latency on primary replica Max of 2 replicas in an AG can use synchronous mode

Primary Transaction Inserted in Log Transaction Read from Log Transaction Shipped to Replica Replica Transaction Written to Log Acknowledgement Sent to Primary Transaction Committed Primary Acknowledgement Received Transaction Committed

Possible data loss No latency on primary replica Max of 4 replicas in an AG can use Asynchronous mode

Primary Replica Transaction Inserted in Log Transaction Read from Log Transaction Committed Transaction Shipped to Replica Transaction Written to Log Acknowledgement Sent to Primary Transaction Committed Primary Acknowledgement Received

No data loss Synchronous Mode required Automatic Failover Enabled Not supported if primary or any secondary replica is on a SQL Failover Cluster Instance

Only choice if a replica is on a SQL FCI Planned Cannot be Asynchronous No data loss Everything is in a synchronized state Forced Potential data loss Primary Replica has failed Secondary is not synchronized with the primary

Readable Replicas Can be used for reporting Can be used for backups Copy-Only required Differentials not yet supported Can be used for DBCC

Snapshot Isolation mode used so dirty reads are possible Cannot create separate indexes from the primary Temporary statistics are stored in TempDB Plan for heavy TempDB usage and storage These stats are removed upon restart

Read Intent Setting NO YES READ INTENT ApplicationIntent=ReadOnly

Allows you to connect to an AG without knowing which replica it is being hosted on Virtual Network Name with one or more IP Addresses VNN is a Windows Clustering Network Name Clients try each IP until one succeeds Can be viewed in Server Cluster Manager

Discover the AlwaysOn Feature Set AlwaysOn Failover Cluster Instances AlwaysOn Availability Groups Windows Server Failover Clustering Multi-database Failover Availability Replicas Active Secondaries Ryan Adams Blog - http://ryanjadams.com Twitter - @ryanjadams Email ryan@ryanjadams.com