Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
11 views

SQL Server Always On Setup

Uploaded by

huayang liu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

SQL Server Always On Setup

Uploaded by

huayang liu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

SQL Server “AlwaysOn” setup on ObserveIT environment

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

Creator/Contributor/Editor Date Version


Zeev Cohen July 28, 2016 1.0

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.

Install a SQL Server as a new install or as a new Named-Instance


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
-NOTE: The following should be done on all the SQL Server NODEs on each of the Windows Cluster NODEs.

4
Select the Full-Text Search Feature

Make sure the same Collation is selected on all NODEs

5
Choose Mixed-Mode for the Authentication Mode

Update the SQL Server Service to Log-On as the Service Account


The following should be done on all the Windows Cluster NODEs for each of the SQL Server Service

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.

Perform Custom Installation of ObserveIT Databases on NODE1


Please follow the instructions on the document “Perform Custom Installation” under the section “Installing the
ObserveIT databases”.

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

Right-Click and select ‘New Availability Group Wizard…’

Name the Availability Group

Select the ObserveIT Databases


8
9
Click ‘Add Replica’, add the second or more NODEs, Click ‘Connect’

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.

You will need to use:

For the database the AG-Listener DNS Name.

For the Application Server(s) use the Load-Balancer NODE name.

15

You might also like