Zabbix 6.0 High Availability ( HA Cluster ) Setup Tutorial

Поделиться
HTML-код
  • Опубликовано: 13 мар 2022
  • 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.buymeacoffee.com/dmitryla...
    👋 SOCIAL MEDIA
    → / discord
    → / dmitrylambert
    → / dmitrylambert
    → / dmitry.lambert
    📫 Sign Up For Newsletter And Don't Miss Out on Anything
    📫 tinyurl.com/4sz2ewfb

Комментарии • 41

  • @KatkadeR
    @KatkadeR 2 года назад +6

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

  • @alexanderbeggins3098
    @alexanderbeggins3098 2 года назад +17

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

  • @toddzilla
    @toddzilla 2 года назад

    Thanks, very informative!

  • @mahdinajafi3002
    @mahdinajafi3002 6 месяцев назад

    Thanks man. Very informative 🙏

  • @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?

  • @magdytawfik9350
    @magdytawfik9350 5 месяцев назад +1

    Great Man

  • @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 🤔

  • @juannogues8167
    @juannogues8167 Год назад

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

  • @aalmarshad
    @aalmarshad 3 месяца назад

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

  • @skyhawk0
    @skyhawk0 Год назад

    Can we cluster between zabbix 5.0 to zabbix 6.0

  • @sunilchatooa8031
    @sunilchatooa8031 Год назад

    Can you use HA with agent versions < 6.0?

  • @SukhdevJadhav
    @SukhdevJadhav Год назад +1

    How about frontend high availability?

  • @user-lw2sw7vh8q
    @user-lw2sw7vh8q 8 месяцев назад

    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 🙌

    • @DmitryLambert
      @DmitryLambert  8 месяцев назад +1

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

  • @brunotaboada3429
    @brunotaboada3429 Год назад

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

  • @Egimatic
    @Egimatic 2 года назад

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

  • @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?

    • @DmitryLambert
      @DmitryLambert  Год назад

      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

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

    • @ryzurrin
      @ryzurrin 3 месяца назад

      @@sjuarez2000 I second this!

  • @szakolczigabor
    @szakolczigabor 5 месяцев назад

    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.

    • @DmitryLambert
      @DmitryLambert  5 месяцев назад +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 5 месяцев назад

      Thank you, @@DmitryLambert

  • @flavinhof
    @flavinhof 2 года назад +1

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

    • @DmitryLambert
      @DmitryLambert  2 года назад

      Yes, native HA is for server only

    • @azentavr
      @azentavr Год назад +1

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

  • @jigenm1917
    @jigenm1917 3 месяца назад +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.

    • @DmitryLambert
      @DmitryLambert  3 месяца назад +1

      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 3 месяца назад +1

      @@DmitryLambert 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.

  • @danyelrp
    @danyelrp 2 года назад

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

    • @DmitryLambert
      @DmitryLambert  2 года назад

      Frontend gets active server IP from Database

    • @danyelrp
      @danyelrp 2 года назад

      @@DmitryLambert tnks!

    • @xiaoyu866
      @xiaoyu866 2 года назад +2

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

    • @someshwarkotsulwar7605
      @someshwarkotsulwar7605 Год назад

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