Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: RMA, what HA does and what not
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

...

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

 

What HA does and what not

High availability is a function that syncronizes two SONARPLEX devices by copying the configuration, all RRD graphs and all log files from a master to a slave SONARPLEX device. In case of a failure (e.g. hardware malfunction, power outage etc.) of the master, the slave will load the synchronized data and takes over the role of the former master.

Info

This does not include an automatic IP-address failover! All IPs remain unchanged, so make sure the slave has access to all of the configured hosts that are being monitored!

If the real master is back online, the slave will recognize it and falls back to the slave state automatically. In this moment, all RRD graphs and log files that were collected in the meantime will be re-synced with the real master again.

Info

Only RRD graphs and logs are getting re-synced back. Configuration changes are not synced back! Any config changes done while the slave acted as master will be lost. Better consider creating a backup of the configuration to restore it on the real master after switching back.

 

Example Setup

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

...

  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

Anchor
ha-step-by-step
ha-step-by-step

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.

...

  1. Insert excerpt
    _OpenAdminWeb
    _OpenAdminWeb
    nopaneltrue
    > Status > Monitor
  2. Click on "Stop the monitor process"
  3. Wait for the HA slave SONARPLEX to take over


Disconnect from the network (not recommended)

The last way is to just disconnect the HA master SONARPLEX from the network so the HA slave SONARPLEX won't recognize it anymore. This is not recommended as the monitoring procss on the former HA master SONARPLEX is still running and you can end up with inconsistent graphs and logs, once the connection has been re-established.

...

If one of your HA members suffers a hardware failure and needs to be replaced, contact support@azeti.net for assistance in creating an RMA. The following article describes the procedure after receiving your RMA replacement device.

  1. Boot the new SONARPLEX device and connect it to the network
  2. Setup an IP-address which is different from the original HA master SONARPLEX
  3. Install all updates and patches to match the version of your running HA slave SONARPLEX
  4. Create a backup on the HA slave SONARPLEX containing all parts except "System" (this would overwrite the IP-address)
  5. Restore this backup on your new SONARPLEX device
  6. Change the IP-address of your new SONARPLEX device to match the one from the old HA master SONARPLEX
  7. After this change has commited, the HA slave SONARPLEX will switch back to slave mode again

If this takes too long, you also have the opportunity to exchange the roles of both HA devices. This way, the running device will become the full HA master SONARPLEX and the replaced unconfigured device will become the new HA slave SONARPLEX.TODO

  1. Change the IP-address of your running HA device to the IP of the former HA master SONARPLEX
  2. Setup the new SONARPLEX device as you did the first time by setting up the HA slave SONARPLEX IP-address
  3. Configure the new HA slave SONARPLEX as mentioned in the Step-by-step guide