SQL Server Always On Setup
SQL Server Always On Setup
Overview
ObserveIT can be easily installed on a SQL Server AlwaysOn environment.
The AlwaysOn is part of Microsoft SQL Server Enterprise Edition and should be deployed in a Windows Cluster
environment.
Table of Contents
Prerequisites and assumptions for this document .............................................................................................3
Create a DNS Entry for the AG-Listener .............................................................................................................4
The AG-Listener (Availability Group) is the DNS Name that is used as the SQL Server Name during the
installation of the Web-Console and Application Server(s)...................................................................................... 4
Install a SQL Server as a new install or as a new Named-Instance ......................................................................4
Install a new SQL Server stand-alone Enterprise Edition or install a new Named-Instance, again using an
Enterprise Edition of SQL Server; same Server Collation should be selected .......................................................... 4
Select the Full-Text Search Feature .......................................................................................................................... 5
Make sure the same Collation is selected on all NODEs .......................................................................................... 5
Update the SQL Server Service to Log-On as the Service Account .......................................................................6
Enable the Always-On feature from the SQL Server Configuration Manager .......................................................7
Perform Custom Installation of ObserveIT Databases on NODE1 .......................................................................7
Configure the AlwaysOn Availability Group.......................................................................................................8
Summary, this is how it should look with all components ................................................................................ 14
ObserveIT components installation................................................................................................................. 15
1
Document versions
This document uses screenshots and procedures written for Windows Server 2012 R2 and SQL Server 2014.
2
Prerequisites and assumptions for this document
This document assumes a Custom Installation is performed and the prerequisites from the document
“Perform Custom Installation” are met as well.
Windows Cluster setup is required between 2 or more NODEs that will participate in the AlwaysOn
environment, up to 8 NODEs are supported.
Port 1433 For SQL Server connectivity needs to be opened on the firewall on all NODEs
Port 5022 For SQL Server Always-On replication needs to be opened on the firewall on all NODEs
3
Create a DNS Entry for the AG-Listener
The AG-Listener (Availability Group) is the DNS Name that is used as the SQL Server Name during the installation
of the Web-Console and Application Server(s).
The DNS record we use is of type “A” – Address and has a IP Address assigned to it.
4
Select the Full-Text Search Feature
5
Choose Mixed-Mode for the Authentication Mode
All the nodes should be configured to run with the same service account.
6
Enable the Always-On feature from the SQL Server Configuration
Manager
Open the SQL Server Configuration Manager, select the new SQL Server or new Named-Instance installation and
check the ‘Enable AlwaysOn Availability Groups’, do this on all NODEs of the Windows Cluster.
This should be done only on NODE1 of the Windows Cluster, the Active NODE.
Later the databases will be replicated to the rest of the NODEs automatically.
7
Configure the AlwaysOn Availability Group
Take full backup of ObserveIT’s databases, this is a requirement before you can proceed
10
Make sure the ‘Automatic Failover’ are checked and the ‘Readable Secondary’ are configured to ‘Yes’, and click
‘Listener’
Add the Listener: Type the Name, port and click ‘Add’ to add the IP Address
11
Enter the IP Address and click ‘OK’
Click ‘Next’
12
All validations should ‘Success’ and press ‘Next’
Click ‘Finish’
13
Summary, this is how it should look with all components
14
ObserveIT components installation
Continue the installation following the ‘Perform Custom Installation’ document.
15