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 four steps:
- Updating the repository
- Updating the extension interface
- Updating the reporting server
- Updating the MariaDB database
Prerequisites
Upgrade your central server
Update the RPM signing key
On EL8, 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 23.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
- Update the package, run the following commands:
- Alma / RHEL / Oracle Linux 8
- Alma / RHEL / Oracle Linux 9
- Debian 11
dnf clean all
dnf update centreon-bi-server
dnf clean all
dnf update centreon-bi-server
apt clean
apt install --only-upgrade centreon-bi-server
- Update through the interface: Log on to the Centreon web interface, go to Administration > Extension > Manager and click 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:
Connect to your reporting server and stop the scheduler service (CBIS):
systemctl stop cbis
Then run the following commands:
- Alma / RHEL / Oracle Linux 8
- Alma / RHEL / Oracle Linux 9
- Debian 11
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf clean all
dnf update centreon-bi\*
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
dnf clean all
dnf update centreon-bi\*
apt clean
apt install --only-upgrade centreon-bi-reporting-server
Start the scheduler service:
systemctl start cbis
Start and enable gorgoned:
systemctl start gorgoned && systemctl enable gorgoned
Step 4: Upgrade the MariaDB database
Stop the cbis service:
systemctl stop cbis
See Upgrading MariaDB.
Start the cbis service:
systemctl start cbis