All the things you need to know before setting up AlwaysOn Michael Steineke SQL & BI Solution Lead Enterprise Architect Concurrency, Inc.

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)
0 SQL Server AlwaysOn – SharePoint 2013 High Availability and Disaster Recovery Sal Bawany, Solutions Architect
Virtual techdays INDIA │ September 2011 High Availability - A Story from Past to Future Balmukund Lakhani │ Technical Lead – SQL Support, Microsoft.
SQL Server AlwaysOn: Active Secondaries Luis Vargas Program Manager Microsoft Corporation DBI312.
SharePoint Business Continuity Management with SQL Server AlwaysOn
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.
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,
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.
SQL2005 Cluster Build. IP Request Request 6 IP Addresses – One for EACH SQL virtual server (2) – One for the cluster – One for Distributed Transaction.
Site Power OutageNetwork Disconnect Node Shutdown for Patching Node Crash Quorum Witness Failure How do I make sure my Cluster stays up ??... Add/Evict.
SQL Server AlwaysOn Phil Brammer, Database Administrator.
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 |
Complete VM Mobility Across the Datacenter Server Virtualization Hyper-V 2012 Live Migrate VM and Storage to Clusters Live Migrate VM and Storage Between.
Warwick Rudd – Henry Rooney – How Available is SQL Server 2016? DAT33 6.
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
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.
Windows Server Failover Clustering (WSFC) with SQL Server.
Architecting Availability Groups An analysis of Microsoft SQL Server Always-On Availability Group architectures 1.
William Durkin A Gourmet Menu of SQL Server High Availability Options.
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.
High Availability & Disaster Recovery with SQL Server AlwaysOn Availability Groups Turgay Sahtiyan Microsoft – Senior SQL Server PFE
ALWAYSON AVAILABILITY GROUPS Replicas, Listeners & Quorums, Oh My! Kevin Howell SQL Saturday #517 Philadelphia, June 2016.
Architecting Enterprise Workloads on AWS Mike Pfeiffer.
Introduction to Clustering
Turgay Sahtiyan Istanbul, Turkey
Sponsors.
Architecting Availability Groups
ALWAYSON AVAILABILITY GROUPS
Navigating the options for Data Redundancy
Disaster Recovery Where to Begin
AlwaysOn Mirroring, Clustering
Always On Multi-Site Patterns
Always On Availability Groups
SQL AlwaysOn Availability Groups
Always On : Multi-site patterns
AlwaysOn, an Early bird Overview
AlwaysOn Availability Groups 101
Introduction to Clustering
Disaster Recovery Where to Begin
Architecting Availability Groups
Always On : Multi-site patterns
What’s new in SQL Server 2016 Availability Groups
Planning High Availability and Disaster Recovery
Always On : Multi-site patterns
SYED SAJID WASIM SQL SERVER ALWAYS ON Step by Step.
Distributed Availability Groups
AlwaysOn Availability Groups
High Availability/Disaster Recovery Solution
Distributed Availability Groups
04 | Always On High Availability
Distributed Availability Groups
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:

All the things you need to know before setting up AlwaysOn Michael Steineke SQL & BI Solution Lead Enterprise Architect Concurrency, Inc.

Terminology and Architecture  AlwaysOn  Marketing name for the high availability features in SQL Server  Includes  Fail over Cluster Instances (FCI)  Availability Groups (AG)  Windows Server Failover Clustering (WSFC)  All of AlwaysOn uses WSFC

High Availability vs. Disaster Recovery  High Availability  Generally same site  Quick Recovery  Disaster Recovery  Separate Site  Slower Recovery

Site to Site Considerations  How far apart are they?  What is the connectivity between sites?  Type of connection  Size of connection  Latency of connection

Networking  Server to server connectivity  Ports to open on Firewalls  TCP Ports 1433 & 1434 or specific SQL ports  AG Endpoint – tcp 5022  IP Addresses  DNS Names & IP Addresses  Servers, Cluster Name, AGs

Windows Clustering  What do I need to know as a DBA?  Management  Windows Failover Cluster Manager  PowerShell  Windows Domain  Joined  Authentication  SQL Server needs to run as a Domain Account  Connectivity  DNS Names and SQL Instances  Availability Group Listener  Ports  Quorum

Why do I care about Quorum?  Quorum Controls if the Cluster in Online  Majority of votes  What can vote?  Shared Disk  Servers – Active, Passive or Witness  File Share – Witness  Manual Voting override is available  In Multi-Site configurations you need to decide where the voting members are located

Windows Server Version & Clustering  Windows Server 2012 R2  Many useful updates to clustering  Dynamic Quorum  Cluster automatically controls Voting  Adjusts the vote weight of each node  Allows for Last Man Standing  Network Resiliency  Key to making sure the Cluster is healthy

Cluster Network Objects  Computers in AD  AD OU  Permissions  Cluster and Listener Objects in AD

OU Delegation  Create an OU and Delegate to the Cluster Account

SQL Server Version Comparison SQL 2012 Enterprise  Multiple Node FCI  Multi-Subnet Clusters  AG’s – 5 Copies of Data  4 Secondaries Total  2 Synchronous  Up to 4 Asynchronous  2 Automatic Failover Targets  Readable Secondaries SQL 2014 Enterprise  Multiple Node FCI  Multi-Subnet Clusters  AG’s – 8 Copies of Data  7 Secondaries  2 Synchronous  Up to 7 Asynchronous  2 Automatic Failover Targets  Readable Secondaries  Azure Replica  Backup to Azure  Site Survivability for Read Intent

FCI or AG?  If you need MSDTC, AGs don’t support MSDTC  AGs require separate Disk for each Instance  AGs can fail from node to node faster than FCI  Synchronous AGs require transactions to commit(log harden) on both servers  AG Secondaries can do workload  Backup & Read-only Answer – It depends on your needs You might want to combine them!

MSDTC  In Windows 2008 and later you either Create a clustered instance of the MSDTC resource for EVERY SQL Server instance /Group that requires its functionality or DO NOT CLUSTER MSDTC at all  View msdtc mappings  msdtc -tmMappingView *

Availability Group Setup  Shared Backup location  Permissions on share  Full on SQL Server Account

Multiples – Instances, AGs  You can have multiple AGs in an instance  Listeners are tied to AG  Multiple Instances  Each AG needs different ports for the endpoints  AG’s on Private Network

Multi-subnet  DNS  Client App connectivity  d-multisubnet-listener-behavior-with-newly-released-sql-client- provider-in-net-4-6-1/ d-multisubnet-listener-behavior-with-newly-released-sql-client- provider-in-net-4-6-1/  JDBC - us/library/gg558121(v=sql.110).aspxhttps://msdn.microsoft.com/en- us/library/gg558121(v=sql.110).aspx  Azure Listener  readintent-routing-with-azure-alwayson-availability-group-listener/ readintent-routing-with-azure-alwayson-availability-group-listener/

Enabling AGs

What you need before the Wizard  Network Names  Cluster name  Listener Name  Firewall Rules/ports open  Listener  AG  IP Addresses  Each Server  Cluster Name  Each Listener  Active Directory  Permissions or Objects staged  Servers in OU  File System  Location of DB Files  Shared Backup Location

Useful Reference Links  SQL AlwaysOn Team Blog   SQL Server Customer Advisory Team   SQL Server 2014 Technet Reference   SQL High Availability on MSDN   Failover Cluster Guide to Quorum   Prestage Computer Objects in AD   MSDTC   AGs on Private Network   SQL 2016 Changes to AGs 

Thanks!   