Ad Widget

Collapse

Zabbix 6.2 HA - can passive server execute Syncer, Housekeeper,

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • guille.rodriguez
    Senior Member
    • Jun 2022
    • 114

    #1

    Zabbix 6.2 HA - can passive server execute Syncer, Housekeeper,

    Hi, I just want to know if there is a way to execute the HouseKeeper and Syncer process only in the Passive node.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    No, those processes are executed only by active node. Only process that is active on passive node is for checking HA status and taking over if needed...
    If you think a bit ... syncer processes sync data between caches and DB, there is no active caches (Config cache being in memory of active server... ) on passive server, nothing to sync...
    Do you think that executing housekeeper on other host would take less time? I doubt... It still boils down to your DB speed, I think.

    Comment

    • guille.rodriguez
      Senior Member
      • Jun 2022
      • 114

      #3
      Not for less time, just for dispatch work to less load server.

      Zabbix Active -> Getting all info, processing triggers, regexp, etc...

      Zabbix Passive -> Cleaning the database, little by little

      But I'm thinking if both nodes are connected to HA Database (Master-Slave)

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        Originally posted by guille.rodriguez

        But I'm thinking if both nodes are connected to HA Database (Master-Slave)
        Of course they are as switchover, as long as I know, depends on DB data (all HA nodes update their "heartbeat"), it has to be the same DB for both.. And it would really go against all master/slave concept, if you would connect to slave and do updates there..

        But I see your point here with spreading load. You can make a suggestion to investigate and implement such feature.. https://support.zabbix.com/browse/ZBXNEXT
        Last edited by cyber; 14-10-2022, 09:34.

        Comment

        Working...