Ad Widget

Collapse

migrate zabbix server to a different OS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sg42
    Member
    • Mar 2015
    • 32

    #1

    migrate zabbix server to a different OS

    Hi!

    We run currently our zabbix-Server (2.2.9) under Ubuntu 13.04.
    Due to our policy we want to move the server to CentOS 7.
    Is there a preferred way to do this?

    My idea:

    - setting up a new server (CentOS 7, zabbix 2.2.9)
    - dump existing database (MySQL)
    - restore database on new server

    Are there any other configure-files to consider?

    TIA,

    SG
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    Originally posted by sg42
    Hi!

    We run currently our zabbix-Server (2.2.9) under Ubuntu 13.04.
    Due to our policy we want to move the server to CentOS 7.
    Is there a preferred way to do this?

    My idea:

    - setting up a new server (CentOS 7, zabbix 2.2.9)
    - dump existing database (MySQL)
    - restore database on new server

    Are there any other configure-files to consider?
    Mysql data format is not OS dependent. You can move/copy whole mysql DB as binary files.
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates

    Comment

    • sg42
      Member
      • Mar 2015
      • 32

      #3
      Thanks for Your answer.

      Originally posted by kloczek
      Mysql data format is not OS dependent. You can move/copy whole mysql DB as binary files.
      I haven't thought of that. The idea behind mysqldump/restore is to shrink the database since MySQL doesn't to garbage collection.

      Do You know any other files beside the database that has to be moved to the new server?

      Comment

      • kloczek
        Senior Member
        • Jun 2006
        • 1771

        #4
        Originally posted by sg42
        Thanks for Your answer.



        I haven't thought of that. The idea behind mysqldump/restore is to shrink the database since MySQL doesn't to garbage collection.

        Do You know any other files beside the database that has to be moved to the new server?
        If you will have partitioned history*/trends* tables you will not need time to time shrinking database files by test dump->import.
        http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
        https://kloczek.wordpress.com/
        zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
        My zabbix templates https://github.com/kloczek/zabbix-templates

        Comment

        Working...