[ZBX-15538] Zabbix 2.2→4.0 upgrade Created: 2019 Jan 29  Updated: 2019 Jan 30  Resolved: 2019 Jan 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F), Installation (I), Server (S)
Affects Version/s: 2.2.22, 4.0.2
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Minami Hoshi Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RHEL



 Description   

We're planning to upgrade zabbix2.2 to 4.0.
The procedures is as follows;
1, upgrading zabbix 3.4 to 4.0 with RPM packages
2, then import zabbix configurations from 2.2 to 4.0(upgraded from 3.4, in procedure 1)

When importing and exporting zabbix configurations from 2.2 to 4.0 in this way, is there any important notice and guides?
and do you have any similar case?



 Comments   
Comment by Arturs Lontons [ 2019 Jan 29 ]

Hi,
Could you please provide the description of the issue in English? 

Thank you.

Comment by dimir [ 2019 Jan 29 ]

Minami, this issue tracker is for tracking issues in English only. Please translate the title and description into English or we will close the issue.

Comment by Minami Hoshi [ 2019 Jan 29 ]

 

i'll translate my ticket, as below;

 

Upgrade Zabbix2.2 to 4.0

We're planning to upgrade zabbix2.2 to 4.0.
The procedures is as follows;
1, upgrading zabbix 3.4 to 4.0 with RPM packages
2, then import zabbix configurations from 2.2 to 4.0(upgraded from 3.4, in procedure 1)

When importing and exporting zabbix configurations from 2.2 to 4.0 in this way, is there any important notice and guides?
and do you have any similar case?

would you please tell me advice?

Thank you,

Comment by dimir [ 2019 Jan 29 ]

First of all, this issue tracker is for tracking issues in Zabbix. If you have troubles using Zabbix you should either contact our community or consider our commercial services.

As to your question, starting from 2.2 Zabbix supports automatic database upgrade, so you should be fine with just deploying latest 4.0 and pointing it to 2.2 database. When Zabbix server 4.0 will start it will detect that the database is old and perform its upgrade. Only thing I strongly recommend to have a good backup.

A lot of upgrades has been discussed on our forum: https://www.zabbix.com/forum/search?q=upgrade&searchJSON=%7B%22keywords%22%3A%22upgrade%22%7D .

Comment by Minami Hoshi [ 2019 Jan 30 ]

Thank you for your comments, 

There may be some misunderstanding between us, so please let me explain a little more.

Now we have two zabbix environment, one is zabbix 3.4 server and the other is 2.2 server.
The upgrade procedure is as follows;
1, upgrade zabbix 3.4 to 4.0.3
2, export configurations from zabbix 2.2
3, import configurations to zabbix 4.0.3

After upgrading, we're going to manage all agents with zabbix 4.0.3.

The point we want to confirm is as follows;
1, when upgrade zabbix server 3.4 to 4.0, DB will be upgraded automatically.
in this case, is there any considerations?
(we know manual says that table configuration will be changed when upgrade 3.4 to 4.0)

2, can configurations exported from zabbix 2.2 be imported to zabbix 4.0?
if we can, is there any considerations? (order of data import)

Best regards,

 

 

we'll also ask in Japanese, so if there's any person who can use Japanese, could you please reply in Japanese?

[日本語]
前提:現在は、Zabbix 3.4サーバーと、Zabbix 2.2 サーバーの2つのサーバーが存在する。
(1)Zabbix 3.4→ 4.0.3 へのバージョンアップ
(2)Zabbix 2.2の構成定義をエクスポートし、(1)のZabbix4.0.3 にインポート
最終的に、Zabbix 4.0.3のサーバーで全ての管理対象エージェントを管理する

改めての確認事項としては、
(1)について、 サーバーを3.4->4.0にアップグレードすることで、DB自動アップグレードが行われる。
    この場合、考慮することがあるか? (3.4->4,0でもテーブル設定が変更されるものがあるとマニュアルに記載あり)

(2)について、Zabbix 2.4でエクスポートした定義を、Zabbix 40でインポートすることができるか?
    可能な場合の考慮点。移行するデータの順番、製品のエクスポート、

よろしくお願いいたします。

 

Generated at Fri Apr 26 09:02:22 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.