- 28 Jun 2024
- 5 Minutes to read
- Print
- DarkLight
- PDF
Migrating Netreo from CentOS 6 to Red Hat Enterprise Linux (RHEL) 8
- Updated on 28 Jun 2024
- 5 Minutes to read
- Print
- DarkLight
- PDF
Some previous Netreo virtual appliances use CentOS 6 for their operating system. CentOS 6 has reached its end-of-life stage, and Netreo appliances using it are no longer supported. Affected appliances must be upgraded to Red Hat Enterprise Linux (RHEL) 8.
This document will take a Netreo administrator through the process required to upgrade their Netreo appliance operating system (OS) from CentOS 6 to Red Hat Enterprise Linux (RHEL) 8.
This document applies only to Netreo appliances that are using CentOS 6. Use the procedure below to determine if this upgrade applies to any of your deployed Netreo appliances.
You should check all Netreo appliances you have deployed, including high-availability deployment cluster members, service engines, and Netreo Overview servers, to see if they need to be upgraded.
Determine Netreo appliance OS
Follow the procedure below to determine the current OS of your Netreo appliance.
Log in to Netreo as a user with the SuperAdmin access level.
From the main menu, select Administration » System » Diagnostics to open the System Diagnostics page.
Locate the Software Version panel.
Locate the SYSTEM OS value.
If the SYSTEM OS value indicates any version of CentOS 6, you must upgrade your Netreo appliance following the steps below.
Pre-upgrade preparation
There are a few steps to be performed before the upgrade.
Creating backups
This step allows you to restore your deployment to a pre-upgrade state if a problem occurs during the upgrade process.
The following Netreo appliance types store historical data in their internal databases and are good candidates for backups:
Primary appliances (including Netreo Overview servers)
Replica appliances (in high availability (HA) deployments)
Traffic collector service engine appliances
Log collector service engine appliances
It is recommended to clone the VM of the appliance you wish to back up. Customers are solely responsible for backups.
It is not recommended to make use of snapshots, as snapshots in hypervisors do not allow swapping out the virtual disks.
See the Virtual Machine Backups section of Netreo Backups for more information.
Virtual disk preparation
Netreo will provide the customer with a new OS virtual disk that is used for the upgrade process. Contact Netreo support to request an upgrade disk file.
A copy of this disk must be moved into the local file system of the server running the hypervisor managing the VM to be upgraded.
Netreo appliance actions
If you are upgrading a Netreo high-availability (HA) deployment, you must disable the HA cluster and remove the configuration (follow the procedure below) before beginning the upgrade procedure.
Log in to Netreo as a user with the SuperAdmin access level.
From the main menu, select Administration » System » High Availability to open the High Availability Configuration page.
Click the Delete and Clear High Availability button.
After HA has been disabled, you must perform the upgrade process separately for each individual appliance in the HA cluster. It is recommended to first upgrade the arbitrator, then the replica, then the primary.
All node appliances must be upgraded before reconfiguring and restarting the HA cluster.
To restart, return to the High Availability Configuration page, add your arbitrator and replica IP addresses, and when Netreo shows that the cluster is ready, click the Initialize HA button.
Upgrade procedure
Once you have completed the preparations above for each appliance, you are ready to perform the upgrade(s). Follow the procedure below.
(Remember to schedule maintenance windows for any service engine appliances you plan to upgrade.)
In your hypervisor, activate the console for your Netreo VM.
Log in to the Netreo VM using the following credentials:
Username: config
Password: omniconf
Enter 3 to select Admin Options.
In Administration Options, enter 6 to select CentOS to RHEL Migration.
In Migration Options, enter 1 to select Begin Migration Process.
Allow the migration process to complete.
Once the process is complete, enter Y to shut down the VM.
In your hypervisor, edit the settings for your VM:
Detach the existing OS virtual disk (it should be the smaller of the two, at approximately 20 GB).
Note the disk name (it should be something like “vm-102-disk-0.vmdk”) so as not to confuse it with the new one when they are both associated with the VM but in a detached state.
Attach the new OS virtual disk supplied by Netreo (“Netreo_VA_disk0.vmdk”).
Note: The supplied .vmdk hard drive file cannot be loaded until it is converted to a thick provisioned disk. This must be done before attaching the disk. Consult your hypervisor documentation for specific instructions on how to perform this task.
In your hypervisor, restart the Netreo VM.
Note: If the VM fails to boot, it may be trying to boot from the wrong disk. Consult your hypervisor documentation on how to adjust the disk boot order.
In your hypervisor, activate the console for your Netreo VM:
Enter 2 to select Networking Options.
Provide the IP address, default gateway, and DNS server address to be used.
Go back to the main menu.
Enter 3 to select Admin Options.
In Administration Options, enter 6 to select CentOS to RHEL Migration.
In Migration Options, enter 1 to select Continue Migration Process.
Allow the migration process to complete.
Once the process is complete, enter Y to shut down the VM.
In your hypervisor, restart the Netreo VM.
Note: If you experience networking issues after the upgrade, you may need to remove the old network interface in your VM settings and replace it with one that is compatible with the newer software, such as a “VMXNET 3” adapter type.
Log in to the Netreo UI at the assigned IP address:
Confirm the Netreo appliance OS using the procedure in "Determine Netreo appliance OS" at the top of this page.
Update the license for the appliance:
From the main menu, select Administration » System » License to open the Netreo License Information page.
In the license info panel, select Update or Request License. (The fields should populate automatically with the correct values.)
Select Auto License to automatically update the license for this appliance (requires an internet connection).
Rediscover all devices:
Select Administration » Change Devices » Rediscover Devices from the main menu to open the Repoll Devices page.
In the SELECT A FUNCTION GROUP field, select Everything.
Click the select-all checkbox in the table to select all devices.
Click Rediscover Selected Devices to begin the discovery process. (This process can take some time and may be left to complete on its own.)
If you have other Netreo appliances to upgrade, move on to the next until all upgrades are complete.
Once all upgrades are complete, you may reconfigure and restart any HA clusters involved in the upgrade process.
Monitor the upgraded systems to make sure that they are polling their assigned devices (device data should begin updating after approximately 15 minutes), appropriately creating incidents, and sending alert notifications.
Recovery from backup
If the upgrade did not go as expected, redeploy from your backup and begin again.
If you continue to experience issues, reach out to Netreo support for assistance.