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

Slides:



Advertisements
Similar presentations
SQL Server AlwaysOn: Active Secondaries Luis Vargas Program Manager Microsoft Corporation DBI312.
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.
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 2012 Always On Premier Field Engineer Microsoft Corporation Lisa Gardner
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
IT Pro Day SQL Server 2012 AllwaysOn Stephan Hurni Microsoft V-TSP Principal Consultant, Trivadis AG
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,
© 2011 PLANET TECHNOLOGIES, INC. Upgrading Your SharePoint and SQL Environments Patrick Curran, MCT SEPTEMBER 22, 2012.
Cracking Execution Plans By Sarabpreet Singh Anand.
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
DBI Meets mission critical high availability SLA Integrated Efficient Flexible.
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.
Roger Technology Solution Professional DataPlatform Microsoft Corporation SQL Server 2012AlwaysOn Availability Groups.
Troubleshooting DeadLocks By Sarabpreet Singh Anand.
Speaker Name 00/00/2013. Solution Requirements.
Alwayson Availability Groups
DBI302 AlwaysOn Availability Groups for database protection AlwaysOn Availability Groups for database protection AlwaysOn Failover Cluster Instances.
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 |
Warwick Rudd – Henry Rooney – How Available is SQL Server 2016? DAT33 6.
1 Chapter Overview Using Standby Servers Using Failover Clustering.
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.
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.
Turgay Sahtiyan Istanbul, Turkey
Sponsors.
AlwaysON Availability groups
ALWAYSON AVAILABILITY GROUPS
Disaster Recovery Where to Begin
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
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?
SQL AlwaysOn Availability Groups
Required 9s and data protection: introduction to sql server 2012 alwayson, new high availability solution Santosh Balasubramanian Senior Program Manager.
Always On : Multi-site patterns
AlwaysOn, an Early bird Overview
AlwaysOn Availability Groups 101
Disaster Recovery Where to Begin
Always On : Multi-site patterns
Always On : Multi-site patterns
High availability & performance
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
Designing Database Solutions for SQL Server
Presentation transcript:

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

Sarabpreet Singh Anand  SQL Server MVP  MCTS, MCITP: Admin, MCT certifications  Vice President & Regional Mentor SQLServerGeeks.com  Expert in handling VLDBs & Disaster Management  Conducted many SQL Server Boot camp Trainings across India  Regular Speaker:  UG Events, In-person Events & Webcasts  Microsoft Community Tech Days (CTD),Etc  Follow  

 Why AlwaysON  What is required to configure AlwaysON  Benefits of AlwaysON  How AlwaysON works  Diff. Topologies  Readable Secondary  Backup on Secondary  Demo  How to implement\Configure AlwaysON  Backups on Secondary  Readable Secondaries Agenda

Implement for Each DB Either Sync\Aync – DBM Single mirror DB Possible in DBM DB Failover Single DB No Automatic – LS Need Witness for Automatic Failover– DBM Application Failover Not So Easy – LS With PartnerFailover Value – DBM Reporting\Backup Reporting – just a workaround – also for limited time only No Backup Possible Limitations in DB Mirroring & Log Shipping

 Windows Failover Cluster  SQL Server 2012 Enterprise\Developer\Evaluation Edition  All Nodes should be part of the same domain.  Static IP for Listener (a DHCP also Works but….)*  Same Drive Letters on all Nodes otherwise....*  AlwaysON should be enabled on each SQL Installation Service  All participating DBs should be in Full Recovery model with minimum of One Full backup.  Shared Folder* What is required to configure AlwaysON

Implementation Multiple DBs Sync & Async Multiple DBs can Failover together Automatic\Manual Failover Transparent App Failover Configuration Multiple Secondary Upto 4 Replicas Upto 3 Sync Upto 2 Automatic Failover Automatically creates a Listener Use Secondary for reporting Use Secondary for Backups Mix Sync\Async Builtin Compression Builtin Encryption Shared & Non Shared Disk Creates Auto Stats for Secondary Upto 10 AGs and in total upto 100 DBs on an Instance. Benefits of AlwaysON

How AlwaysON Work  Clients connect to primary replica using Listener  A failover is initiated  SQL-AG1 confirms failover and informs WSFC  Bring SQL-AG1 offline  Clients are disconnected  Brings SQL-AG2 online  AG & Listener resource moves to SQL-AG2  Clients are automatically redirected to SQL-AG2 using Listener  WSFC notify all secondary replicas  Secondaries reconnect to the new primary replicas mirroring endpoint and synchronization resumes Availability Group Listener

Topology Examples AA AA Direct attached storage local, regional and geo secondaries AA AA Synchronous data movement Asynchronous data movement

Client connects to the Availability Group Listener  Standard connections are routed to the Primary server for read/write operations  ReadOnly connections are routed to a readable secondary based on ReadOnly routing configuration Readable secondary Readonly routing Availability Group Listener

 Backups can be done on any replica of a database to offload I/O from primary replica  Transaction log backups, plus COPY_ONLY full backups  Backup jobs can be configured on all replicas and preferences set so that a job only runs on the preferred replica at that time  This means no script/job changes are required after a failover  Transaction log backups done on all replicas form a single log chain Readable Secondary Offloading Backups To a Secondary

Let’s see how to  How to Implement AlwaysON  How to Failover  AlwaysON Dashboard  How to Configure  Backups on Secondaries  Readable Secondaries  Test Readable Routing  Listener  Add DB to same AlwaysON Group

Thank you Speaker Contact Info: