Ad Widget

Collapse

Help on Nodes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BusteR81
    Senior Member
    • Apr 2007
    • 150

    #1

    Help on Nodes

    PC1 = Master node (nodeID 1)
    PC2 = Child node (node ID 2)
    PC3 = (to-replace PC1 as Master node)

    Question) How do i revert the mysql database of PC1 to a 'child node ? Do i re-run "./zabbix_server -n 3" on PC1 ??

    Question) How about if i retain PC1 (nodeID 1) BUT via webGUI, i re-select it as only a 'Local' rather than a 'Master' ??
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    It might just be faster to take the MySQL database from PC1 and move it to PC3 and then update the config files on PC3 to match where appropriate PC1, then update all other nodes as needed. The key thing would be to make sure PC3 has the same node number as PC1 after moving the database.

    You will lose the data which was stored on PC3.

    This does bring up an interesting point, perhaps someone else knows the answer on this. Can the head node have a node id higher than the child nodes? I've always assumed no.
    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

    Comment

    • Niels
      Senior Member
      • May 2007
      • 239

      #3
      Originally posted by nelsonab
      This does bring up an interesting point, perhaps someone else knows the answer on this. Can the head node have a node id higher than the child nodes? I've always assumed no.
      I've always assumed yes. Why shouldn't this work?

      There are lots of open questions on the topic of nodes and DM.

      Comment

      Working...