Zabbix 6.0 High Availability ( HA Cluster ) Setup Tutorial

Поділитися
Вставка
  • Опубліковано 18 жов 2024
  • Detailed tutorial on how to configure Zabbix with native high availability functionality that was introduced in Zabbix 6.0 LTS version. Eliminate single point of failure, and use simple out-of-the-box functionality instead of complex third-party tools for HA setup.
    ☕ In case if you want to support this content with coffee:
    ☕ www.buymeacoff...
    👋 SOCIAL MEDIA
    → / discord
    → / dmitrylambert
    → / dmitrylambert
    → / dmitry.lambert
    📫 Sign Up For Newsletter And Don't Miss Out on Anything
    📫 tinyurl.com/4s...

КОМЕНТАРІ • 44

  • @KatkadeR
    @KatkadeR 2 роки тому +6

    What if we shut down Node1 which have frontend and nginx?

  • @alexanderbeggins3098
    @alexanderbeggins3098 2 роки тому +18

    It`s not HA if your database is on one node.

  • @ericbanayal
    @ericbanayal Рік тому +2

    Without frontend, how to monitor your devices when the main server goes down ?

  • @gideon30
    @gideon30 Рік тому +2

    Regarding the HA, when Node1 is down, the connections will transfer to node2... how about when node1 is now UP, will it automatically transfer to node1 as Active?

  • @semirauthsala6001
    @semirauthsala6001 2 роки тому +3

    what happen if physical / virtual host goes down with database and front-end ? do we need to install DB/server/front-end in different servers to get full functionality in ha systems ?

    • @lung510
      @lung510 2 роки тому +1

      Seems this native HA cover zabbix-server only. I whether backup the full system than using this Server HA only solution 🤔

  • @mahdinajafi3002
    @mahdinajafi3002 8 місяців тому

    Thanks man. Very informative 🙏

  • @sjuarez2000
    @sjuarez2000 Рік тому +2

    I think it's misleading to say that Zabbix offers HA functionality when it really doesn't. The DB is on one node only, so how r u supposed to access the web management interface or DB when node 1 is offline?

    • @zabbixtraining
      @zabbixtraining  Рік тому

      Zabbix offers HA for zabbix component. Databases and web engine are mandatory, but not part of zabbix software. There are other ways to have database and web ha

    • @sjuarez2000
      @sjuarez2000 Рік тому +4

      @@zabbixtraining Care to show us how to achieve HA for DB and frontend? Thanks!

    • @ryzurrin
      @ryzurrin 5 місяців тому

      @@sjuarez2000 I second this!

  • @MerabKatibashvili
    @MerabKatibashvili Місяць тому

    High Availability ( HA Cluster ) if you want set domain name with SSL how will be configuration need to both servers or?

  • @magdytawfik9350
    @magdytawfik9350 8 місяців тому +1

    Great Man

  • @HenPadeh
    @HenPadeh 10 місяців тому

    Hey Dmitry, Let's say that the DB is install separately and also two zabbix servers, 101 and 102 (just like your video) Is there any way to install frontend on 102 so that if 101 in down and the DB is still up and running the zabbix frontend will still be running also ? Thanks 🙌

    • @zabbixtraining
      @zabbixtraining  10 місяців тому +1

      Sure, you can have frontend and server on same machine on each node

  • @juannogues8167
    @juannogues8167 Рік тому

    Hi, is the HA solution designed for the frontend or is it for the agents?

  • @SukhdevJadhav
    @SukhdevJadhav Рік тому +1

    How about frontend high availability?

  • @toddzilla
    @toddzilla 2 роки тому

    Thanks, very informative!

  • @aalmarshad
    @aalmarshad 6 місяців тому

    How to do it with SNMP? How to tell it there is another zabbix node?

  • @szakolczigabor
    @szakolczigabor 8 місяців тому

    Hi, thank you for the video. I would like to ask, what happens when I install the DB on separate machine, and the DB will be unreachable. Will the two zabbix-servers keep their active-standby statuses? Will I get notification about the DB unreachability from the active server? Or will just crash my monitoring system? Thank you.

    • @zabbixtraining
      @zabbixtraining  8 місяців тому +1

      If the database in inaccessible, you get a notification from active Zabbix. But cluster status and info which node is active and which passive is stored in database, so that info can't be changed without connection to db.

    • @szakolczigabor
      @szakolczigabor 8 місяців тому

      Thank you, @@zabbixtraining

  • @brunotaboada3429
    @brunotaboada3429 Рік тому

    Hi Dimitry, I have a question for you. Does zabbix support multiple active master instances?

  • @flavinhof
    @flavinhof 2 роки тому +1

    Even with this High Availability has a failure point at DB, am I right ?

    • @zabbixtraining
      @zabbixtraining  2 роки тому

      Yes, native HA is for server only

    • @azentavr
      @azentavr Рік тому +1

      @@zabbixtraining why there is nothing about database? Can it be something like circular (or master-master) replication for the DB?

  • @jigenm1917
    @jigenm1917 6 місяців тому +1

    I was working on Zabbix HA today and came across this video. Zabbix doesnt actually offer a real HA solution apparently, even though they claim to do so on their webpage. For example, in this video, you only have one database, which means if that fails, your installation is gone. Hence the video is misleading. I will try to install a true Zabbix HA cluster using Galera replication.

    • @zabbixtraining
      @zabbixtraining  6 місяців тому +2

      Don't forget that Zabbix software is "Zabbix", not the database. For fully operational stack of course database and frontend are required, but it's not really Zabbix's responsibility to set that up. Especially, because there might be different database engines used.
      You can use native Zabbix server HA, and configure DB replication and master/master web engine yourself.

    • @ryzurrin
      @ryzurrin 5 місяців тому +1

      @@zabbixtraining Can you do a tutorial on setting up a replication DB with failover and master/master web engine please, your tutorials are the best and easiest to follow along too and i think many of us would really enjoy such a tutorial.

  • @Egimatic
    @Egimatic 2 роки тому

    What flavour of linux would you pick besides oracle linux? Rocky or alma?

  • @sunilchatooa8031
    @sunilchatooa8031 Рік тому

    Can you use HA with agent versions < 6.0?

  • @skyhawk0
    @skyhawk0 Рік тому

    Can we cluster between zabbix 5.0 to zabbix 6.0

  • @danyelrp
    @danyelrp 2 роки тому

    How is the frontend configuration if it is installed on a separate server? need a vip ip?

    • @zabbixtraining
      @zabbixtraining  2 роки тому

      Frontend gets active server IP from Database

    • @danyelrp
      @danyelrp 2 роки тому

      @@zabbixtraining tnks!

    • @xiaoyu866
      @xiaoyu866 2 роки тому +2

      @@zabbixtraining how can we access frontend page if 101 is shutdown as only zabbix-server-mysql was installed in 102??

    • @someshwarkotsulwar7605
      @someshwarkotsulwar7605 Рік тому

      ​@@zabbixtraining so do we need to have a separate frontend for the standby node as well?

  • @viettungpham5603
    @viettungpham5603 2 місяці тому

    sh , you disappointed me so much, I thought there would be 2 SQL systems with H-A together, turns out you pointed to 2 servers with 1 database

  • @MrRozenkreuser
    @MrRozenkreuser 28 днів тому

    This realisation of HA is useless