Cluster Upgrade from 4.48 to 4.49¶
This guide will lead you through the steps specific for upgrading a NetEye Cluster installation from version 4.48 to 4.49.
Granted the environment connectivity is seamless, the upgrade procedure may take up to 30 minutes per node.
Warning
Remember that you must upgrade sequentially without skipping versions, therefore an upgrade to 4.49 is possible only from 4.48; for example, if you have version 4.27, you must first upgrade to the 4.28, then 4.29, and so on.
Breaking Changes¶
GLPI 11 Upgrade¶
NetEye is now shipping GLPI 11, upgrading from GLPI 10.0. This major version update may include breaking changes for your existing GLPI configuration and plugins. If you have installed additional plugins in GLPI, please follow the official GLPI migration guide to ensure your plugins are compatible with GLPI 11: Specific migration of GLPI 10 plugins to GLPI 11.
Note
Before starting the NetEye upgrade, as suggested by the GLPI documentation, it is recommended to update all GLPI plugins to the latest version compatible with GLPI 10 and PHP 7, so that they are in the best state for the subsequent migration to GLPI 11.
Once the NetEye upgrade is completed, you should then update the plugins again to a version compatible with GLPI 11.
GLPI PHP configurations have moved from /neteye/local/php/conf/php.d/ to /neteye/shared/glpi/conf/php.d/. If you have custom configurations, you must manually move them to the new path, with the exception of the PHP timezone customization which is automatically migrated during the upgrade.
During the upgrade to GLPI 11, the database tables related to the GLPI plugin ocsinventoryng (all tables prefixed with glpi_plugin_ocsinventoryng) will be removed from the glpi database, as they are left over from the old plugin.
If you need to preserve this data, ensure you have a backup before starting the upgrade process.
Note
For security reasons, the Webhook feature introduced in GLPI 11 is disabled in NetEye until an appropriate mitigation for the NetEye environment is in place.
Prerequisites¶
Before starting the upgrade, carefully read the latest release notes on NetEye’s blog and check the features that will change or be deprecated.
All NetEye packages installed on a currently running version must be updated according to the update procedure prior to running the upgrade.
NetEye must be up and running in a healthy state.
Disk Space required:
3GB for
/and/var150MB for
/boot
If the NetEye Elastic Stack module is installed:
The rubygems.org domain should be reachable by the NetEye Master only during the update/upgrade procedure. This domain is needed to update additional Logstash plugins and thus is required only if you manually installed any Logstash plugin that is not present by default.
There is a number of configuration items that should not be modified in order to avoid issues during the update/upgrade of your instance. Please check out Protected Configuration Items for details.
Port 4317 should be available on the NetEye Master nodes to allow the deployment of the new Multitenant OpenTelemetry Collector component, which is used to collect and forward telemetry data to the Elastic Stack.
To prepare for integration of RKE2, please ensure that the following requirements are met:
The system must have at least 12GB of disk space available on the
/neteye/local/rke2directory for the RKE2 installation.
Note
It is recommended to create a separate logical volume for the
/neteye/local/rke2directory to avoid running out of disk space on the root filesystem.The following ports must be available for RKE2 to function properly on 0.0.0.0:
TCP 6442: load balancer for the Kubernetes API server
TCP 6443: Kubernetes API server
TCP 6444: used in case of restore procedures
TCP 9345: RKE2 local supervisor
TCP 9346: load balancer for the RKE2 local supervisor
RKE2 official RPM repository must be reachable from the NetEye system. The repository URL is
https://rpm.rancher.io/.In case of cluster installations, you must ensure the correct roles are assigned to the nodes in order to meet the minimum requirements for a Kubernetes cluster. For more information on the roles and their requirements, please refer to the Kubernetes roles section.
You should have created and synced on all nodes the
/etc/neteye-environment.yaml. For more information please refer to Step 9 of the Part 1: Single Nodes and Satellite Nodes section.
Before upgrading, if you are in a Cluster environment, you must ensure that the virtual IP for the cluster resources for GLPI is correctly configured. You must run the command neteye cluster upgrade-prerequisites glpi-pcs-resources set to set the virtual IP address that will be used for the GLPI PCS resources. When running the command, NetEye will propose an IP address that it detects as free, but it is the user’s responsibility to verify that this IP is not already in use by custom services on their cluster. This command is required because NetEye needs a dedicated virtual IP address to manage GLPI resources in the cluster through PCS.
1. Run the Upgrade¶
The Cluster Upgrade is carried out by running the following command:
cluster# (nohup neteye upgrade &) && tail --retry -f nohup.out
Warning
If the NetEye Elastic Stack feature module is installed and a new version of Elasticsearch is available, please note that the procedure may take a while to upgrade the Elasticsearch cluster. For more information on the Elasticsearch cluster upgrade and how to customize the upgrade process, please consult the dedicated section.
After the command was executed, the output will inform if the upgrade was successful or not:
In case of successful upgrade you might need to restart the nodes to properly apply the upgrades. If the reboot is not needed, please skip the next step.
In case the command fails refer to the troubleshooting section.
2. Reboot Nodes¶
Restart each node, one at a time, to apply the upgrades correctly.
Run the reboot command
cluster-node-N# neteye node reboot
In case of a standard NetEye node, put it back online once the reboot is finished
cluster-node-N# pcs node unstandby --wait=300
You can now reboot the next node.
3. Cluster Reactivation¶
At this point you can proceed to restore the cluster to high availability operation.
Run the checks in the section Checking that the Cluster Status is Normal. If any of the above checks fail, please contact our service and support team before proceeding.
Re-enable fencing on the last standard node, if it was enabled prior to the upgrade:
cluster# pcs property set stonith-enabled=true
4. Additional Tasks¶
If you have the Elastic Stack installed, the retention-policy-neteyelocal
service will be removed during the upgrade procedure. After the upgrade is
complete, you will need to Director deploy to make the changes effective.
Keycloak Hostname Strict Mode¶
To avoid disrupting existing installations, the upgrade keeps KC_HOSTNAME_STRICT disabled
(false), so the public hostname continues to be resolved dynamically from incoming requests.
Important
Configuring a fixed hostname is a prerequisite for upgrading to NetEye 4.50. This requirement is enforced for security reasons. Follow the Keycloak Hostname Configuration section to complete this configuration.