| Line | |
|---|
| 1 | ###################################################### |
|---|
| 2 | # How to upgrade your 1.4 in 1.4.1-RC1 ? |
|---|
| 3 | ###################################################### |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | - Download centreon-1.4.1-RC1.tar.gz |
|---|
| 7 | |
|---|
| 8 | - unzip centreon-1.4.1.-RC1.tar.gz : |
|---|
| 9 | |
|---|
| 10 | $> tar -xzf centreon-1.4.1.-RC1.tar.gz |
|---|
| 11 | |
|---|
| 12 | - launch upgrade script after stopping ods : |
|---|
| 13 | |
|---|
| 14 | $> /etc/init.d/ods stop |
|---|
| 15 | $> cd /root/centreon-1.4.1.-RC1 |
|---|
| 16 | $>./install.sh |
|---|
| 17 | |
|---|
| 18 | - Answer to all questions to upgrade your release. |
|---|
| 19 | |
|---|
| 20 | Now you can go on oreon interface to finish update by web browser (SQL update). |
|---|
| 21 | |
|---|
| 22 | http://youroreonip/oreon/ |
|---|
| 23 | |
|---|
| 24 | Apply patch 'UpdateDB-1.4.1-RC1.sql' |
|---|
| 25 | |
|---|
| 26 | Then you have to patch ods database, this step can not be made through web frontend, so launch in command line the sql commands : |
|---|
| 27 | |
|---|
| 28 | $> cat /root/centreon-1.4.1.-RC1/ODS_SQL_UPGRADE_1.4.1-RC1.sql | mysql -u root -p ods |
|---|
| 29 | |
|---|
| 30 | It may take a long time if your database is big. be patient !! |
|---|
| 31 | |
|---|
| 32 | !!CAUTION!! |
|---|
| 33 | In this new release, we don't manage anymore graphs plugins storage, so your check_graph_* plugins will not work anymore (Problem with -S arg will occur) |
|---|
| 34 | Please modify the commands using this plugins by using now check_centreon_* plugins. |
|---|
| 35 | For example : |
|---|
| 36 | command "check_graph_ping" => "$USER1$/check_graph_ping.pl ... -g -S $ARGn$ " |
|---|
| 37 | can became "check_graph_ping" => "$USER1$/check_centreon_ping ..." |
|---|
| 38 | or "check_centreon_ping" => "$USER1$/check_centreon_ping ..." |
|---|
| 39 | |
|---|
| 40 | Then generate/restart Nagios and start ods |
|---|
| 41 | $> /etc/init.d/ods start |
|---|