Zabbix HA Cluster

Zabbix HA Cluster ensures that two redundant zabbix servers are operational one in Active& other in standby state to ensure HA and Fault Tolerance. To configure HA Cluster we will make the following changes :

Node -1

Node one was wokking as the AIO based model and we will extend the server nodes. We will edit the config file

We will change the parameters HANodeName & NodeAddress parameter to enable HA Cluster

We will save & exit the file and restart the service and HA cluster will be enable and we will move forward in adding servers section.


Node -2

On node 2 we will just install the zabbix server by following the installation steps on the OEM documentation page

Zabbix Installation

After installing the zabbix server we will configure the following changes inside the conifig file :

We will make the following changes :

After saving the file we will start the services and the failover HA server will be present in the Reports > System Information page on the zabbix dashboard.


Resources

Note :

  1. Zabbix HA only supports single shared database server and to ensure HA we will need to setup the database HA individually.

  2. Only one server is active at a time and once the server fails the standby server will take the precedence as the master server to ensure HA


Adding Hosts in HA

By default the zabbix agents have capabilities to report to 2 servers at the same time so we will make the following configuration changes :

After changes are made we will restart the services to apply the changes.

Last updated