Upgrading to Centreon 18.10¶
This chapter describes how to upgrade your platform to version Centreon 18.10.
Warning
Upon completing the upgrade procedure, Centreon EMS users will have to request a new license from Centreon support.
Warning
This procedure only applies to Centreon platforms installed from Centreon 3.4 packages on Red Hat / CentOS version 7 distributions.
If this is not the case, refer to the procedure in migration.
To upgrade your Centreon MAP server, refer to the related documentation.
To upgrade your Centreon MBI server, refer to the related documentation.
Performing a backup¶
Be sure that you have fully backed up your environment for the following servers:
Central server
Database server
Upgrading the Centreon Central Server¶
Upgrading the repository¶
To install Centreon you will need to set up the official software collections repository supported by Redhat.
Note
Software collections are required in order to install PHP 7 and the associated libraries (Centreon requirement).
Run the following command:
# yum install centos-release-scl
Upgrading the Centreon Repository¶
Run the following commands:
# wget http://yum.centreon.com/standard/18.10/el7/stable/noarch/RPMS/centreon-release-18.10-2.el7.centos.noarch.rpm -O /tmp/centreon-release-18.10-2.el7.centos.noarch.rpm
# yum install --nogpgcheck /tmp/centreon-release-18.10-2.el7.centos.noarch.rpm
Updating the Centreon solution¶
Clean yum cache:
# yum clean all
Upgrade all the components with the following command:
# yum update centreon\*
Note
Accept new GPG keys from the repositories as needed.
Additional actions¶
The PHP timezone should be set. Run the command:
# echo "date.timezone = Europe/Paris" > /etc/opt/rh/rh-php71/php.d/php-timezone.ini
Note
Change Europe/Paris to your timezone.
Restart the services by running the following commands:
# systemctl enable rh-php71-php-fpm
# systemctl start rh-php71-php-fpm
# systemctl restart httpd
# systemctl restart cbd
# systemctl restart centengine
Finalizing the upgrade¶
Log on to the Centreon web interface to continue the upgrade process:
Click on Next:
Click on Next:
The release notes describe the main changes. Click on Next:
This process performs the various upgrades. Click on Next:
Your Centreon server is now up to date. Click on Finish to access the login page:
To upgrade your Centreon BAM module, refer to the related documentation.
Upgrading the Pollers¶
Upgrading the repository¶
Run the following command:
# wget http://yum.centreon.com/standard/18.10/el7/stable/noarch/RPMS/centreon-release-18.10-2.el7.centos.noarch.rpm -O /tmp/centreon-release-18.10-2.el7.centos.noarch.rpm
# yum install --nogpgcheck /tmp/centreon-release-18.10-2.el7.centos.noarch.rpm
Upgrading the Centreon solution¶
Upgrade all the components with the following command:
# yum update centreon*
Note
Accept new GPG keys from the repositories as needed.
Additional actions¶
Restart the services by executing the following commands:
# systemctl restart cbd
# systemctl restart centengine
Upgrading the Centreon Poller Display¶
Refer to the migration procedure for Poller Display.