Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width300px

Table of Contents
 

Column
width400px
Panel
bgColor#f4f4f4
titleRelated Articles
Column
width400px

Filter by label (Content by label)
showLabelsfalse
max5
spacesSPAG
sortmodified
showSpacefalse
reversetrue
typepage
labelsdistributed

Use Case

Setting up a high availability (HA) monitoring envirnoment between two SONARPLEX devices.

Example Setup

The instructions are based on the example setup as described below.

SONARPLEX HA Master

This is the SONARPLEX HA master device which contains the productive host- and servicechecks.

IP-Address

172.16.0.100

azeti Agent Port

4192

azeti Agent PasswordSamplePW

SONARPLEX HA Slave

This is the SONARPLEX HA slave device which is completely empty and contains no productive information.

...

  1. Configure the SONARPLEX HA master as the productive device. No further configuration is necessary.
  2. Configure the SONARPLEX HA slave with just the host of the HA master. Add a servicecheck to that host with the template "check_azeti_ha".
  3. Let the SONARPLEX HA slave run this servicecheck to start syncronisation.

Step-by-step guide

SONARPLEX HA Master

  1. Insert excerpt
    _OpenAdminWeb
    _OpenAdminWeb
    nopaneltrue
     > Configuration > Network > Agent Configuration
  2. Set Agent Password to "SamplePW" (without quotes)
  3. Click  to save the configuration.

SONARPLEX HA Slave

  1. Insert excerpt
    _OpenAdminWeb
    _OpenAdminWeb
    nopaneltrue
    > Configuration > Setup > Hosts
  2. Create new host with the IP of the SONARPLEX HA master, in this case 172.16.0.100.

  3. Create new service with the plugin "check_azeti_ha" and add the just created host to the list of hosts to check.
  4. Change the normal check interval to a value between 3-5 minutes to reduce gaps due to failover transitions.
  5. Set Password (Optional) to the given SONARPLEX HA master Agent password "SamplePW" (without quotes).
  6. Click  to save the configuration.

 

...

Verify the setup

To verify the functionality of the high availability setup on your SONARPLEX devices, follow these steps:

On SONARPLEX HA Slave

  1. Open User Webinterface > Monitoring > Services
  2. See the just created HA service check to report "OK" with a note on syncronized files, for example:
Code Block
Failover behavior: automatic, HA mode 0: Monitor process is up, last complete syncronization: 2014-08-20 08:13:28 (302 files)

 

On SONARPLEX HA master

  1. If the syncronization is complete, shut down the SONARPLEX HA master device to test HA functionality.

Final result

Let the SONARPLEX HA slaves service check "check_azeti_ha" run through the following HA modes:

...