Upgrading from Centreon 3.4

This chapter describes how to upgrade your platform to version Centreon 19.04.

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:

# yum install -y http://yum.centreon.com/standard/19.04/el7/stable/noarch/RPMS/centreon-release-19.04-1.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 stop httpd
# systemctl disable httpd
# systemctl enable httpd24-httpd
# systemctl start httpd24-httpd
# systemctl enable centreon
# systemctl restart centreon

Finalizing the upgrade

Log on to the Centreon web interface to continue the upgrade process:

Click on Next:

../_images/web_update_1.png

Click on Next:

../_images/web_update_2.png

The release notes describe the main changes. Click on Next:

../_images/web_update_3.png

This process performs the various upgrades. Click on Next:

../_images/web_update_4.png

Your Centreon server is now up to date. Click on Finish to access the login page:

../_images/web_update_5.png

To upgrade your Centreon BAM module, refer to the related documentation.

Upgrading the Pollers

Upgrading the repository

Run the following command:

# yum install -y http://yum.centreon.com/standard/19.04/el7/stable/noarch/RPMS/centreon-release-19.04-1.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 to Remote Server 19.04.