A high-availability cluster for a Zabbix server is easier to configure compared to Apache or a database server. Whether it's a standalone server or a node that is a part of a distributed setup, the procedure is exactly the same, as shown in the following diagram:
Once you have installed Corosync and Pacemaker on the two nodes (see the previous sections for details), you will also install Zabbix on the nodes that will make the cluster. You will then need to configure Zabbix to listen to the virtual IP address that you have identified for the cluster. To do so, change both SourceIP
and ListenIP
to the appropriate value in the zabbix_server.conf
configuration file:
SourceIP=10.10.1.9 ListenIP=10.10.1.9
Note
Needless to say, change the IP value to the one that you have reserved as a virtual IP for the Zabbix cluster and that is appropriate for your environment.
You can now proceed to disable STONITH using the following command:
$ crm configure property...