cmfr 发表于 2013-11-7 09:10:25

zabbix升级操作步骤

很惭愧,一直使用zabbix,但是直到今天才弄明白,原来在2.0.*版本内升级,数据库是不需要升级的。官网上有这么一段说明:1 Stop Zabbix serverStop Zabbix server to make sure that no new data is inserted into database.
2 Back up the existing Zabbix databaseThis is a very important step. Make sure that you have a backup of your database. It will help if the upgrade procedure fails (lack of disk space, power off, any unexpected problem).
3 Back up configuration files, PHP files and Zabbix binariesMake a backup copy of Zabbix binaries, configuration files and PHP files.
4 Install new server binariesYou may use pre-compiled binaries or compile your own.
5 Review server configuration parametersSome parameters of zabbix_server.conf might have changed from 1.8, new parameters added. You may want to review them.
6 Upgrade the databaseBefore you upgrade:
[*]Make sure the database user has enough permissions (create table, drop table, create index, drop index)

[*]Make sure you have enough free disk space.

Database upgrade scripts are located in the upgrades/dbpatches/2.0/<db engine> directory. Run the scripts:
[*]MySQL: upgrades/dbpatches/2.0/mysql/patch.sql

[*]PostgreSQL: upgrades/dbpatches/2.0/postgresql/patch.sql

[*]Oracle: upgrades/dbpatches/2.0/oracle/patch.sql

[*]IBM DB2: upgrades/dbpatches/2.0/ibm_db2/patch.sql

These scripts are only for upgrading Zabbix 1.8.x to 2.0! For upgrading from earlier versions first use upgrade scripts from Zabbix 1.6.x or Zabbix 1.8.x.
7 Install new Zabbix web interfaceFollow installation instructions.
8 Start new Zabbix binariesStart new binaries. Check log files to see if the binaries have started successfully

这意思是说从1.8升级至2.0该怎么做,现在最高版本是2.0.9,所以说从1.8升级至2.0的话要按照这个来操作,但是要是2.0内部版本的提升,那就可以将第六步跳过。
将来2.2推出后,我们再说2.0升级2.2的事。

fumingxia 发表于 2013-11-15 00:36:41

老天,你让夏天和冬天同房了吧?生出这鬼天气!

olga 发表于 2013-11-22 13:32:23

听君一席话,省我十本书!

sunyke 发表于 2013-11-30 09:37:20

我不害怕,我只是舍不得。

zsyzhou 发表于 2013-12-3 20:15:52

-爱一个人不只是占有他,而是希望他幸福。

qbit 发表于 2013-12-7 02:13:21

尔。当了我最熟悉玓陌生人

h0945634 发表于 2013-12-8 03:12:30

我的悲伤写在脸上,连笑容也变得坚强
页: [1]
查看完整版本: zabbix升级操作步骤