Building Clusters to Protect SQL Server in Cloud Configurations David Bermingham Senior Technical Evangelist, SIOS Technology Microsoft Cloud & Datacenter MVP (2010-Present) Copyright @ 2017 SIOS Technology Corp. All rights reserved.
Dave Bermingham Microsoft Cloud and Datacenter MVP (2010-current) Founder of www.clusteringformeremortals.com SIOS Technology Senior Technical Evangelist (2004-current) Focused on helping customers deploy HA and DR solutions on Windows Servers Copyright @ 2017 SIOS Technology Corp. All rights reserved. 2
Agenda Cloud SLA Azure, AWS Potential Points of Failure SQL Server HA Options AlwaysOn Failover Clusters AlwaysOn Availability Groups Cloud Infrastructure Availability Zones, Availability Sets SIOS Product Demonstration Copyright @ 2017 SIOS Technology Corp. All rights reserved. 3
Cloud SLA Copyright @ 2017 SIOS Technology Corp. All rights reserved. 4
Azure s SLA 99.95% (~22 minutes month)...but read the fine print Only applies to two or more instances in an Availability Set Provides dial-tone to the instance But wait.what about the storage? 99.9% write guarantee (~44 minutes month) What about SQL Server? No guarantee you must manage SQL Server Availability Copyright @ 2017 SIOS Technology Corp. All rights reserved. 5
AWS SLA Copyright @ 2017 SIOS Technology Corp. All rights reserved. 6
Potential Points of Failure Copyright @ 2017 SIOS Technology Corp. All rights reserved. 7
If your applications are in The Cloud what happens if your clients lose internet connectivity? The Bottom Line on High Availability The Cloud Azure Virtual Machine Service Internet Access What is your plan for an outage of The Cloud? Geographic Region Availability Set Fault Domain Update Domain Load Balancer What steps can you take to ensure your data stays online? VM Instance How do you maintain uptime for planned maintenance and unplanned outages? How can you ensure your SQL Server Service stays online? How can you ensure Active Directory and DNS Services are available? Storage SQL Services AD/DNS Networking Is your vnet up and running? Who has access to firewalls and Network Security Groups (NSG)? Copyright @ 2017 SIOS Technology Corp. All rights reserved. 8
Redundancy is not enough Web and application services in different geographic locations in the cloud What about the Data Tier? Microsoft SQL Server cannot be made redundant with a simple load balancer and multiple instances in different Availability Zones Availability Zone 1 Availability Zone 2 Databases such as SQL Server need additional configuration Load balancers in front of Web or Application servers Copyright @ 2017 SIOS Technology Corp. All rights reserved. 9
SQL Server HA Options Copyright @ 2017 SIOS Technology Corp. All rights reserved. 10
What are Your Choices for SQL Server High Availability (HA) in the Cloud? AlwaysOn Availability Groups HA feature introduced in SQL Server 2012 Enterprise Edition An evolution of SQL Server Database Mirroring An alternative to AlwaysOn Failover Clustering v s SANLess Failover Clustering AlwaysOn Failover Clustering - included in both SQL Server Enterprise and Standard Edition Delivers HA and robust data protection features for a fraction of the cost of AlwaysOn Availability Groups Copyright @ 2017 SIOS Technology Corp. All rights reserved. 11
SANLess Cluster vs. Availability Groups AlwaysOn Availability Groups Pre-SQL 2016 #SANLess Cluster Support SQL Standard Edition 0 4 Distributed Transactions 0 4 Unlimited Databases 0 4 Protects System Databases (Master, MSDB, etc) 0 4 Eases Database Administration 0 4 Support more than 2-nodes in failover configuration 0 4 Replicates Data other than SQL 0 4 Copyright @ 2017 SIOS Technology Corp. All rights reserved. 12
SANLess Cluster vs. Availability Groups AlwaysOn Availability Groups SQL 2016 #SANLess Cluster Support SQL Standard Edition 1 4 Distributed Transactions 1 4 Unlimited Databases 0 4 Protects System Databases (Master, MSDB, etc) 0 4 Eases Database Administration 0 4 Support more than 2-nodes in failover configuration 2 4 Replicates Data other than SQL 0 4 Copyright @ 2017 SIOS Technology Corp. All rights reserved. 13
Poll Question #1 What do you currently use for high availability for SQL Server (on premises)? Copyright @ 2017 SIOS Technology Corp. All rights reserved. 14
Cloud Infrastructure Copyright @ 2017 SIOS Technology Corp. All rights reserved. 15
Fault Domain Update Domain WEB1 WEB2 WEB3 SQL SQL FSW Availability Set DC1 DC2 Copyright @ 2017 SIOS Technology Corp. All rights reserved. 16
Windows Azure-West Fault Domain #SANLess Failover Cluster Failover Fault Domain Block Replication across Fault Domains SQL 1 SQL 2 Fault Domain Windows Azure Cloud Service DC2 File Share Witness
Regional or Cloud Outage Protection Asynchronous replication to Off-Site DR Node Failover Node 1 Synchronopus Replication to Local nodes Node 2 Copyright @ 2017 SIOS Technology Corp. All rights reserved. 18
Region 1 Region 2 Azure Region Pairs East US West US East US 2 Central US North Central US South Central US West Central US West US 2 Canada East Canada Central Brazil South South Central US US Gov Iowa US Gov Virginia US DoD East US DoD Central North Europe West Europe UK West UK South Germany Central Germany Northeast Copyright @ 2017 SIOS Technology Corp. All rights reserved. 19
VPC Availability Zone 1 #SANLess Failover Cluster Failover Availability Zone 2 Block Replication across Availability Zones SQL 1 SQL 2 Availability Zone 3 Amazon EC2 Cloud Service DC2 File Share Witness
Poll Question #2 What cloud platform do you currently use? Copyright @ 2017 SIOS Technology Corp. All rights reserved. 21
Demonstrate Automated Deployments Copyright @ 2017 SIOS Technology Corp. All rights reserved. 22
SIOS DataKeeper Overview Copyright @ 2017 SIOS Technology Corp. All rights reserved. 23
Traditional Failover Cluster Failover Single Point of Failure Not Available in the Cloud Copyright @ 2017 SIOS Technology Corp. All rights reserved. 24
SIOS Software Enables SANLess Windows Server Failover Clusters Traditional failover clustering requires shared storage Shared storage is not available in public clouds or not practical (VMware) or costeffective SIOS SANLess clusters use locally attached storage no SAN required SQL SERVER storage FAILOVER Replication storage SQL SERVER SQL SERVER storage A SIOS DataKeeper Volume resource emulates a Physical Disk resource, allowing shared nothing clusters for any cluster workload Copyright @ 2017 SIOS Technology Corp. All rights reserved. 25
SANLess Clustering with DataKeeper Failover Replication Synchronous or Asynchronous Low Latency Block Replication Between Server Nodes Copyright @ 2017 SIOS Technology Corp. All rights reserved. 26
SANLess Clustering with DataKeeper Failover Replication Synchronous or Asynchronous Low Latency Block Replication Between Server Nodes Copyright @ 2017 SIOS Technology Corp. All rights reserved. 27
SANLess Clustering with DataKeeper 1. 2. 3. Copyright @ 2017 SIOS Technology Corp. All rights reserved. 28
Multisite Cluster with Hybrid Cloud Failover Failover Replication Synchronous or Asynchronous Low Latency Block Replication Between Server Nodes Copyright @ 2017 SIOS Technology Corp. All rights reserved. 29
SANLess Clustering in AWS Availability Zone1 Failover Availability Zone2 Node1 Replication Across Availability Zones Availability Zone3 Node2 Witness Copyright @ 2017 SIOS Technology Corp. All rights reserved. 30
SANLess Clustering in Azure Azure-West Fault Domain Failover Fault Domain Replication SQL 1 SQL 2 Across Fault Domains Fault Domain DC2 File Share Witness
SPS for Linux - Overview Enables High Availability for SQL Server running on Linux! SIOS Protection Suite for Linux LifeKeeper High Availability Failover Clustering DataKeeper Host Based, block level replication Application Recovery Kits Application level monitoring/failover Supports Single or Multi-Site Configs Leverage any backend storage (FC SAN, iscsi, NAS, etc) Automatic or Push Button failover Enables Clustering without shared Storage Synchronous or Asynchronous modes Out of the box, Wizard based setup Copyright @ 2017 SIOS Technology Corp. All rights reserved.
SPS Linux Deployment in Azure 3 Nodes in an Availability Set 2 Cluster nodes + Witness Server Communication Paths (aka heartbeats) between all 3 systems Witness Server protects against split-brain Data replicated between cluster nodes in real-time Internal Load Balancer (ILB) configured for client redirection Copyright @ 2017 SIOS Technology Corp. All rights reserved.
Customer Use Cases Copyright @ 2017 SIOS Technology Corp. All rights reserved. 39
SAP on Azure: Large Software Company The Company Worldwide leader in software, services devices and solutions that help people and businesses realize their full potential Primary OS: Windows The Challenge Migrating SAP environment to Hyper-V, followed by Azure - need to maintain high availability on SAP components (must be SAP Certified) The Solution Added SIOS DataKeeper Cluster Edition software to WSFC to build 2-node failover clusters in both Hyper-V and Azure Efficient, real time replication synchronizes storage between servers Copyright @ 2017 SIOS Technology Corp. All rights reserved.
SQL and SAP on Azure: Zespri The Company Zespri the world s largest marketer of kiwifruit with operations in more than 53 countries. Primary OS: Windows The Challenge Move large SAP and SQL infrastructure operations which manage operations within multiple countries to AZURE Must be SAP Certified The Solution Added SIOS DataKeeper Cluster Edition software to WSFC to build 2-node failover clusters to protect SQL Server and SAP ASCS SIOS High Availability enabled for Dev, UAT and Production SAP and SQL Server environments Efficient, real time replication synchronizes storage between servers Copyright @ 2017 SIOS Technology Corp. All rights reserved.
SAN and SANLess Clusters SIOS High Availability Solution Value: Meet challenging demands of the data center shift to the virtual and cloud instances Eliminate customer need to sacrifice VMware features when enabling guest clusters Lift and shift on-premises configuration into the cloud Eliminate costly re-architecture of infrastructure and applications when moving to the cloud Copyright @ 2017 SIOS Technology Corp. All rights reserved.
Thank you. SIOS Technology http://us.sios.com Twitter: @SIOSTech Call Toll Free: 866.318.0108 Learn More and Get a Free Trial of SIOS DataKeeper: Today s Presenter: Dave Bermingham Microsoft Cloud & Datacenter MVP (2010-2016) Senior Technical Evangelist, SIOS Technology Blog: www.clusteringformeremortals.com Twitter: @DaveBerm Email: David.Bermingham@us.sios.com us.sios.com/products/sios_datakeeper/windows Copyright @ 2017 SIOS Technology Corp. All rights reserved.