Upgrade Paragon Automation
You can upgrade your current release version of Paragon Automation to a subsequent release version using Paragon Shell. The upgrade functionality enables you to upgrade your Paragon Automation installation and all the applications running on it. The upgrade process is automated and carries out the required pre-upgrade system checks, retrieves the upgrade package, and executes the upgrade process on the cluster nodes.
The upgrade process is automated by a set of Paragon Shell commands. You can upgrade using an upgrade file that is either downloaded locally on your primary node or accessed directly from a Web page.
During an upgrade its important that no change activities including onboarding of devices, provisioning of services or changing other configuration are done in the system. The upgrade will automatically reboot all components and there will be a short unavailability during that time. The upgrade process does not affect the traffic through the network and once the upgrade is complete, the devices and services are not reconfigured.
We recommend that you back up your configuration before upgrading. For information on backing up your current configuration, see Back Up and Restore Paragon Automation.
Prerequisites to the Upgrade Process
Before you upgrade the Paragon Automation cluster, ensure the following.
-
Paragon Shell is accessible and operational.
-
The cluster nodes have the following free disk space available:
-
The primary node from which the cluster was deployed must have 15% of the total disk space + three times the upgrade file size free.
-
The other two primary and worker nodes must have 15% of the total disk space + the same amount as the upgrade file size free.
-
The worker node must have 15% of the total disk space free.
-
Upgrade Paragon Automation using one of the following options.
Upgrade using the local
Option
Use this option for air-gapped environments where your paragon Automation installation does not have access to the Internet. However, you need to be able to copy the upgrade_paragon-release-build-id.tgz and upgrade_paragon-release-build-id.tgz.psig files to your primary node.
Log in as root user to the primary node from which the current cluster was installed. You are logged in to Paragon Shell.
Type
exit
to exit from Paragon Shell to the Linux root shell.Copy the upgrade_paragon-release-build-id.tgz and upgrade_paragon-release-build-id.tgz.psig files, of the version to which you want to upgrade, to the /root/epic/temp folder.
You might need to download the upgrade_paragon-release-build-id.tgz and upgrade_paragon-release-build-id.tgz.psig files from the Juniper Software Download site to your local computer before copying it to the primary node.
(Optional) Use the
gpg --verify
command to validate the digital signature of the upgrade file. For example:root@primary:~# gpg --verify upgrade_paragon-release-2.0.0.6824.g83b20ea7fd.tgz.psig upgrade_paragon-release-2.0.0.6824.g83b20ea7fd.tgz gpg: Signature made Tue Apr 23 01:00:09 2024 UTC gpg: using RSA key 4B7B22C9C4FE32CF gpg: Good signature from "Northstar Paragon Automation 2024 ca@juniper.net" [ultimate]
Validation takes a couple of minutes to complete.
Type
cli
to enter Paragon Shell.Use the following command to upgrade Paragon Automation.
request paragon cluster upgrade local filename upgrade_paragon-release-build-id.tgz
For example:
root@primary> request paragon cluster upgrade local filename upgrade_paragon-release-2.0.0.6824.g83b20ea7fd.tgz Using local file /root/epic/temp/upgrade_paragon-release-2.0.0.6824.g83b20ea7fd.tgz for upgrade Upgrade is in progress ... Updated to build: paragon-release-2.0.0.6824.g83b20ea7fd Upgrade is successful
Upgrade using the url
Option
Use this option if your Paragon Automation installation has access to the Internet.
Log in as root user to the primary node from which the current cluster was installed. You are logged in to Paragon Shell.
Use the following command to upgrade Paragon Automation.
request paragon cluster upgrade url "https://juniper.software.download.site/upgrade_paragon-release-build-id.tgz?query_string
"For example:
root@primary> request paragon cluster upgrade url "https://cdn.juniper.net/software/paragon-images/upgrade_paragon-release-2.0.0.6688.g63026f4af7.tgz?query_string" Upgrading paragon cluster from https://cdn.juniper.net/software/paragon-images Downloading tarball file upgrade_paragon-release-2.0.0.6688.g63026f4af7.tgz Download file size: 19,526,900,113 bytes Current disk Usage: Total: 263,622,004,736 bytes Used: 83,496,677,376 bytes Available: 168,297,881,600 bytes Please wait for current download to finish... (File is large. It may take a while.) File upgrade_paragon-release-2.0.0.6688.g63026f4af7.tgz is downloaded. Upgrade is in progress ... Updated to build: paragon-release-2.0.0.6688.g63026f4af7 Upgrade is successful