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 Password | SamplePW |
SONARPLEX HA Slave
This is the SONARPLEX HA slave device which is completely empty and contains no productive information.
IP-Address | 172.16.0.200 |
---|
The slave runs just one single HA service check to maintain HA capabilities. This service should run in short intervals (3-5 min.) to reduce the outage times and gaps in logging and graphs.
The general procedure is as follows:
- Configure the SONARPLEX HA master as the productive device. No further configuration is necessary.
- 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".
- Let the SONARPLEX HA slave run this servicecheck to start syncronisation.
Step-by-step guide
SONARPLEX HA Master
- Open the Administration Web Interface > Configuration > Network > Agent Configuration
- Set Agent Password to "SamplePW" (without quotes)
- Click to save the configuration.
SONARPLEX HA Slave
- Open the Administration Web Interface> Configuration > Setup > Hosts
Create new host with the IP of the SONARPLEX HA master, in this case 172.16.0.100.
- Create new service with the plugin "check_azeti_ha" and add the just created host to the list of hosts to check.
- Change the normal check interval to a value between 3-5 minutes to reduce gaps due to failover transitions.
- Set Password (Optional) to the given SONARPLEX HA master Agent password "SamplePW" (without quotes).
- 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
- Open User Webinterface > Monitoring > Services
See the just created HA service check to report "OK" with a note on syncronized files, for example:
Failover behavior: automatic, HA mode 0: Monitor process is up, last complete syncronization: 2014-08-20 08:13:28 (302 files)