Ad Widget

Collapse

Zabbix Migration 2.0.12->3.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • VladimirT
    Junior Member
    • May 2016
    • 4

    #1

    Zabbix Migration 2.0.12->3.0

    Hi All,

    I have finally given a "GO" to uprgade our production environment from zabbix 2.0.12 -> 3.0

    I am currently setting up a test environment, where i will install the same zabbix version, restore the MySQL database and do the upgrade in order to make it as much similar to the production environment as I can.

    I have read the documentation and I have seen some other guys upgrading Zabbix, and I am quite familiar with the procedure.

    In the official documentation it is stated that:

    "Direct upgrade to Zabbix 3.0 is possible from Zabbix 2.4.x, 2.2.x and 2.0.x. For upgrading from earlier versions consult Zabbix documentation for 2.0 and earlier."

    Does anyone have any experience or advice before upgrading from 2.0 to 3.0?
    I have seen that the upgrade from 2.4->3.0 is quite straight forward.

    Thanks.
  • VladimirT
    Junior Member
    • May 2016
    • 4

    #2
    Unfortunately i have noticed that upgrade from 2.0->3.0 will not be possible for me.

    Zabbix does not support direct upgrade to 3.0 from Ubuntu 10.04.4 LTS Lucid (the distribution that I am running).

    According to documentation:

    Zabbix 3.0 runs on :
    • RHEL 7
    • Oracle Linux 7
    • CentOS 7
    Debian 7 (Wheezy) and 8 (Jessie)
    • Ubuntu 14.04 LTS (Trusty Tahr)

    Zabbix 2.4 runs on:
    • RHEL5,6,7
    • Oracle Linux 5,6,7
    • CentOS 5,6,7
    Debian 7 (Wheezy)
    • Ubuntu 14.04 LTS (Trusty Tahr)

    Zabbix 2.0 runs on:
    • Debian 6 (Squeeze)
    Debian 7 (Wheezy)
    • Ubuntu 10.04 LTS (Lucid Lynx) – our distro
    • Ubuntu 12.04 LTS (Precise Pangolin)
    • RHEL5
    • RHEL6

    Most of the upgrades i have read are from 2.4 -> 3.0.

    As i can see 2 following solutions:

    1. Install a new Debian 7 (Wheezy) server as i can see that Debian 7 is an intermediate between all versions, perform a restore, and then perform an upgrade (this has to be tested as well)

    2. Install a new Ubuntu 14 machine, install zabbix 3.0, collect data for some time, and then switch to the zabbix 3.0

    Please share your opinions?
    Last edited by VladimirT; 24-05-2016, 12:00.

    Comment

    • VladimirT
      Junior Member
      • May 2016
      • 4

      #3
      Hi Guys,

      I would gladly report that the migration went smoothly and as expected

      Here are the brief steps I have conducted in order to bring the Zabbix server from 2.0.12 to 3.0:

      1. I have installed and configured Debian 7 (Wheezy).
      2. I have imported the Zabbix database from my latest production MySQL dump.
      3. Confirmed that the Zabbix server is operational by logging to the GUI and check the server logs.
      4. I have upgraded the Zabbix to 2.4 by downloading the official packages for Debian 7.
      5. Confirmed again that the Zabbix server is operational by logging to the GUI and check the server logs.
      6. Upgraded the Zabbix server to 3.0 also by downloading the official packages for Debian 7.

      Zabbix server was upgraded successfully to the latest version in TEST environment.

      Next, the plan for upgrading to the production environment are as follows:

      Since our 2.0 zabbix is using Ubuntu 10, a new fresh Debian installation is required so I can perform all of the above steps in order to bring Zabbix to version 3.0

      I have thought of two scenarios after this.

      1. The first scenario is doing a switch-over after confirming that all Zabbix agents are sending data to the new server, and everything works smoothly (graphs, e-mail alerting, users login etc). I would re-configure every Zabbix agent to send data to both of the servers, by editing their config file and adding the new zabbix sevrer as a second destination (comma delimited). After 3-4 days when confirming that everything is working as expected, we would just shut down the old zabbix server and the new one can take the role of the one and only Zabbix server.

      2. Second scenario includes a more drastic switch-over where after bringing Zabbix up to 3.0 on the new Debian server, we would shut down both servers and switch their IP addresses. This would not require any manual intervention to the Zabbix agents on every server. However a downtime will occur while the hosting provider switches the IP addresses on both the servers. The zabbix agents will not be aware that any change has occured and the new Zabbix server will be continue to perform normal operations.

      Please share any opinions.

      Comment

      • pinguin123
        Member
        • Apr 2015
        • 52

        #4
        Is an upgrade from 2.4.8 to 3.0.4 supported?

        Comment

        • VladimirT
          Junior Member
          • May 2016
          • 4

          #5
          Hello pinguin123,

          Yes, i have successfully migrated from 2.0 and from 2.4.8 to 3.0.4

          It really depends on the underlying operating system.

          Regards,
          Vladimir T.

          Comment

          Working...