SQL AlwaysOn Availability Groups

Slides:



Advertisements
Similar presentations
Implementing SQLServer AlwaysON Sarabpreet Singh Anand SQL Server – MVP SQLServerGeeks.com (VP)
Advertisements

SharePoint 2013 & SQL Server 2012 Availability Groups The Rough Guide.
1EMC CONFIDENTIAL—INTERNAL USE ONLY Overview of SQL Server 2012 High Availability and Disaster Recovery (HADR) Wei Fan Technical Partner Management – Microsoft.
SQL Server AlwaysOn.
Virtual techdays INDIA │ September 2011 High Availability - A Story from Past to Future Balmukund Lakhani │ Technical Lead – SQL Support, Microsoft.
SQL Server 2012 Always On Premier Field Engineer Microsoft Corporation Lisa Gardner
SQL Server AlwaysOn: Active Secondaries Luis Vargas Program Manager Microsoft Corporation DBI312.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
High-Availability Methods Lesson 25. Skills Matrix.
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.
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.
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 |
Data Disaster Recovery Planning Greg Fibiger 1/7/2016.
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.
Narasimha Reddy Gopu Jisha J. Agenda Introduction to AlwaysOn * AlwaysOn Availability Groups (AG) & Listener * AlwaysOn Failover * AlwaysOn Active Secondaries.
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.
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.
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.
SQLSaturday (Silicon Valley) – Mar
Introduction to Clustering
Turgay Sahtiyan Istanbul, Turkey
Sponsors.
AlwaysON Availability groups
Architecting Availability Groups
ALWAYSON AVAILABILITY GROUPS
Navigating the options for Data Redundancy
Disaster Recovery Where to Begin
AlwaysOn Mirroring, Clustering
Always On Availability Groups
Always on HA SQL Server Always ON feature is the new comprehensive high availability and disaster recovery solution which increases application availability.
Contained DB? Did it do something wrong?
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
What’s new in SQL Server 2016 Availability Groups
Planning High Availability and Disaster Recovery
SYED SAJID WASIM SQL SERVER ALWAYS ON Step by Step.
Database Mirroring The Basics
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.
Distributed Availability Groups
Designing Database Solutions for SQL Server
Presentation transcript:

SQL AlwaysOn Availability Groups Tomislav Balaž

Sadržaj Što je AlwaysOn Availability groups Feature? Koristi koje nam donosi AlwaysOn FCI vs AO Database Mirroring vs AO Preduvjeti Napomene Novo u SQL 2016 Demo

Što je AlwaysOn Availability Groups Feature? AlwaysOn Availability Groups feature is a high-availability and disaster-recovery solution that provides an enterprise-level alternative to database mirroring. Dostupan je od verzije 2012 Potrebna verzija je Enterprise

Kakve koristi nam donose AG Jedna primarna Availability replica i do osam secondary Availability replica Synchronous i Asynchronous commit mode Tri tipa failover-a Active secondary replica (Read-only ili Backup) Availability Listener za svaku AG Failover Policy AlwaysOn Dashboard i PowerShell cmdlets Replica je instanca baze na drugoj instanci SQL servera Asynchronous-commit mode. This availability mode is a disaster-recovery solution that works well when the availability replicas are distributed over considerable distances. Synchronous-commit mode. This availability mode emphasizes high availability and data protection over performance, at the cost of increased transaction latency. A given availability group can support up to three synchronous-commit availability replicas, including the current primary replica. automatic failover, planned manual failover (generally referred as simply "manual failover"), and forced manual failover (generally referred as simply "forced failover") U SQL serveru 2016 moći ćemo definirati failover ako je baza corruptana kroz AG health monitor (verzija 2014 gleda samo health SQL instance) http://download.microsoft.com/download/D/7/5/D750D5B9-8692-42FC-80D8-0EA9C3E76739/SQL_Server_2016_Mission_Critical_Performance_White_Paper.pdf (str. 20)

Usporedba FCI vs AllwaysOn Nodes within an FCI Replicas within an availability group Uses WSFC cluster Yes Protection level Instance Database Storage type Shared Non-shared Storage solutions Direct attached, SAN, mount points, SMB Depends on node type Readable secondaries No Applicable failover policy settings WSFC quorum FCI-specific Availability group settings Failed-over resources Server, instance, and database Database only

Usporedba Databse Mirroring vs AllwaysOn Database Mirroring AlwaysOn Availability Groups Maximum number of secondary databases 1 Mirror 4 Secondaries Requires Windows Clustering No Yes, however the SQL Servers can be stand-alone Automatic failover Yes, requires witness server and high-safety mode Yes, one HA or DR Choose one Each secondary independently configurable Groups of databases No, each database is configured separately Multiple databases can be grouped to failover together Offload backups Yes Connection to active database Requires special connection string for failover Redirection handled by Windows Clustering with a virtual name. Special connection string not required Connection string to mirror or secondary database N/A ApplicationIntent connection string to automatically redirect or can use traditional connection string with server name.

Preduvjeti Windows Server 2008 ili noviji SQL Server 2012 .Net framework 3.5.1 Node u WSFC Hotfixes ako koristite Windows Server 2008 ili 2008R2 Ne na DC Svi SQL serveri moraju imati isti collation Enable AllwaysOn Availability groups Link: https://msdn.microsoft.com/en-us/library/ff878487(v=sql.110).aspx#SystemRequirements Checklist https://msdn.microsoft.com/en-us/library/ff878487(v=sql.110).aspx#SystemRequirements

Napomene Enterprise edition Brisanje baze, gubitak data file-ova ili corruption transaction loga ne uzrokuju failover Server configuration settings, Credentials, Jobs, Cros-Database queries, Linked servers… System databases ne mogu biti dio AG Baze moraju biti u Full recovery model DB replike moraju biti na različitim nodovima u FC Link: https://msdn.microsoft.com/en-us/library/ff878487(v=sql.110).aspx

Novo u SQL 2016 3 synchronous replicas for auto failover Loadbalancing on read only replica Automatic failover on database health Link: http://download.microsoft.com/download/D/7/5/D750D5B9-8692-42FC-80D8-0EA9C3E76739/SQL_Server_2016_Mission_Critical_Performance_White_Paper.pdf

Setup 1. Create Cluster 2. Add nodes to cluster 3. Setup file share majority 4. Enable AllwaysOn 5. Create Availability Group 6. Backup database 7. Add database to Availability group 8. Failover

Demo 1. Availability group wizard 2. Read only replica 3. Backup replica 4. Test failover Pokazati wizard i objesniti svaki dio wizarda. Kreirati read only replicu Pokazati backup on secondary Pokazati failoverpolicy Test failover

?