Redmond Protocols Plugfest 2016 Kevin Farlee Senior Program Manager SQL Server AlwaysOn in SQL Server 2016.

Slides:



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

SQL Server AlwaysOn.
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
0 SQL Server AlwaysOn – SharePoint 2013 High Availability and Disaster Recovery Sal Bawany, Solutions Architect
Keith Burns Microsoft UK Mission Critical Database.
Virtual techdays INDIA │ September 2011 High Availability - A Story from Past to Future Balmukund Lakhani │ Technical Lead – SQL Support, Microsoft.
Microsoft SQL Server x 46% 900+ For Hosting Service Providers
Low Control | Low Maintenance Shared Lower cost Dedicated Higher cost High Control | High Maintenance Hybrid On premises Off premises SQL Server Physical.
4/17/2017 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
SQL Server 2012 Always On Premier Field Engineer Microsoft Corporation Lisa Gardner
SQL Server AlwaysOn: Active Secondaries Luis Vargas Program Manager Microsoft Corporation DBI312.
Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
SQL-Server 2012 Always On.
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,
Data platform market will be 36.2B by 2012Database key in hosted scenarios.
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.
OSIsoft High Availability PI Replication
Speaker Name 00/00/2013. Solution Requirements.
Alwayson Availability Groups
4/26/2017 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
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.
SQL Server 2012 Session: 1 Session: 4 SQL Azure Data Management Using Microsoft SQL Server.
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.
Deploying Highly Available SQL Server in Windows Azure A Presentation and Demonstration by Microsoft Cluster MVP David Bermingham.
Luis Vargas Senior Program Manager Lead Microsoft.
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.
Sql Server Architecture for World Domination Tristan Wilson.
AlwaysOn In SQL Server 2012 Fadi Abdulwahab – SharePoint Administrator - 4/2013
FUN WITH AVAILABILITY GROUPS Christopher Wolff SQL Server Database Engineer, Xero.
OSIsoft High Availability PI Replication Colin Breck, PI Server Team Dave Oda, PI SDK Team.
Microsoft Dynamics NAV Dynamics NAV 2016 one Azure SQL Dmitry Chadayev Microsoft.
Customer pulse Why Stretch? How Stretch works? Core Stretch scenarios Demo QA.
ALWAYSON AVAILABILITY GROUPS Replicas, Listeners & Quorums, Oh My! Kevin Howell SQL Saturday #517 Philadelphia, June 2016.
SQLSaturday (Silicon Valley) – Mar
Microsoft Connect /23/ :39 PM
Backups for Azure SQL Databases and SQL Server instances running on Azure Virtual Machines Session on backup to Azure feature (manual and managed) in SQL.
Azure Site Recovery For Hyper-V, VMware, and Physical Environments
Turgay Sahtiyan Istanbul, Turkey
Sponsors.
AlwaysON Availability groups
ALWAYSON AVAILABILITY GROUPS
Secrets to Fast, Easy High Availability for SQL Server in AWS
Disaster Recovery Where to Begin
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
BRK3286 SQL Server 2016 High Availability and Disaster Recovery in private and hybrid cloud deployments Denny Cherry
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
What’s new in SQL Server 2016 Availability Groups
Example of a page header
SYED SAJID WASIM SQL SERVER ALWAYS ON Step by Step.
AlwaysOn Availability Groups
High Availability/Disaster Recovery Solution
Windows Azure Hybrid Architectures and Patterns
04 | Always On High Availability
ZORAN BARAC DATA ARCHITECT at CIN7
Designing Database Solutions for SQL Server
Presentation transcript:

Redmond Protocols Plugfest 2016 Kevin Farlee Senior Program Manager SQL Server AlwaysOn in SQL Server 2016

How we develop SQL Cloud-first but not Cloud Only Using Azure SQL DB to improve core SQL Server features & cadence Many interesting and compelling on-premises  Cloud scenarios

Unified, simplified solution Easy to deploy, manage, and monitor  Allows using HA hardware resources  Fast, transparent failover  Detects failures reliably  Able to handle multiple failures Mission-Critical Availability

 Server failover  Useful in consolidation scenarios  Shared Storage (SAN / SMB)  Failover takes minutes  Multi-Node Clustering  Passive secondary nodes  Multi-database Failover  Direct attached storage  Failover takes seconds  Multiple Secondaries  Active Secondaries Failover Cluster Instances for servers Availability Groups for groups of databases Availability Groups for groups of databases

Availability Groups Introduced in SQL Server 2012  Multi-database Failover  Multiple secondaries  Sync / Async  Compression & Encryption  Manual/Automatic Failover  Flexible Failover Policy  Automatic Page Repair  Seamless App Connectivity  Configuration Wizard  Monitoring Dashboard  Diagnostics infrastructure  System Center integration  Full cross-feature support  Contained Databases, FileStream, FileTable, Service Broker, In- memory OLTP  Active Secondaries  Read workloads  Backups  PowerShell Automation  Fast Failover Integrated Efficient

An Availability Group Deployment Sync Log Synchronization Async Log Synchronization

HA At Cloud Scale

If you had a reference account with: 1.5 Million Databases across 16 Geographic regions processing 2.5 billion logins per week with 99.99% aggregate uptime Would it help you convince customers?

That’s what SQL Database accomplishes with this technology every day.

Challenges and Solutions

Challenge: Cumbersome to set up Setting up new replicas is cumbersome. Need to set up a file share and grant access Backup to the file share from Primary Restore (with no recovery!) from share to new secondary… How does Azure do this??

Automatic Seeding

Challenge: Wide area AGs are a pain. Commonly used for DR or data locality Quorum issues can shut down DR site Transient Network issues can disrupt availability Multiple replication streams wastes bandwidth

Distributed Availability Groups Intended for remote locations Resolves quorum issues between sites Improves WAN network efficiency Enables mixed Windows versions

Availability Group

Distributed Availability Group

Enterprise Scale

Log Transport Performance New hardware pushes boundaries Very high transaction rates have caused problems when coupled with fast hardware (i.e. PCI-E Flash storage) Re-worked the entire pipeline, end to end. Result is much lower CPU consumption, and much better performance. The bar we’re using is not % better than SQL2014. The bar is how close we are to the perf of a standalone server.

Database-level failover trigger Currently, AG health only monitors the health of the instance. A database can be offline or corrupt, but as long as the instance itself is healthy, we won’t trigger a failover will allow you to optionally change the health monitoring to also consider the health of the databases in the AG. Databases going offline trigger a change in the health status

Challenge: Can’t spread load across multiple secondaries. May have up to 2 sync secondaries, and 5 more async secondaries. Only one of them will get all read-only connections. Other nodes sit idle

Load Balancing in Readable Secondaries In SQL 2014, read-only transactions routed by the Listener, went to the first secondary that was available. Read-only Routing lists Now you can configure the ROR lists to round-robin among a specific set of secondaries. (for each primary)

Readable Secondary load balancing Primary Site DR Site Computer2 Computer3 Computer4 Computer5 Computer1 (Primary) READ_ONLY_ROUTING_LIST= ( (‘COMPUTER2’,’COMPUTER3’,’COMPUTER4’),’COMPUTER5’)

Challenge Service Password Maintenance SQL Service (sqlsrvr.exe) often needs permissions off-box. Common solution is using a domain account Security threat Maintenance nightmare

GMSA Support Group Managed Service Accounts (GMSA) Domain-scoped automatically managed service accounts Automatic password rotation Much more secure than regular domain accounts Enables cross system security context Why would I want a GMSA? How does it work? What versions will it be supported in?

DTC Support Currently, any distributed transactions touching a database in an availability group are not allowed. Many customers run unsupported, at risk to their data and our reputation Lots of Enterprise applications need cross database transactions. Partially Supported in 2016 Joint effort with Windows, requires specific patch in order to work cleanly 2016 RTM only supports distributed transactions where no two databases are hosted by the same instance

Challenge: Continued Availability SQL 2014 has 2 Auto-Failover targets If Primary goes down, there is no automatic failover possible. Can result in loss of availability due to manual failover

>2 Auto-Failover targets Increasing the scale of the solution Increasing resiliency Now any sync secondary can be a target for automatic failover Total of 3 auto-failover targets

Business Challenge: Single Domain Customers may have multiple domains: Bank mergers Multinational corporations Customer may not use AD for authentication at all

Domain-Independent Availability Groups New feature in Windows Server 2016 Environments supported Cross domains (with trust) Cross domains (no trust) No domain at all Cluster management via PowerShell only SQL management as normal Uses certificate-secured endpoints like DBM

Challenge: HA without Enterprise Edition Difficult to move off STD Edition/Database Mirroring configuration Customers unwilling to pay the Enterprise cost differential just for DBM – Always On

Basic Availability Groups on Standard Enables replacement of Database Mirroring by not requiring expensive EE license Limits mostly match DBM: Two replicas Sync or Async No Readable Secondaries No backup on secondary

Redmond Protocols Plugfest 2016 Questions or Comments?

Redmond Protocols Plugfest 2016 Thank You!