ZABBIX Forums  
  #1  
Old 05-12-2017, 23:03
tmroberts tmroberts is offline
Junior Member
Zabbix certified professionalZabbix certified specialist
 
Join Date: Jan 2017
Location: Seattle, WA
Posts: 13
Default Zabbix Active/Active Server Cluster

This has been posted on here a few times but I've not see much in the way of concrete yes/no answers or how-to's....

We are deploying a new Zabbix instance to AWS and we are trying to figure out if its possible, and if so how, to create an H/A and load balanced Zabbix server. I know its possible and even fairly easy to create a load balanced and scalable web front end and the database backend, but there seem to be NO answers for the server component.

So... yes or no, is it possible to create a zabbix server that is h/a AND load balanced with active/active nodes

If yes, how?
Reply With Quote
  #2  
Old 06-12-2017, 21:11
nelsonab nelsonab is offline
Senior Member
Zabbix certified specialist
 
Join Date: Sep 2006
Location: Virginia
Posts: 1,212
Default

At present it is not possible to Active/Active the Zabbix server. This is because the Zabbix server maintains a cached state of the data in the DB. You can however have multiple web frontends. If you want to HA the Zabbix server, you can use a VIP and fail that over between an active and passive node. You'll need to leverage the sourceip configuration options in the server conf file.
__________________
RHCE, author of zbxapi
Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

Reply With Quote
  #3  
Old 07-12-2017, 16:39
GPegel GPegel is offline
Senior Member
Zabbix certified professionalZabbix certified specialist
 
Join Date: Dec 2015
Location: The Netherlands
Posts: 101
Default

I totally agree with Nelsonab. In my case I have a created a master/slave setup for the Zabbix database. And I have setup 2 Zabbix web-frontends behind a load balancer. It doesn't get more HA than this I guess.
Reply With Quote
  #4  
Old 07-12-2017, 19:50
kloczek kloczek is online now
Senior Member
 
Join Date: Jun 2006
Location: UK/London
Posts: 870
Default

Active/active DB backend setup is possible with sitting LB between zabbix srv and DB backends.
Nevertheless there is no something for nothing and active/active setup is possible paying maximum possible performance. In other words this will be working up-to-some-performance beyond which will be possible to use only master/slave DB backend.

Conclusion: if someone is planing to reach ~+1K NVPS scale starting from active/active DB backent is pure waste of time.
Reply With Quote
  #5  
Old 08-12-2017, 14:27
GPegel GPegel is offline
Senior Member
Zabbix certified professionalZabbix certified specialist
 
Join Date: Dec 2015
Location: The Netherlands
Posts: 101
Default

@kloczek, true but sometimes companies want to have a 'disaster and recovery' setup. So that's why I had to create a master/slave setup for the DB backend. And no I'm not doing 1K of NVPS. I just hit the 200
Reply With Quote
  #6  
Old 08-12-2017, 21:20
kloczek kloczek is online now
Senior Member
 
Join Date: Jun 2006
Location: UK/London
Posts: 870
Default

+Two databases in master/slave setup + console as orchestration automatically promoting slave as new master can do this.
Using console it is possible to orchestrate rebuilding new slave when previously unavailable master needs to be rebuild to provide functions of new slave.
Instead console can be used any other multi node orchestration infrastructure.
Reply With Quote
  #7  
Old Yesterday, 14:17
GPegel GPegel is offline
Senior Member
Zabbix certified professionalZabbix certified specialist
 
Join Date: Dec 2015
Location: The Netherlands
Posts: 101
Default

I totally agree about using console. I'm trying out the posibility to use VAMP in a test environment. https://vamp.io/
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:45.