Upgrading from 2.2.12 to next version
I was able to upgrade using below steps.
- Compile 3.0.10 version on my machine with mysql - before install all the dependencies.
- Source mysql db dump from 2.2.12 version.
- Start zabbix_server - this did the upgrade.
Below are the commands used
Install PHP 5.5, mysql, used webstatic repo
Now OpenIPMI, SSH2, SNMP
Setup mysql and source 2.2.12 database
Compile ZBX
I had used nohup and & as my db size were 150G+.
So far all seems good. I still need to test proxy part, not sure how that works though. Any inputs/improvements/suggestions are greatly helpful.
Thanks.
I was able to upgrade using below steps.
- Compile 3.0.10 version on my machine with mysql - before install all the dependencies.
- Source mysql db dump from 2.2.12 version.
- Start zabbix_server - this did the upgrade.
Below are the commands used
Install PHP 5.5, mysql, used webstatic repo
Code:
rpm -ivh http://mirror.webtatic.com/yum/el6/latest.rpm yum install php55w php56w-gd php56w-bcmath php56w-xml php56w-mbstring php56w-mcrypt php56w-mysql php56w-pear php56w-pear php56w-pecl* php56w-process php56w-snmp php56w-soap php56w-odbc php55w-common yum -y install mysql55w-server mysql55w
Code:
yum -y install OpenIPMI ipmitool ipmiutil yum -y install libssh2 libssh2-devel yum -y install fping yum -y install net-snmp* yum -y install partprobe lsof mod_ssl logrotate traceroute iftop
Code:
mysql_secure_installation mysql -uUSER -pPASSWD -e 'CREATE DATABASE zabbix character set utf8 collate utf8_bin'; nohup mysql -uUSER -pPASSWD zabbix < zabbix_db_dump_from_2.2.12.sql &
Code:
tar xvf zabbix-3.0.10.tar.gz cd zabbix-3.0.10 ./configure --enable-server --enable-agent --with-mysql --with-libxml2 --with-ssh2 --with-net-snmp --with-openipmi --with-openssl --with-libcurl
So far all seems good. I still need to test proxy part, not sure how that works though. Any inputs/improvements/suggestions are greatly helpful.
Thanks.

Comment