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.

Slides:



Advertisements
Similar presentations
Todays Goal – AlwaysOn in 60 Minutes Where well start:
Advertisements

Implementing SQLServer AlwaysON Sarabpreet Singh Anand SQL Server – MVP SQLServerGeeks.com (VP)
SharePoint 2013 & SQL Server 2012 Availability Groups The Rough Guide.
SQL Server 2000 Clustering Dave Fackler. Agenda Windows 2000 Clustering SQL Server 2000 Clustering Implementation Tips.
Virtual techdays INDIA │ September 2011 High Availability - A Story from Past to Future Balmukund Lakhani │ Technical Lead – SQL Support, Microsoft.
Manage backup vaults and servers Download and install backup agent Download a vault agent Create backup vault.
SQL Server 2012 Always On Premier Field Engineer Microsoft Corporation Lisa Gardner
Implementing Failover Clustering with Hyper-V
SharePoint Business Continuity Management with SQL Server AlwaysOn
Hyper-V High-Availability & Mobility: Designing the Infrastructure for Your Private Cloud Symon Perriman Technical Evangelist Microsoft
Hyper-V High-Availability & Mobility: Designing the Infrastructure for Your Private Cloud Symon Perriman Technical Evangelist Microsoft
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.
Maintaining a Mirrored Database Tips and Tricks by Paul G. Hiles.
MODIFY THIS SLIDE FOR ACTUAL PRESENTER, DELETE THIS BAR AFTER MODIFICATION.
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
Site Power OutageNetwork Disconnect Node Shutdown for Patching Node Crash Quorum Witness Failure How do I make sure my Cluster stays up ??... Add/Evict.
Module 11: Implementing ISA Server 2004 Enterprise Edition.
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.
Alwayson Availability Groups
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 |
1 Chapter Overview Using Standby Servers Using Failover Clustering.
SQL Server 2012: AlwaysOn HA and DR Design Patterns, and Lessons Learned from Early Customer Deployments Sanjay Mishra SQLCAT.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Deploying Highly Available SQL Server in Windows Azure A Presentation and Demonstration by Microsoft Cluster MVP David Bermingham.
What HADR Option(s) Are Right For You?. Where’s The AlwaysOn?
Deploying Highly Available SAP in the Cloud
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.
Windows Server Failover Clustering (WSFC) with SQL Server.
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
Architecting Enterprise Workloads on AWS Mike Pfeiffer.
Introduction to Clustering
High Availability - SQL Cluster
Turgay Sahtiyan Istanbul, Turkey
Sponsors.
Welcome to SharePoint Saturday Houston
Architecting Availability Groups
ALWAYSON AVAILABILITY GROUPS
Secrets to Fast, Easy High Availability for SQL Server in AWS
Disaster Recovery Where to Begin
by Microsoft Cluster MVP David Bermingham
Always On Availability Groups
Contained DB? Did it do something wrong?
SQL AlwaysOn Availability Groups
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
Introduction to Clustering
Disaster Recovery Where to Begin
Architecting Availability Groups
Planning High Availability and Disaster Recovery
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
Distributed Availability Groups
04 | Always On High Availability
Distributed Availability Groups Praveen Kumar. What we will cover Availability group refresher The HA/DR solution Distributed availability groups – what.
Designing Database Solutions for SQL Server
Presentation transcript:

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 2014 AlwaysOn Step-by-Step Dave Bermingham Microsoft Cluster MVP (2010-current) Founder of SIOS Technology Senior Technical Evangelist (2004-current) –Focused on helping customers deploy HA and DR solutions on Windows Servers Follow me on

SQL Server 2014 AlwaysOn Step-by-Step What is SQL Server 2014 AlwaysOn? SQL Server 2014 AlwaysOn describes two distinct SQL Server High Availability features: –AlwaysOn Availability Groups –AlwaysOn Failover Cluster Instance

SQL Server 2014 AlwaysOn Step-by-Step SQL Server 2014 AlwaysOn Availability Groups Introduced in SQL Server 2012 Evolution of Database Mirroring New Features Include –Grouping Databases into Failover Groups –Integration with Windows Server Failover Clustering (WSFC) Uses WSFC quorum models Uses Cluster Client Access Point Requires SQL Server 2012/2014 Enterprise Edition SQL 2014 AlwaysOn enhancements –Secondary Replicas increased from 4 to 8 –CSV now supported in SQL Server Failover Clusters

SQL Server 2014 AlwaysOn Step-by-Step SQL Server 2014 AlwaysOn Failover Cluster Instance Renamed in SQL Server 2012 –Previously called SQL Server Failover Cluster New features include –Support for cross subnet failover Integration with Windows Server Failover Clustering (WSFC) –Uses WSFC quorum models –Uses cluster Client Access Point –Actually is a true “clustered instance” Requires SQL Server 2012 Standard or Enterprise Edition

SQL Server 2014 AlwaysOn Step-by-Step Failover Cluster Instance vs. Availability Group AlwaysOn Availability Groups AlwaysOn Failover Cluster Support SQL Standard Edition 04 Distributed Transactions 04 Unlimited Databases 04 Automated Client Redirection 24 Protects System Databases (Master, MSDB, etc.) 04 Eases Database Administration 04 Supports Replication (Transactional, Merge, etc) 14 Support more than 2-nodes in failover configuration 24 Eliminates SAN as a single point of failure 40 Supports Multisite Clusters 40 Readable Secondary 40

SQL Server 2014 AlwaysOn Step-by-Step Building a 2-node Failover Cluster Instance These steps are documented in detail in my blog article – server-2012-clustering-step-by-step/ server-2012-clustering-step-by-step/ Add the Failover Clustering Feature –Add Roles and Features Configure your storage –Supported Storage: Fiber Channel, iSCSI, Storage Spaces, SMB 3.0, shared VHD (Windows 2012 R2), local disk with 3 rd party replication solution Run Cluster Validation Create the cluster Adjust quorum type if necessary

SQL Server 2014 AlwaysOn Step-by-Step Configuring the Quorum Highly recommend reading the Failover Cluster Team Blog article –Understanding Quorum in a Failover ClusterUnderstanding Quorum in a Failover Cluster Quorum Types –Node Majority –Node & Disk Majority –Node & File Share Majority –Disk Only (legacy, not recommended) Rule of Thumb –Always have an odd number of votes –Multisite cluster quorum…it’s complicated File Share Witness in 3 rd site required for automatic failover Read TechNet Blog on File Share WitnessFile Share Witness

SQL Server 2014 AlwaysOn Step-by-Step Quorums in Windows 2012 R2 Dynamic Quorum (introduced in Windows 2012) Dynamic Witness Tie Breaker for 50% node split –(Get-ClusterNode –Name "Node1").Id –(Get-Cluster).LowerQuorumPriorityNodeID = 1 Take Away – In Windows 2012 R2 it is ALWAYS recommended to configure a witness, regardless of the number of nodes in the cluster.

SQL Server 2014 AlwaysOn Step-by-Step Configuring AlwaysOn Availability Groups Steps –Install Windows Cluster –Install a Standalone SQL Server 2012 Use the domain account for the SQL service account Open Port 1433 and 5022 or disable the Windows Firewall –Create a sample database Set recovery model to Full Back up this sample database –Enable the AlwaysOn feature on both instances using SQL Server Configuration Manager –Create an Availability Group using the Availability Group Wizard

SQL Server 2014 AlwaysOn Step-by-Step Resources My Blog On Failover Clustering – Always On Failover Cluster Overview – Understanding Quorum in a Failover Cluster – Understanding File Share Witness Placement – share-witness-and-when-should-i-use-one.aspxhttp://blogs.technet.com/b/askpfeplat/archive/2012/06/27/clustering-what-exactly-is-a-file- share-witness-and-when-should-i-use-one.aspx Configuring Availability Groups – availability-groups-in-system-center-2012-virtual-machine-manager-service-pack-1.aspxhttp://blogs.technet.com/b/scvmm/archive/2012/10/24/how-to-configure-sql-2012-alwayson- availability-groups-in-system-center-2012-virtual-machine-manager-service-pack-1.aspx – What’s New in Failover Clustering in Windows Server 2012 R2 –