Thomas Jorczik, Business Development Manager, SIOS Competence and Support Center Clusters Your Way.

Similar documents
Three Ways Enterprises are Protecting SQL Server in the Cloud

SQL Server 2012/2014 AlwaysOn Availability Group

DataKeeper Cloud Edition. v7.6. Release Notes

Windows Geo-Clustering: SQL Server

WELKOM Cloud met Azure

CREATING SQL SERVER DISASTER RECOVERY SOLUTIONS WITH SIOS DATAKEEPER

SQL Server AlwaysOn (HADRON)

Dell High Availability and Disaster Recovery Solutions Using Microsoft SQL Server 2012 AlwaysOn Availability Groups

SQL Server AlwaysOn Deep Dive for SharePoint Administrators

SQL Server AlwaysOn. Michal Tinthofer 11. Praha What to avoid and how to optimize, deploy and operate.

Enterprise Linux Business Continuity Solutions for Critical Applications

Extending Your Availability Group for Disaster Recovery

Implementing Microsoft Windows Server Failover Clustering (WSFC) and SQL Server 2012 AlwaysOn Availability Groups in the AWS Cloud

Appendix A Core Concepts in SQL Server High Availability and Replication

TABLE OF CONTENTS THE SHAREPOINT MVP GUIDE TO ACHIEVING HIGH AVAILABILITY FOR SHAREPOINT DATA. Introduction. Examining Third-Party Replication Models

Deploy App Orchestration 2.6 for High Availability and Disaster Recovery

Creating SANLess Microsoft SQL Server Failover Cluster Instances with SIOS DataKeeper Cluster Edition and SanDisk Fusion iomemory

Windows Server Failover Clustering April 2010

Critical SQL Server Databases:

Microsoft Windows Server Failover Clustering (WSFC) and SQL Server AlwaysOn Availability Groups on the AWS Cloud: Quick Start Reference Deployment

Advanced HA and DR.

70-414: Implementing a Cloud Based Infrastructure. Course Overview

GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster

Mission-Critical Availability

SQL Server AlwaysOn

Module 14: Scalability and High Availability

Scaling Database Performance in Azure

Designing a Data Solution with Microsoft SQL Server 2014

SteelEye DataKeeper Cluster Edition. v7.6. Release Notes

Floating on a Hybrid Cloud: SQL Server 2012 & Microsoft Azure. Timothy P. McAliley Microsoft Premier Field Engineer SQL Server

MS 20465C: Designing a Data Solution with Microsoft SQL Server

SAP NetWeaver High Availability and Business Continuity in Virtual Environments with VMware and Hyper-V on Microsoft Windows

Powering the Next Generation Cloud with Azure Stack, Nano Server & Windows Server 2016! Jeff Woolsey Principal Program Manager Cloud & Enterprise

New hybrid cloud scenarios with SQL Server Matt Smith 6/4/2014

Course 20465C: Designing a Data Solution with Microsoft SQL Server

SteelEye DataKeeper Cluster Edition. v7.5. Release Notes

"Charting the Course... MOC C Designing a Data Solution with Microsoft SQL Server Course Summary

Cloud Computing Disaster Recovery (DR)

SQL Server High Availability: After Virtualization SQL PASS Virtualization Virtual Chapter September 11, 2013

Microsoft Azure Cloud on your terms. Start your cloud journey.

High Availability and Disaster Recovery for Exchange Servers Through a Mailbox Replication Approach

Deploying Exchange Server 2007 SP1 on Windows Server 2008

Configure AlwaysOn Failover Cluster Instances (SQL Server) using InfoSphere Data Replication Change Data Capture (CDC) on Windows Server 2012

Veritas Cluster Server by Symantec

Implementing and Managing Windows Server 2008 Clustering

Symantec Cluster Server powered by Veritas

Availability Guide for Deploying SQL Server on VMware vsphere. August 2009

Installing and Configuring a SQL Server 2014 Multi-Subnet Cluster on Windows Server 2012 R2

Database Mirroring: High Availability (HA) and Disaster Recovery (DR) Technology

DISASTER RECOVERY WITH AWS

SQL Server on Azure An e2e Overview. Nosheen Syed Principal Group Program Manager Microsoft

Microsoft SQL Server Native High Availability with XtremIO

Veritas InfoScale Availability

Designing a Data Solution with Microsoft SQL Server 2014

Microsoft SQL Server 2008R2 Mirroring

Designing a Data Solution with Microsoft SQL Server

Failover clustering and active directory certificate services in windows server 2012

Quorum DR Report. Top 4 Types of Disasters: 55% Hardware Failure 22% Human Error 18% Software Failure 5% Natural Disasters

EXTENDED ORACLE RAC with EMC VPLEX Metro

Course 20465: Designing a Data Solution with Microsoft SQL Server

Designing a Data Solution with Microsoft SQL Server

Installing and Configuring a. SQL Server 2012 Failover Cluster

Expert Reference Series of White Papers. Unlock the Power of Microsoft SQL Server 2012

Deployment Topologies

Rethink Disaster Recovery with Microsoft

WHITE PAPER. Best Practices to Ensure SAP Availability. Software for Innovative Open Solutions. Abstract. What is high availability?

Eliminate SQL Server Downtime Even for maintenance

Performance Monitoring AlwaysOn Availability Groups. Anthony E. Nocentino

Implementing Microsoft Azure Infrastructure Solutions

Microsoft SharePoint 2010 on VMware Availability and Recovery Options. Microsoft SharePoint 2010 on VMware Availability and Recovery Options

Microsoft SQL Server 2014 on VMware Virtual SAN 6.1 Hybrid R E F E R E N C E A R C H I T E C T U RE

Grade Disaster Recovery with Azure Site

EMC MULTISITE DISASTER RECOVERY FOR MICROSOFT SQL SERVER 2012

Capability VMware Hyper-V

Course 20465C: Designing a Data Solution with Microsoft SQL Server

MICROSOFT WINDOWS SERVER FAILOVER CLUSTERING WITH EMC VPLEX

Deployment Options for Microsoft Hyper-V Server

Microsoft Cross-Site Disaster Recovery Solutions

Designing a Data Solution with Microsoft SQL Server

DR-to-the- Cloud Best Practices

Integrated Application and Data Protection. NEC ExpressCluster White Paper

Implementing Microsoft Azure Infrastructure Solutions

Storage Based Replications

Veritas Cluster Server from Symantec

Data Protection with IBM TotalStorage NAS and NSI Double- Take Data Replication Software

Continuous Availability for Business-Critical Data. MetroCluster Technical Overview

Storage and High Availability with Windows Server

Design for Failure High Availability Architectures using AWS

Storage and Disaster Recovery

SQL Server Mirroring. Introduction. Setting up the databases for Mirroring

Continuous Availability for Business-Critical Data

Data Protection. for Virtual Data Centers. Jason Buffington. Wiley Publishing, Inc. WILEY

SQL Server Whitepaper. Top 5 SQL Server. Cluster Setup Mistakes. By Kendra Little Brent Ozar Unlimited

EMC Business Continuity for Microsoft SQL Server Enabled by SQL DB Mirroring Celerra Unified Storage Platforms Using iscsi

20465C: Designing a Data Solution with Microsoft SQL Server

Double-Take Cloud Migration Center (CMC) Tech Brief

Transcription:

Windows Clustering @SQL Saturday #313 Thomas Jorczik, Business Development Manager, SIOS Competence and Support Center jorczik@cc-dresden.de www.cc-dresden.de Clusters Your Way. +9 () 351 87692

Agenda What is Clustering? SQL High Availability Options ª AlwaysOn Availability Groups ª AlwaysOn Failover Cluster Instance ª #SANLess Failover Cluster Instance Clustering Basics Configuration Details High Performance #SANLess Failover Clusters Clustering in the Cloud 2

What is clustering? 3

Clustering A Brief History 1995 LifeKeeper 1. available on NCR NT based servers 1997 Microsoft Cluster Server (MSCS) introduced in Windows NT Server. Enterprise 28 MSCS rebranded with the release of Windows Server 28 to Windows Server Failover Cluster (WSFC) SIOS launches DataKeeper Cluster Edition to support #SANLess Clusters with WSFC 212 AlwaysOn label introduced to describe SQL High Availability (HA) options in SQL Server 212

Terms to Know Downtime ª Planned ª Unplanned Recovery Time Objective (RTO) Recovery Point Objective (RPO) Disaster Recovery (Multisite Cluster) High Availability (How many 9 s) Failover Replication 5

Availability Equation Availability = (total time - down time) / total time 6

High availability and disaster protection Protect mission-critical applications SQL Server, SAP, Oracle Failover for high availability ª Moves operation of application to a standby server Replication for #SANLess clustering and disaster recovery Traditional Shared Storage Cluster #SANLess Cluster Failover Failover APP APP Block Level Replication 7

SQL Server High Availability Options SQL Server 212/21 AlwaysOn vs #SANLess Clusters AlwaysOn Availability Groups AlwaysOn Failover Cluster Instance AlwaysOn Failover Cluster Instance WITHOUT a SAN SIOS DataKeeper Cluster Edition Replication Software 8

SQL Server 21 AlwaysOn Availability Groups Introduced in SQL Server 212 Evolution of Database Mirroring New Features Include Grouping Databases into Failover Groups Integration with Windows Server Failover Clustering (WSFC) Uses WSFC quorum models Uses Cluster Client Access Point Readable Secondary SQL 21 Enhancements Secondary Replicas increased from to 8 Requires SQL Server 212/21 Enterprise Edition 9

SQL Server 21 AlwaysOn Failover Cluster Instance Renamed in SQL Server 212 Previously called SQL Server Failover Cluster New Features Include: Support for cross subnet failover Integration with Windows Server Failover Clustering (WSFC) Uses WSFC quorum models Uses cluster Client Access Point Actually is a true clustered instance Requires SQL Server 212/21 Standard or Enterprise Edition Requires Shared Storage 1

#SANLess Cluster Combines the benefits of AlwaysOn Failover Cluster Instance with AlwaysOn Availability Groups Eliminates need for a SAN Supports Cloud Deployments Runs on SQL 28/212/21 Standard or Enterprise Edition Supports High Performance Failover Clusters

Side-by-side Comparison AlwaysOn AlwaysOn SIOS Availability Failover DataKeeper Groups! Cluster! w/ AlwaysOn Failover Cluster! 1 Support SQL Server Standard Edition 2 Protect distributed transactions 3 Protect an unlimited number of databases Protect system databases (master, MSDB, etc) 5 Automate database administration 6 Support more than two nodes in failover configuration 7 Replicate data other than SQL 8 Improve replication efficiency 2 9 Eliminate SAN as SPOF 1 Support multisite clusters 12

Clustering Basics 13

The Building Block Regardless of which solution you use, Windows Server Failover Clustering is the building block of all the SQL Server HA solutions 1

Building a 2-node Failover Cluster Instance Documented in detail in my blog article http://clusteringformeremortals.com/212/12/31/windowsserver-212-clustering-step-by-step/ Add the Failover Clustering Feature Configure your storage (optional) Run Cluster Validation Create the cluster Adjust quorum type if necessary 15

Configuring the Quorum Highly recommend reading this Microsoft Press Blog: From the MVPs: Understanding the Windows Server Failover Cluster Quorum in Windows Server 212 R2 Quorum Types Node Majority Node & Disk Majority Node & File Share Majority Disk Only (legacy, not recommended) Rule of Thumb Always have an odd number of votes Multisite cluster quorum it s complicated File Share Witness in 3rd site required for automatic failover Read TechNet Blog on File Share Witness 16

Node and Disk Witness Node1 Node2 17

Node and File Share Witness Node3 Node Node1 Node2 File Share Witness 18

Multisite Cluster Failover File Share Witness Node1 Replication Node2 19

Multisite Cluster Failover File Share Witness Node1 Replication Node2 2

Multisite Cluster Failover Node1 Replication Node2 File Share Witness In 3rd location 21

Quorums in Windows 212 R2 Dynamic Quorum (introduced in Windows 212) Dynamic Witness Tie Breaker for 5% node split (Get-ClusterNode Name "Node1").Id (Get-Cluster).LowerQuorumPriorityNodeID = 1 Take Away In Windows 212 R2 it is ALWAYS recommended to configure a witness, regardless of the number of nodes in the cluster. 22

Configuration Detail 23

Configuring AlwaysOn Availability Groups Creation and Configuration of Availability Groups (SQL Server) Install Windows Cluster Install a Standalone SQL Server 212/21 Enterprise Use the domain account for the SQL service account Open Port 133 and 522 or disable the Windows Firewall Create a sample database Set recovery model to Full Back up this sample database Enable the AlwaysOn feature on both instances using SQL Server Configuration Manager Create an Availability Group using the Availability Group Wizard 2

Configuring AlwaysOn Failover Cluster Create a New SQL Server Failover Cluster (Setup)Install Windows Cluster Configure the SAN to share LUNS with each cluster node Install Windows Cluster Use SQL Server 212/21 Standard or Enterprise Install the first node using New SQL Server Failover Cluster Installation Install additional nodes using Add node to a SQL Server Failover Cluster 25

Configuring AlwaysOn Failover Cluster 26

Configuring a #SANLess CLuster http://clusteringformeremortals.com/213/1/5/clustering-sqlserver-212-on-windows-server-212-step-by-step/ Create the cluster Install SIOS DataKeeper Create the DataKeeper Volume Resources Install the first node using New SQL Server Failover Cluster Installation Install additional nodes using Add node to a SQL Server Failover Cluster 27

#SANLess Clusters for High Performance Environments 28

#SANLess Clustering with DataKeeper Cluster Edition Flexible protects physical, virtual, cloud, hybrid cloud Easy Supports Windows Server Failover Clustering Environments Efficient Real time, blocklevel replication synchronizes local storage Node 1 Node 2 Synchronous or Asynchronous Low Latency Block Replication Between Server Nodes 29

#SANLess Cluster Replication Performance 1.2M Inserts per Second 1M 8K 6K K HA nearly as Fast! as no-ha! 25% Faster than AlwaysOn! No Mirror SANLess Cluster Replication AlwaysOn SQL Replication 2K 3

#SANLess MultiSite Clusters in Azure Azure-West Fault Domain SQL1 Fault Domain Block Replication across Fault Domains SQL2 Fault Domain DC1 Azure Cloud Service File Share Witness 31

#SANLess MultiSite Clusters in Amazon Amazon AWS Availability Zone SQL1 Availability Zone Block Replication across Fault Domains SQL2 Availability Zone DC1 File Share Witness Amazon VPC 32

Why Use #SANLess Clustering? 33

Spend a lot less on licensing Included in SQL Server Enterprise & Standard Edition Provides HA and more robust features Huge savings on licensing AlwaysOn Availability Groups Requires SQL Server 212/21 Enterprise Edition 3

Protect distributed transactions. AlwaysOn Failover Clustering Cannot protect distributed transaction coordinator (DTC) Not aware of post failover instance ID of server SIOS DataKeeper with Always On Availability Groups Works with Windows Server Failover Clustering to Protect Entire SQL Instance Preserves server instance ID after failover SIOS DataKeeper Cluster Edition 35

Protect System Databases AlwaysOn Availability Groups Only replicates user defined databases NOT MSDB & Master DBS Agent jobs & SQL Server account info NOT automatically synchronized no failover as part of the Availability Groups SIOS DataKeeper & AlwaysOn Failover Cluster Protects the entire SQL Server instance All system databases, failover ensuring complete recovery, including SQL Agent jobs and account information. Protects the entire SQL Server instance Automatically includes databases as they are added (or dropped), in the protection scheme 36

Failover with more than two nodes. FAILOVER AlwaysOn Availability Groups No more than two nodes in a failover configuration Limited to a single site. SIOS DataKeeper with AlwaysOn Failover Clustering Flexibility to configure a multinode failover Mix SAN-based and #SANLess Deploy a multisite cluster for HA & DR No need for multiple SANs. Configure all replicated storage or combine shared & replicated storage. FAILOVER FAILOVER APP REPLICATION Hybrid Storage Hybrid Cloud 37

Replicate any data type. AlwaysOn Availability Groups Only replicates SQL Server databases, leaving other data types unprotected. SIOS DataKeeper Cluster Edition with Windows Server Failover Cluster Delivers complete protection of both SQL data and the data your application relies on outside of the SQL database 38

Improve replication efficiency. When AlwaysOn Availability Groups is configured in a synchronouscommit mode (required for high availability) it slows application write performance. Microsoft describes synchronous-commit mode as emphasizes high availability over performance, at the cost of increased transaction latency. SIOS DataKeeper Uses efficient block level replication that minimizes the performance impact of synchronous replication Also supports asynchronous replication 39

Side-by-side Comparison AlwaysOn AlwaysOn Availability Failover Groups! Cluster! SIOS DataKeeper w/ AlwaysOn Failover Cluster! 1 Support SQL Server Standard Edition 2 Protect distributed transactions 3 Protect an unlimited number of databases Protect system databases (master, MSDB, etc) 5 Automate database administration 6 Support more than two nodes in failover configuration 7 Replicate data other than SQL 8 Improve replication efficiency 2 9 Eliminate SAN as SPOF 1 Support multisite clusters

Resources Clustering for Mere Mortals Configuring Availability Groups ª ª Always On Failover Cluster Overview ª http://msdn.microsoft.com/en-us/library/ms18913.aspx Understanding Quorum in a Failover Cluster ª www.clusteringformeremortals.com ª http://blogs.technet.com/b/scvmm/archive/212/1/2/ how-to-configure-sql-212-alwayson-availability-groupsin-system-center-212-virtual-machine-manager-servicepack-1.aspx http://www.brentozar.com/archive/211/7/how-set-up-sqlserver-denali-availability-groups/ What s New in Failover Clustering in Windows Server 212 R2 ª http://technet.microsoft.com/en-us/library/dn265972.aspx http://blogs.msdn.com/b/clustering/archive/ 211/5/27/1169261.aspx Understanding File Share Witness Placement ª http://blogs.technet.com/b/askpfeplat/archive/212/6/27/ clustering-what-exactly-is-a-file-share-witness-and-whenshould-i-use-one.aspx 1

Sprechen Sie mit uns: SIOS Competence and Support Center Central Region and Eastern Europe m h e n r Wi. t i e Z ie d s n en u D - 1219 Dresden Wiener Straße 11 116 +9 () 351 87692 Web: http://www.sios-csc.de http://us.sios.com E-Mail: sales@sios-csc.de Twitter: @SIOS_CSC