Ad Widget

Collapse

Zabbix server migration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jehster
    Junior Member
    • Mar 2010
    • 14

    #1

    Zabbix server migration

    Hello,

    Actually, I've got a Zabbix server running on Debian Lenny but I need to change hardware for a more powerful one.
    I made a copy of my database and active replication in order to have same data and do not loose any information.

    To do my migration, here's what I do :
    1) copy zabbix_server.conf on the new server
    2) stop my old zabbix server
    3) give the old zabbix IP address to the new one
    4) stop replication on the slave
    5) reboot server (even if it was not necessary)
    6) start zabbix
    7) get errors

    I had one kind of error :
    3237:20110531:150956.713 [Z3005] Query failed: [1062] Duplicate entry '0-webl1' for key 2 [insert into autoreg_host (autoreg_hostid,proxy_hostid,host) values (29,0,'webl1')]

    and same kind for all other hosts.

    I'm sure I forgot to do something but I can't figure what.

    old server : Debian Lenny, Zabbix server 1.8.5, Mysql 5.0, frontend 1.8.4
    new server : Debian Lenny, Zabbix server 1.8.5, Mysql 5.0, frontend 1.8.5

    Does anyone have already had this error ? What did I forgot to do ?

    Thanks for helping
    Jerome
  • jehster
    Junior Member
    • Mar 2010
    • 14

    #2
    It seems to work now (I'm getting my data back from proxies). It seems that the problem came from the server hostname.

    Case closed

    Comment

    Working...