SQL Monitor 9

Installing SQL Monitor with High Availability

Having multiple components which span different technologies, there are several options when implementing SQL Monitor as a High Availability solution.

This page describes:

SQL Monitor components and popular HA options

Data repository

Making a SQL Server database highly available is common and the same techniques can be used for the SQL Monitor database, the most popular being:

  • Availability Group
  • SQL Server Failover Cluster instance

Web server

When choosing a Web server to use with SQL Monitor, there are two installation options; default SQL Monitor web server (IIS Express) and your own IIS Server.

Users choosing their own IIS Server can use existing techniques to make that IIS Server highly available.

If using the default SQL Monitor web server, this can be configured as a Windows Failover Cluster Resource (instructions below)

Monitoring service

This can be configured as a Windows Failover Cluster Resource (instructions below)

Installation guide

The steps required to configure SQL Monitor as a High Availability solution, this example uses the following methods:

  • Data repository - Availability Group database
  • Web server - Windows Failover Cluster resource
  • Monitoring service - Windows Failover Cluster resource


This guide requires a Windows Failover Cluster to have been pre-configured and SQL Server instances available to be part of an Availability Group as well as prior knowledge of configuring Availability Groups.

Installation steps

  1. To use an Availability Group database as part of the solution, create an empty database, Availability Group and Availability Group listener using your preferred method.
  2. Copy the SQL Monitor installer to all nodes on your Windows Failover Cluster


  1. Run the SQL Monitor installer, selecting the default options of installing both the default Web interface and monitoring service and choose a port that the web interface will be accessible over..
  2. When asked to specify a database for the repository, choose Select database and Use an existing database. Specify the Availability Group listener and database previously created.
  3. Complete the remainder of the installation wizard and install.
  4. When the installation has completed, load the web interface and specify an Administrator password.
  5. Close the web interface.
  6. Open Services.msc
  7. Locate the SQL Monitor Base Monitor and SQL Monitor Web Server services.
  8. For each service, open Properties and set the Start type to Manual.
  9. Stop both the SQL Monitor Base Monitor and SQL Monitor Web Server services.
  1. Run the SQL Monitor installer, configuring the same options as when installing onto the passive node.
  2. When the installation has completed, load the web interface and enter the Administrator password.
  3. Close the web interface.
  4. Open Services.msc
  5. Locate the SQL Monitor Base Monitor and SQL Monitor Web Server services.
  6. For each service, open Properties and set the Start type to Manual.
  1. Run the Failover Cluster Manager and connect to the Windows Failover Cluster.
  2. Click Roles and select an existing role, or create a new empty role.
  3. With the role selected, choose Add Resource > Generic Service from the Actions section on the right hand side.
  4. Select the SQL Monitor Base Monitor service from the services list.
  5. Complete the wizard.
  6. Repeat the above for the SQL Monitor Web Server service.
  7. With the role selected, open the Resources tab from the bottom pane.
  8. For each SQL Monitor resource, right click and choose Bring online.
  9. Attempt to connect to the SQL Monitor web interface using a browser and the Windows Cluster name (or Availability Group listener name if you selected an existing Availability Group role) and verify it is working.


Upgrade guide


When configuring SQL Monitor in this way, extra steps are needed to successfully upgrade the Web server and Monitoring service.

Upgrade steps


  1. Open Failover Cluster Manager and connect to the Windows Failover Cluster.
  2. Locate the SQL Monitor Base Monitor and Web Server resources in your role.
  3. Right click each resource and Take offline.
  1. Run the SQL Monitor installer and complete the installation.
  2. Open Services.msc
  3. Locate the SQL Monitor Base Monitor and SQL Monitor Web Server services.
  4. For each service, open Properties and set the Start type to Manual.
  5. Stop both the SQL Monitor Base Monitor and SQL Monitor Web Server services.
  1. Run the SQL Monitor installer and complete the installation.
  2. Open Services.msc
  3. Locate the SQL Monitor Base Monitor and SQL Monitor Web Server services.
  4. For each service, open Properties and set the Start type to Manual.
  5. Stop both the SQL Monitor Base Monitor and SQL Monitor Web Server services.
  6. Open Failover Cluster Manager and connect to the Windows Failover Cluster.
  7. Locate the SQL Monitor Base Monitor and Web Server resources in your role.
  8. Right click each resource and Bring online.

Do you have any feedback on this documentation?

Let us know at sqlmonitorfeedback@red-gate.com


Didn't find what you were looking for?