zabbix version upgrade process (7)

Under review, the article calculate how much hard disk zabbix database , the last article zabbix installation . zabbix very active developers, version changes faster, my current version is 2.2, but found that the official 2.4 version of the document has been quietly on the line, but has not released the source code. Follow-up should follow the upgrade, zabbix 2.0 2.2 liters rose 2.2 and 2.4 of the method is not the same. If you are upgrading from zabbix 1.6 to 1.8 or zabbix 1.8 upgrade to zbbix 2.0, then you need to perform additional sql file (path.sql), after 2.0 these steps do not need to do it manually, if your version is very low, then you need to step step upgrade. This section describes methods after update is below 2.0. ZABBIX upgrade method: 1. Close zabbix server prevent submit new data into the database, directly off the effect is the same database 2. Backup 2.1 backup database the most simple backup: off data , a copy of the entire database directory. Although upgrades are generally not be any problem, but safety still need to back up a bit, even if the upgrade was successful, but can not guarantee to let you enjoy the new version, this time rollback also posterior. 2.2 backup file backup configuration file (usually / etc / zabbix), php website source code, zabbix binary files (the entire program directory backups OK) not too troublesome, especially those who are always bad luck 3. Installation Configuration 3.1 Installation zabbix server Heavy head installed once zabbix, that is, configure --... make make install Notes: Generally high zabbix server version is compatible with earlier versions zabbix client. If found to have abnormalities, then your zabbix clients look to upgrade accordingly. The client upgrade is relatively simple: update binaries, if there are modifications to the configuration file under control. 3.2 Check the configuration file zabbix_server.conf configuration parameters may change, modify the parameters after the change, or directly modify the new configuration file. 4. Start zabbix start zabbix, view the log (half under / tmp directory), look zabbix operation is successful, zabbix it will automatically update the database after a successful run. Before starting the server, make sure there is adequate rights to the database zabbix (under normal circumstances, we are all given permission, so basically no problem). The deployment source zabbix PHP PHP source in the source directory zabbix, refer to clear zabbix mounted, there are mentioned. 6. Summary zabbix upgrade method summarized below: Backup -> reinstall -> Start. Please keep an eye operation and maintenance of survival time and zabbix tutorial .

Reproduced in: https: //my.oschina.net/766/blog/210926

Guess you like

Origin blog.csdn.net/weixin_33713503/article/details/91546935