SlideShare a Scribd company logo
AlwaysOn from the
Front Lines
SQL SERVER 2016
Let me Introduce myself:
Name: Sitotpal Sarkar
Pronunciation guide: Sit-oath-paul Sir-Car
Currently a senior member of the DBA team at
Keck-Medicine of USC
Table of Contents
• Prerequisites:
• This environment:
• SQL Server Installation
• Failover Cluster Installation
• Windows Failover Clustering Configuration forAlways On Availability
Groups
• ConfigureCluster Quorum Settings
• Listener
Prerequisites:
• Ensure that the system is not a domain controller.
• Ensure that each computer is runningWindows Server 2012 or later
versions.
• Ensure that each computer is a node in aWindows Server Failover
Clustering (WSFC) cluster.
This environment:
• My environment:
• OS -Windows 2016
• SQL Server - SQL Server 2016 Enterprise Edition
SQL Server Installation
• AlWays on availability group requires the Enterprise installation,
"New SQL Server stand-alone installation..." follow the instructions
and Click Next, Next, Next, Install
Failover Cluster Installation
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
Windows Failover Clustering Configuration for Always On
Availability Groups
Always on from the front lines1
Always on from the front lines1
•
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
Configure Cluster Quorum Settings:
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
demo
Always on from the front lines1
Enable AlwaysOn Availability Groups Feature
on SQL Server 2016
Always on from the front lines1
Always on from the front lines1
• Configure SQL Server 2016 AlwaysOn Availability Groups
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
Always on from the front lines1
demo
Always on from the front lines1
3 node cluster AlwaysOn fixed
demo
Always on from the front lines1
3 node cluster AlwaysOn fixed
demo
Always on from the front lines1
AlwaysOn From The Frontline
My Email Address:
Sitotpal@sbcglobal.net
Please support our sponsors

More Related Content

PPT
Virtualization s4.1
PDF
VMworld 2013: vCenter Deep Dive
PDF
VMworld 2013: vSphere vCenter Single Sign-on Best Practices
PDF
VMworld 2014: vCenter Server Architecture and Deployment Deep Dive
PPTX
Mvp skill saturday ep 03
PDF
VMworld 2013: vSphere Upgrade Series Part 1: vCenter Server
PDF
Configuring v sphere 5 profile driven storage
PDF
RHT Design for Security
Virtualization s4.1
VMworld 2013: vCenter Deep Dive
VMworld 2013: vSphere vCenter Single Sign-on Best Practices
VMworld 2014: vCenter Server Architecture and Deployment Deep Dive
Mvp skill saturday ep 03
VMworld 2013: vSphere Upgrade Series Part 1: vCenter Server
Configuring v sphere 5 profile driven storage
RHT Design for Security

What's hot (20)

PPTX
VMware ESXi 6.0 Installation Process
PDF
RHT Upgrading to vSphere 5
PPTX
vCenter Server 5.5 Single Sign-On VMDir deep dive
DOCX
Vmware training course
DOCX
Vmware v sphere 5
PPTX
LAB Configuration Video - II
PPTX
Cloud infrastructure licensing and pricing customer presentation
PPTX
Uponor Exadata e-Business Suite Migration Case Study
PPTX
2016.05.23 wivmug user con - vsphere 6 upgrade
PPTX
2016.07.20 indy vmug usercon - vsphere 6 upgrade
PPTX
2016.11.03 ncwivmug super meeting - v sphere 6 upgrade
PPTX
Intro To Selenium
PPT
Xenserver 5 Selling And Positioning
PPTX
SSL deep dive vCenter Server 5.5
PDF
Vsphere esxi-vcenter-server-50-installation-setup-guide
PDF
CPAVMUG Presentation 2016-04-06 - Management Cluster
PPTX
Whats new v sphere 6
PDF
Why Use Oracle VM for Oracle Databases? Revera Presentation
PPT
Varargs perf ibmwas_comp_v02_e
PDF
Migrating to ESXi: How To
VMware ESXi 6.0 Installation Process
RHT Upgrading to vSphere 5
vCenter Server 5.5 Single Sign-On VMDir deep dive
Vmware training course
Vmware v sphere 5
LAB Configuration Video - II
Cloud infrastructure licensing and pricing customer presentation
Uponor Exadata e-Business Suite Migration Case Study
2016.05.23 wivmug user con - vsphere 6 upgrade
2016.07.20 indy vmug usercon - vsphere 6 upgrade
2016.11.03 ncwivmug super meeting - v sphere 6 upgrade
Intro To Selenium
Xenserver 5 Selling And Positioning
SSL deep dive vCenter Server 5.5
Vsphere esxi-vcenter-server-50-installation-setup-guide
CPAVMUG Presentation 2016-04-06 - Management Cluster
Whats new v sphere 6
Why Use Oracle VM for Oracle Databases? Revera Presentation
Varargs perf ibmwas_comp_v02_e
Migrating to ESXi: How To
Ad

Similar to Always on from the front lines1 (20)

PPTX
SQL Server Lecture 1
PDF
Nordic VMUG User Conference 2014 - Design VMware vCenter Server
PPTX
Auto Deploy Deep Dive – vBrownBag Style
PPTX
2016 oSC MySQL Firewall
PPTX
Oracle VM 3.4.1 Installation
PPTX
Nashville VMUG Keynote April 8 2015 - vSphere 6
PDF
SQL Server Alwayson for SharePoint HA/DR Step by Step Guide
PPTX
Sql server 2012 ha dr 24_hop_final
PPT
Mmik powershell dsc_slideshare_v1
PPT
Mmik_Powershell_DSC_Azure_DSC
PDF
Sql server 2012 autoexec event no 39
PDF
12 Things about Oracle WebLogic Server 12c
PPTX
Upgrading to VMware vSphere 6.0
PDF
Easy way to do rolling upgrades for SQL Server
PPTX
Sql server 2012 ha dr 24_hop_final
PDF
A Jouney Through Wonderland - Jimdo
PPTX
SQL Server 2016 AlwaysOn Availability Groups New Features
ODP
Couchbase training basic
PPTX
VMworld 2015: Just Because You COULD, Doesn’t Mean You SHOULD – vSphere 6.0 A...
PDF
SQL Server Clustering for Dummies
SQL Server Lecture 1
Nordic VMUG User Conference 2014 - Design VMware vCenter Server
Auto Deploy Deep Dive – vBrownBag Style
2016 oSC MySQL Firewall
Oracle VM 3.4.1 Installation
Nashville VMUG Keynote April 8 2015 - vSphere 6
SQL Server Alwayson for SharePoint HA/DR Step by Step Guide
Sql server 2012 ha dr 24_hop_final
Mmik powershell dsc_slideshare_v1
Mmik_Powershell_DSC_Azure_DSC
Sql server 2012 autoexec event no 39
12 Things about Oracle WebLogic Server 12c
Upgrading to VMware vSphere 6.0
Easy way to do rolling upgrades for SQL Server
Sql server 2012 ha dr 24_hop_final
A Jouney Through Wonderland - Jimdo
SQL Server 2016 AlwaysOn Availability Groups New Features
Couchbase training basic
VMworld 2015: Just Because You COULD, Doesn’t Mean You SHOULD – vSphere 6.0 A...
SQL Server Clustering for Dummies
Ad

Recently uploaded (20)

PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Machine Learning_overview_presentation.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PPTX
Tartificialntelligence_presentation.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Encapsulation theory and applications.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Mushroom cultivation and it's methods.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
August Patch Tuesday
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Empathic Computing: Creating Shared Understanding
Digital-Transformation-Roadmap-for-Companies.pptx
Machine Learning_overview_presentation.pptx
Spectroscopy.pptx food analysis technology
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Tartificialntelligence_presentation.pptx
Network Security Unit 5.pdf for BCA BBA.
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Encapsulation theory and applications.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Univ-Connecticut-ChatGPT-Presentaion.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
SOPHOS-XG Firewall Administrator PPT.pptx
Approach and Philosophy of On baking technology
Mushroom cultivation and it's methods.pdf
Assigned Numbers - 2025 - Bluetooth® Document
August Patch Tuesday
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Empathic Computing: Creating Shared Understanding

Always on from the front lines1

Editor's Notes

  • #4: Always On Availability Groups is an enterprise-level high-availability and disaster recovery solution introduced in SQL Server 2012 to enable you to maximize availability for one or more user databases. Always On Availability Groups requires that the SQL Server instances reside on Windows Server Failover Clustering (WSFC) nodes.
  • #7: First, we need to add the Windows Failover Cluster Feature to all the nodes running the SQL Server instances that we will configure as replicas. OS - Windows 2016. So to do that, Open the Server Manager  => select Add roles and features.
  • #8: Click Next until Select Features dialog box comes up.
  • #10: Select the Failover Clustering checkbox
  • #11: Click Install to install the Failover Clustering feature.
  • #12: Now, Open Server Manager and select "Fail over Cluster Manager
  • #13: Select Failover Cluster Manager and select the Option Create Cluster OR You can right-click on the Failover Cluster Manager and select Create Cluster from the menu.
  • #14: We will Create Cluster from the Wizard
  • #15: Add the Nodes (Servers) if you know them already just type them in and click add or you can browse and find them, you want be in the Cluster and then click Next
  • #16: You will be getting a validation warning. Select Yes to Validate the Cluster nodes
  • #17:   Select the Testing option, Run all tests
  • #18: Failover Cluster Testing is complete, it is a good practice to analyze report as well, to that you will simply click View report. I would also like to note here that: The Cluster Validation Wizard is expected to return several Warning messages, especially if you will not be using shared storage. Other than that if you find any error messages you need to fix them prior to creating the Windows Server Failover Cluster.
  • #19: In the Access Point for Administering the Cluster dialog box, enter the Cluster name and virtual IP address for Windows Server Failover Cluster , then click Next.
  • #20: Cluster creation is complete, you can see here however you should view report for analysis.
  • #21: Quorum is a configuration database for the cluster and is stored on a shared location, accessible to all of the nodes in a cluster. In Case of Even number of nodes (but not a multi-site cluster Node) then Disk Majority Quorum configuration is recommended. If you don't have a shared storage Node then File Share Majority is recommended. In our case here we will be configuring a FileShare Witness quorum. It is recommended that you configure the quorum size to be 500 MB. This size is the minimum required for an efficient NTFS partition. Larger sizes are allowable but are not currently needed.
  • #22: Right Click on Your Cluster Select Configure Cluster Quorum Setting from the More action menu.
  • #23: Click Next,… Next
  • #24: In the Select Quorum Witness page, select the Configure a file share witness option. Click Next.
  • #25: Type the path of the file share that you want to use in the File Share Path: text box. Click Next. It is recommended to have the share folder on a different node than the node participating on Cluster
  • #26: In the Confirmation page, click Next.
  • #27: In the Summary page, click Finish.
  • #30: We can now proceed with enabling the AlwaysOn Availability Groups feature in SQL Server 2016. This is possible after installing and configuring the Windows Failover Cluster on all the nodes. Open SQL Server Configuration Manager - > SQL Server Properties - [SQL Server (SQLAG01)] In the Properties dialog box, select the AlwaysOn High Availability tab. Check the Enable AlwaysOn Availability Groups check box. This will prompt you to restart the SQL Server service. Click OK.
  • #31: SQL server properties page, AlwaysOn High Availability Tab. Type the Cluster name.
  • #32:  Right click on the SQL server service (SQL Server (SQLAG01), Restart the SQL Server service.
  • #33: Go to Management Studio, right click Availability Groups and click New Availability Group Wizard. Click Next
  • #34: Specify Availability Group Name . This group name is SQLAVG2016. Then click Next.
  • #35: Choose Database, Here you can see whether the DB meets the prerequisites, Database should be in full recovery mode. You should make a full backup to add the DB into the Availability Group
  • #36: Specify Replicas: This page applies to the New Availability Group Wizard and the Add Replica to Availability Group Wizard of SQL Server 2016. If a server instance that will host a secondary replica is not listed by the Availability Replicas grid, click the Add Replica button.
  • #37:  Adding Secondary Replica here, Make connection to the secondary Replica, Click connect
  • #38: Here Check Auto Failover and Synchronous Commit for both Primary and Secondary, Then Click End points Tab.
  • #39: Endpoints Use this tab to verify any existing database mirroring endpoints and also, if this endpoint is lacking on a server instance whose service accounts use Windows Authentication, create the endpoint automatically. Click Backup Preferences Tab.
  • #40: Backup Preference  Use this tab to specify your backup preference for the availability group as a whole and your backup priorities for the individual availability replicas. Choose Prefer Secondary. Click on Listener Tab.
  • #41: In Listener Tab: An availability group listener is a virtual network name (VNN) to which clients can connect in order to access a database in a primary or secondary replica of an AlwaysOn availability group. You point applications to the listener (which is registered with DNS) and directs traffic in the AG. Then move to Select Data Synchronization.
  • #42: Select Data Synchronization   Use the Always On Select Initial Data Synchronization page to indicate your preference for initial data synchronization of new secondary databases. This page is shared by three wizards—the New Availability Group Wizard, the Add Replica to Availability Group Wizard, and the Add Database to Availability Group Wizard. The possible choices include Full, Join only, or Skip initial data synchronization. Before you select Full or Join only ensure that your environment meets the prerequisites.   For each primary database, the Full option performs several operations in one workflow: create a full and log backup of the primary database, create the corresponding secondary databases by restoring these backups on every server instance that is hosting a secondary replica, and join each secondary database to availability group. Select this option only if your environment meets the following prerequisites for using full initial data synchronization, and you want the wizard to automatically start data synchronization. Specify a shared network location accessible by all replicas. Click next.  
  • #43: Here verify your choices and click finish. Hope fully things will go as planned.
  • #52: It was a great pleasure to have this opportunity to present AlwaysOn From The Frontline to you today. I hope you have learned how to implement AlwaysOn step by step and what are some of the challenges you may face and how to resolve those challenges. Thank you very much. For further questions and comments please email me!