Migration from Release 2.X to Release 3.X or Release 4.X
Overview
You can migrate to Release 3.X or 4.X from Release 2.X.
Paragon Insights (formerly HealthBot) Release 2.X was based entirely on Docker and Docker Compose for the management of the back end microservices for both single-node and multinode installations. Starting with Paragon Insights Release 3.0.0, Kubernetes is used to manage the Docker components in multinode installations. This change introduces some incompatibilities between the existing 2.X data and the 3.X and 4.X formats, specifically:
The underscore, “_”, character is no longer supported for Device Group or Network Group names.
Device Group and Network Group names are no longer case-sensitive. So, in 3.X and 4.X, the names
DeviceGroup
anddeviceGroup
are considered the same.Differences in the time-series databases (TSDB) between the versions can cause problems.
We have implemented procedures for detecting these incompatibilities and transforming the data during specific data migration processes.
The following three use cases describe procedures for migrating the 2.X data into a 3.X installation or a 4.X installation.
The procedures and functions outlined below are provided only on a best-effort basis. There is no guarantee that the data will migrate without some errors. In the event that the migration function encounters incompatibilities that it cannot resolve, an alert message regarding the need for manual intervention is displayed.
Ensure that you are familiar with Paragon Insights Installation Requirements and Using the Interactive Installers to Install or Upgrade to Paragon Insights Release 4.X. These topics provide greater detail about some of the steps outlined in the procedures below.
Case 1: Release 2.X Single-node (Docker Compose) to Release 3.X Single-node (Docker Compose) Migration
Before you begin, you must have:
A working 2.X installation
Downloaded either the
.deb
file for Ubuntu or the.rpm
file for CentOS to a temporary location on your 2.X serverSee Using the Interactive Installers to Install or Upgrade to Paragon Insights Release 4.X for details.
The commands that you need to run to perform the migration on Ubuntu are:
Single-node Paragon Insights installations are not recommended for production systems. If you perform this type of upgrade, you cannot upgrade later to a multinode installation with Docker Compose.
$ sudo apt-get install -y /<path-to-deb-file>/healthbot-<version>.deb $ sudo healthbot setup
Answer “n” to the question about using Kubernetes.
The setup procedure contains the functions needed to detect the incompatibilities and transform the data. If incompatibilities are discovered, you are asked to confirm the data transformation attempt.
$ healthbot start
Check to see if your data was properly migrated.
The commands that you need to run to perform the migration on CentOS are:
sudo yum install -y /<path-to-rpm-file>/healthbot-<version>.rpm sudo healthbot setup
Answer “n” to the question about using Kubernetes.
The setup procedure contains the functions needed to detect the incompatibilities and transform the data. If incompatibilities are discovered, you are asked to confirm the data transformation attempt.
$ healthbot start
Check to see if your data was properly migrated.
Case 2: Automated Migration from 2.X to 3.X and 4.X (Kubernetes)
Before you begin, you must have:
A working 2.X installation
Run
$ healthbot stop
on the 2.X serverDownloaded either the
.deb
file for Ubuntu or the.rpm
file for CentOS to your 3.X or 4.X serverSee Using the Interactive Installers to Install or Upgrade to Paragon Insights Release 4.X for details.
Run the interactive installers on your 3.X or 4.X server.
During the
$ sudo healthbot setup
phase of the install, answer “Y” to the question about installing with Kubernetes.See Using the Interactive Installers to Install or Upgrade to Paragon Insights Release 4.X for details.
When healthbot setup
reports success, do not
run healthbot start
. Instead, run the following commands:
Case 3: Manual Migration from 2.X to 3.X and 4.X (Kubernetes)
Before you begin, you must have:
A working 2.X installation
Run
$ healthbot stop
on the 2.X serverDownloaded either the
.deb
file for Ubuntu or the.rpm
file for CentOS to your 3.X or 4.X serverSee Using the Interactive Installers to Install or Upgrade to Paragon Insights Release 4.X for details.
Run the interactive installers on your 3.X or 4.X server.
During the
$ sudo healthbot setup
phase of the install, answer “Y” to the question about installing with Kubernetes.See Using the Interactive Installers to Install or Upgrade to Paragon Insights Release 4.X for details.
When healthbot setup
reports success, do not
run healthbot start
. Instead, run the following commands
on the 2.X server: