Upgrade NXLog Platform
The steps to upgrade NXLog Platform depend on whether you installed using CLI or using Helm.
Using CLI
As a precaution, we recommend that you back up your data before upgrading NXLog Platform using CLI.
Follow these steps to upgrade NXLog Platform:
-
Log in to your NXLog Platform account.
-
Download the installer for the new NXLog Platform version:
-
In the left navigation menu, click Product download.
-
Select your OS and download the installer.
-
-
Copy the downloaded file to the NXLog Platform host machine.
-
Run the following commands, replacing
x.x.xwith the new NXLog Platform version:$ tar xvf nxp-x.x.x-onprem-amd64.tar.gz $ sudo ./nxp-x.x.x-onprem-amd64.sfx.sh -
Run the following command and answer the prompt to confirm that you want to proceed with upgrading NXLog Platform:
$ sudo nxp_manage.sh upgrade
After the upgrade process completes, your NXLog Platform instance will be running on the same version as the new installer file.
|
If the upgrade process is interrupted or fails, it reverts the local NXLog Platform installation files to their original version.
Before retrying the upgrade process, you must re-run the following command, replacing
|
Using Helm
Perform the following steps before upgrading NXLog Platform using Helm:
-
Read the release notes for all versions between your current NXLog Platform version and the one you are upgrading to. The release notes contain information on any breaking changes and other things to be aware of when upgrading to a new version.
-
As a safety measure, back up of all your NXLog Platform resources.
-
Upgrade NXLog Platform one minor Helm chart version at a time, choosing the latest patch version for each minor version upgrade.
When you’re ready to upgrade NXLog Platform, run the following commands, replacing <version> with the Helm chart version to upgrade to:
$ helm repo update nxp
$ helm upgrade nxp nxp/nxp --namespace nxp --version <version>