2

I am bringing up a new Zabbix 2.2.1 server and want to migrate my hosts to it one at a time. The kicker is that I also want to migrate their data (history & trends). The old and new servers are physically separate boxes but do have LAN connectivity so a migration process that includes exporting from one DB and importing to the other would work... just not sure about the particulars of making this work. Any tips? BTW, the old server is 2.0.x (always latest version) and MySQL is the backend.

1 Answer 1

1

The last time I moved Zabbix (it was also a 1.8-2.0) I made the new server's MySQL server a replication slave, waited for replication to finish, and then broke replication and stopped slave on the new server. Started up Zabbix, changed DNS entries, and voila.

5
  • I want to move one host at a time as opposed to a wholesale move.
    – GeneBean
    Dec 16, 2013 at 3:13
  • Moving all at once would be much easier and less risky. I do not recommend moving "one host at a time" as this will be very time consuming and potentially much more error-prone. Dec 16, 2013 at 3:14
  • It's only easier if you can touch every host at one time and you are reusing the server name... neither of which works for me.
    – GeneBean
    Dec 20, 2013 at 18:00
  • If you can't touch every host at one time, then you need to fix that, too. Dec 20, 2013 at 19:17
  • One project at a time.
    – GeneBean
    Dec 21, 2013 at 3:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .