Skip to main content
Version: 22.10

Upgrade the extension

When updating from version < 18.10 to a version >= 18.10, you need to

  • Retrieve a new license from Centreon support
  • Make sure your Centreon MBI server is based on CentOS/RH 7. You may use the following procedure to migrate your server: Migrate your reporting server

The upgrade of Centreon MBI consists of 4 steps :

  • Updating the repository
  • Updating the extension interface
  • Updating the reporting server
  • Updating the MariaDB database

Prerequisites

Upgrade your central server

See Introduction to upgrade.

Update the RPM signing key

On EL7/8, for security reasons, the keys used to sign Centreon RPMs are rotated regularly. The last change occurred on October 14, 2021. When upgrading from an older version, you need to go through the key rotation procedure, to remove the old key and install the new one.

Step 1: Update the repository

When you upgrade from a previous major version to 22.10.x, you first need to update the repository on your Central & Reporting servers.

You will find the new "Business" repository on the "Repositories" page in your Centreon Support account.

Step 2: Upgrade the extension interface

  1. Update the package, run the following commands:
dnf clean all
dnf update centreon-bi-server
  1. Update through the interface: Log on to the Centreon web interface, go to Administration > Extension > Manager and click on the Update button to update the extension and the widgets.

Step 3: Upgrade the reporting server

Java version requirement

Ensure a version of Java 17 (or 18) is installed before you start the procedure.

  • If you need to check the Java version, enter the following command:

    java -version
  • If you need to upgrade the Java installation to Java 17 (or 18), go to the Oracle official download page.

  • If several Java versions are installed, you need to activate the right version. Display the installed versions using the following command and select the Java 17 (or 18) version:

    sudo update-alternatives --config java

    Then restart the service:

    systemctl restart cbis

Upgrade procedure

Now you can start the upgrade process:

  1. Connect to your reporting server and stop the scheduler service (CBIS):

    systemctl stop cbis
  2. Then run the following commands:

dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf clean all
dnf update centreon-bi\*
  1. Start the scheduler service:

    systemctl start cbis
  2. Start and enable gorgoned:

    systemctl start gorgoned && systemctl enable gorgoned

Step 4: Upgrade the MariaDB database

  1. Stop the cbis service:

    systemctl stop cbis
  2. See Upgrading MariaDB.

  3. Start the cbis service:

    systemctl start cbis