Ad Widget

Collapse

Zabbix 2.0.3 upgrade to 2.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kovas
    Member
    • Dec 2012
    • 39

    #1

    Zabbix 2.0.3 upgrade to 2.4

    Hi,

    We have Zabbix 2.0.3 installed on one virtual machine, now we plan to upgrade to version 2.4. As i am new to Linux ubuntu what could be exact step for the upgrade?

    Do we have to upgrade Ubuntu from 12 to 14?
    Could we use wget and apt-get to update already compiled Zabbix packages?
    Should we do anything with MySQL and PHP?
    Should we follow these links?


    ?
    Any other comments?

    Thank you
  • syndeysider
    Senior Member
    • Oct 2013
    • 115

    #2
    Having gone from 2.0.7 straight to 2.4.4 I would highly recommend you :

    1. Backup the currently MySQL Database
    2. Setup a DEV/TEST Environment that has the same OS, Patch levels etc. as your production environment
    3. Install Zabbix 2.0.3 into your test environment
    4. Restore the Production backup of the Zabbix db into your test environment
    5. Take a Snapshot if you using VMWare
    6. Trial the upgrade yourself with the following in mind :

    a) There may be some package dependencies that you will need to fix.
    b) I'd highly recommend upgrading MYSQL to 5.6.x from 5.5 as there are numerous performance improvements in 5.6
    c) You'll only need PHP version as per Zabbix requirements

    Lastly, the upgrade for me was flawless. I installed the latest repo, upgraded packages and installed dependencies as required. The actuall DB upgrade happens in the background, depending on how big your DB is, when you first start the zabbix_server process it will determine the backend DB version and automatically begin upgrading the database for you.

    Comment

    • jairoalves
      Junior Member
      • Jan 2015
      • 15

      #3
      I have done pretty much the steps syndeysider outlined. However, I do not have a VM, it's an actual server (CentOS 6.3 with MySQL).

      The versions were 2.0.3 to 2.4.0.

      Everything went fine, like templates, item names, they were correctly imported back, etc.

      The problem was: after upgrading to 2.4, only a handful of items have data in latest data or in overview tabs. Every host has trend data, as all the graphs are preserved. But the actual values do not show up at all in the latest tab or overview.

      Also, I have noticed the setup.php (Frontend Instalation Wizard) still runs as Zabbix 2.0, not 2.4. But zabbix_version is reported as 2.4.0.

      I have tried to install 2.2 from 2.0.3 and in that case, the history is correctly migrated. When I try to go from 2.2 to 2.4 (or from 2.0.3 to 2.4 directly) the history data goes blank for most items.
      Last edited by jairoalves; 02-10-2015, 20:36.

      Comment

      Working...