Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Upgrade Paragon Automation

The upgrade functionality provided by Paragon Shell enables you to upgrade your Paragon Automation installation and all the applications running on it to the current release.

You can upgrade to the current Juniper Paragon Automation Release 2.4.0 from the following releases.

  • Release 2.3.0

  • Release 2.2.0

We do not support upgrading directly from Juniper Paragon Automation releases 2.0.0 and 2.1.0 to release 2.4.0. If you have a release 2.1.0 installation, you can upgrade to release 2.2.0, and then use the process described in this topic to subsequently upgrade to release 2.4.0 .

The upgrade process is automated by a set of Paragon Shell commands and carries out the required system checks, retrieves the upgrade package, and executes the upgrade process on the cluster nodes. You can upgrade using a file that is either downloaded locally on your primary node or downloaded directly from a Web page.

During an upgrade, it is important that no change activities including onboarding of devices, provisioning of services or changing other configurations are done in the system. The upgrade will automatically reboot all components and there will be 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.

Note:

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.

Perform the following steps to upgrade to Paragon Automation Release 2.4.0:

  1. Upgrade Prerequisites—Ensure that all upgrade prerequisites are met

  2. Upgrade the Paragon Automation cluster—Upgrade the cluster using either Upgrade using the local filename Option or Upgrade using the remote url Option

  3. Upgrade Paragon Shell and the OVA System Files—Upgrade Paragon Shell and the OVA system files on all the cluster nodes

Upgrade Prerequisites

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.

  • Disable and delete previous OpenSearch backup files to free up space.

    1. Disable OpenSearch backup.

    2. Delete the periodic backup job.

    3. Delete all existing OpenSearch backup files.

  • Verify that the cluster is healthy and operational.

    If you are upgrading from release 2.2.0 to release 2.4.0, execute the health-check command from the Linux root shell. The Overall Cluster Status must be GREEN.

    If you are upgrading from release 2.3.0 to release 2.4.0, you can skip this step. The upgrade command in release 2.3.0 preemptively runs the health-check to verify cluster health before upgrading the cluster.

  • (Optional) Check the current build and OVA version of your existing release from Paragon Shell using the show paragon version command.

Upgrade the Paragon Automation cluster

Perform the following steps if you want to upgrade Paragon Automaton releases 2.3.0 and 2.2.0 to the current 2.4.0 release.

You can upgrade your installation and all the applications running on it using any one of the following two options:

Upgrade using the local filename 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.

Note: If you are upgrading from release 2.2.0 to release 2.4.0, perform the steps detailed in Upgrade using the local Option.

If you are upgrading from release 2.3.0 to release 2.4.0, perform the following steps.

  1. Log in as root user to the primary node from which the current cluster was installed. You are logged in to Paragon Shell.

  2. Type exit to exit from Paragon Shell to the Linux root shell.

  3. 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.

  4. (Optional) Use the gpg --verify command to validate the digital signature of the upgrade file. For example:

    Here primary1 is the installer primary node. Validation takes a couple of minutes to complete.

  5. Type cli to enter Paragon Shell.

  6. Use the following command to upgrade the Paragon Automation cluster:

    request paragon cluster upgrade local filename upgrade_paragon-release-build-id.tgz

    For example:

    Here primary1 is the installer primary node. The upgrade command checks the health of the cluster before upgrading. If the cluster health check returns a GREEN status, the cluster is upgraded requiring no further input. If the cluster health check returns a RED status, the cluster is not upgraded. If the cluster health check returns an AMBER status, you are prompted to choose to continue or stop the upgrade.

    You can also use the request paragon cluster upgrade local filename upgrade_paragon-release-build-id.tgz no-confirm option to ignore the AMBER status and continue with the upgrade without being prompted. The no-confirm option does not ignore a RED status.

    Note that, the upgrade process takes over an hour to complete. If you get disconnected from the VM during the upgrade process, you can periodically check the upgrade log file until you see an output similar to this:

    Your Paragon Automation installation and all the applications running on it are upgraded.

  7. Execute the request paragon health-check command to ensure that the upgraded cluster is healthy and operational.

    The Overall Cluster Status must be GREEN.

  8. Upgrade Paragon Shell and the OVA system files.

    Go to Upgrade Paragon Shell and the OVA System Files.

Upgrade using the remote url Option

Use this option if your Paragon Automation installation has access to the Internet and the upgrade file is in a remote location.

Note: If you are upgrading from release 2.2.0 to release 2.4.0, perform the steps detailed in Upgrade using the url Option. The remote url option is available only from release 2.3.0 onwards.

If you are upgrading from release 2.3.0 to release 2.4.0, perform the following steps.

  1. Log in as root user to the primary node from which your existing cluster was installed. You are logged in to Paragon Shell.

  2. Use the following command to upgrade the Paragon Automation cluster:

    request paragon cluster upgrade remote url "https://juniper.software.download.site/upgrade_paragon-release-build-id.tgz?query_string"

    For example:

    Here primary1 is the installer primary node. The upgrade command checks the health of the cluster before upgrading. If the cluster health check returns a GREEN status, the cluster is upgraded requiring no further input. If the cluster health check returns a RED status, the cluster is not upgraded. If the cluster health check returns an AMBER status, you are prompted to choose to continue or stop the upgrade.

    You can also use the request paragon cluster upgrade remote url "https://juniper.software.download.site/upgrade_paragon-release-build-id.tgz?query_string" no-confirm option to ignore the AMBER status and continue with the upgrade without being prompted. The no-confirm option does not ignore a RED status.

    Note that, the upgrade process takes a little over an hour to complete. If you get disconnected from the VM during the upgrade process, you can periodically check the upgrade log file until you see an output similar to this:

    Your Paragon Automation installation and all the applications running on it are upgraded.

  3. Execute the request paragon health-check command to ensure that the upgraded cluster is healthy and operational.

    The Overall Cluster Status must be GREEN.

  4. Upgrade Paragon Shell and the OVA system files.

    Go to Upgrade Paragon Shell and the OVA System Files.

Upgrade Paragon Shell and the OVA System Files

When your Paragon Automation installation and all the applications running on it are successfully upgraded, you must upgrade Paragon Shell and the OVA system files.

  1. Exit from the installer primary node Paragon Shell to the Linux root shell by typing exit.

  2. Execute the Paragon Shell upgrade shell script.

    Paragon Shell and the OVA system files are upgraded.

  3. (Optional) Check the build and OVA version of your upgraded cluster from Paragon Shell.

Proceed to perform the post cluster upgrade tasks.

Post Cluster Upgrade Tasks

After upgrading the cluster and Paragon Shell OVA, perform the following tasks to complete the upgrade process.

  1. Update the base OS. See Update the OS.

  2. Upgrade the service designs, update the network implementation plan, and recreate the resource and service instances. See Update the Network Implementation Plan and Recreate Service Instances After Upgrade.