Cluster Upgrade from 4.49 to 4.50¶
This guide will lead you through the steps specific for upgrading a NetEye Cluster installation from version 4.49 to 4.50.
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.50 is possible only from 4.49; for example, if you have version 4.27, you must first upgrade to the 4.28, then 4.29, and so on.
Breaking Changes¶
No breaking changes are present in this release.
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.
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¶
The IDO database is not removed automatically during the upgrade, so if you want to delete it you have to run the following commands:
mysql -e "DROP DATABASE icinga;" mysql -e "DROP USER 'icinga'@'localhost';"
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.