Single Node Upgrade from 4.29 to 4.30¶
This guide will lead you through the steps specific for upgrading a NetEye Single Node installation from version 4.29 to 4.30.
Upgrading a NetEye Single Node takes a nontrivial amount of time. Granted the environment connectivity is seamless, the upgrade procedure may take up to 30 minutes.
Remember that you must upgrade sequentially without skipping versions, therefore an upgrade to 4.30 is possible only from 4.29; for example, if you have version 4.21, you must first upgrade to the 4.22, then 4.23, and so on.
Starting from 4.30, as defined in Configuration of Tenants, for every
newly created Tenant a new role will appear in the Roles section of the NetEye Access Control.
By default a new role automatically acquires the title following the syntax:
neteye_tenant_<tenant_name>, and inherits Module permission settings of the Tenant
it was created for.
In case any tenants have been added prior to the upgrade to 4.30, after the upgrade procedure described below is run a new role will be created for each tenant, including the Master Tenant.
Migration of Tenants’ Grafana Organizations¶
In NetEye 4.29, we introduced a “feature flag”, which ensures that the prerequisites for the upgrade to NetEye 4.30 are satisfied.
Starting from NetEye 4.30, each Tenant will have its own Grafana Organization. The upgrade command will create a new Grafana Organization for each Tenant. The name of the Grafana Organization will correspond to the Tenant’s display-name.
If you already created a Grafana Organization for some of your Tenants, you should specify it in the Tenants’ configuration, which allows to skip the creation of a new Organization for those Tenant and reuse the existing ones. For this purpose, the neteye tenant config modify command can be used as follows:
neteye tenant config modify TENANT_NAME \ --custom-override-grafana-org CUSTOM_GRAFANA_ORG_NAME
Both in single Tenant and multi Tenant environments we suggest to have a Grafana Organization dedicated to the Master Tenant, while the Main Org. should contain only system-level objects. So you should not link the Master Tenant to the Main Org..
Also note that the specified Grafana Organization must exist when running the above script.
After modifying the Tenants configurations, the feature flag can be enabled via. Regardless of wheater you modified any Tenant configuration or not, the feature flag must be enabled to proceed with the upgrade.
By enabling the feature flag, you declare that you modified the configuration of the Tenants that already have a Grafana Organization associated, by executing the neteye tenant config modify with the custom-override-grafana-org parameter.
Alyvix Nodes Architectures¶
In NetEye 4.30, we introduced the concept of Alyvix nodes architectures.
During the upgrade from NetEye 4.29 to NetEye 4.30, every host marked as Alyvix node in the Director will be converted into an Alyvix single Tenant node which communicates directly with the NetEye Master. Please note that after the upgrade, a deploy of the Director is needed for the changes to take effect.
If any of the Alyvix nodes listed in the Director should be marked as a different Alyvix node, please apply the correct setting as explained in Create an Alyvix Node once the upgrade to NetEye 4.30 has finished.
Furthermore, in case you migrate some Alyvix node to a Alyvix Tenant shared node in a Multitenant environment, in order to collect its performance metrics, follow
on how to assign a Tenant to the node’s sessions. Please note that the possibility to use the certificates
/neteye/shared/nats-server/conf/certs/master-alyvix_metrics_wo.crt.pem is now deprecated and
the support for those certificates will be removed in the future.
Enabling Modules for Tenants¶
From 4.30, NetEye allows to enable NetEye Feature Modules at Tenant-level, in such a way that you can enable a Feature Module for one of your Tenants, but not for the others.
During the upgrade to NetEye 4.30, the list of enabled Feature Modules in the configuration of existing Tenants is left empty. For this reason, after completing the upgrade to NetEye 4.30, for each Tenant please enable all the Feature Modules used by it.
Feature Modules are to be enabled on each Tenant including Master Tenant, if needed. There are no Tenants where Feature Modules are enabled by default.
For example if Tenant tenantA uses the Feature Modules
after completing the upgrade to 4.30 you should enable those modules with:
neteye tenant config modify tenantA \ --enable-module neteye-alyvix --enable-module neteye-asset
For more information refer to neteye tenant config create.
Note that if you do not enable a module for a Tenant, some features of that module will not be available to that Tenant.
Before starting the upgrade, you should read very carefully the latest release notes on NetEye’s blog and check out the features that will be changed or deprecated after the upgrade.
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:
1. Run the Upgrade¶
To perform the upgrade, run from the command line the following command:
neteye# (nohup neteye upgrade &) && tail --retry -f nohup.out
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 NetEye 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.
Restart NetEye to apply the upgrades correctly.
neteye# neteye node reboot
3. Additional Tasks¶
In this release, no additional task is required.