Hi All,
Pretty new to this zabbix, my company needs HA for the zabbix servers. So I followed this guide and managed to set up the pacemaker.
I followed this guide http://yallalabs.com/linux/how-to-co...1#comment-7359
I configured step by step and used this command to create VIP
pcs resource create cluster_vip ocf:heartbeat:IPaddr2 ip=127.0.0.2 cidr_netmask=24 op monitor interval=20s
I can access zabbix dashboard on 127.0.0.2, however I am facing two problems.
1) Since zabbix agent is running on both master 1 and master 2, its creating conflict in DB. I have pointed both zabbix servers to the same DB.
PGRES_FATAL_ERROR:ERROR: duplicate key value violates unique constraint “events_pkey”
and I see this error on dashboard ” Zabbix server is not running: the information displayed may not be current”
2) What IP entry do I make in my zabbix agents? They are not be able to pick up zabbix servers since its running on 127.0.0.2 and it fails to even telnet on the master server.
I hope if someone could help me out with this HA.
My question is, lets say my main zabbix server is zabbix_master1 and secondary is zabbix_master2, I want to use zabbix_master2 as standby, how do I make it work?
Pretty new to this zabbix, my company needs HA for the zabbix servers. So I followed this guide and managed to set up the pacemaker.
I followed this guide http://yallalabs.com/linux/how-to-co...1#comment-7359
I configured step by step and used this command to create VIP
pcs resource create cluster_vip ocf:heartbeat:IPaddr2 ip=127.0.0.2 cidr_netmask=24 op monitor interval=20s
I can access zabbix dashboard on 127.0.0.2, however I am facing two problems.
1) Since zabbix agent is running on both master 1 and master 2, its creating conflict in DB. I have pointed both zabbix servers to the same DB.
PGRES_FATAL_ERROR:ERROR: duplicate key value violates unique constraint “events_pkey”
and I see this error on dashboard ” Zabbix server is not running: the information displayed may not be current”
2) What IP entry do I make in my zabbix agents? They are not be able to pick up zabbix servers since its running on 127.0.0.2 and it fails to even telnet on the master server.
I hope if someone could help me out with this HA.
My question is, lets say my main zabbix server is zabbix_master1 and secondary is zabbix_master2, I want to use zabbix_master2 as standby, how do I make it work?
Comment