Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Upgrade Paragon Automation

You can upgrade your existing Juniper Paragon Automation Release 2.1.0 installation to Release 2.2.0 using Paragon Shell. The upgrade functionality enables you to upgrade your Paragon Automation installation and all the applications running on it.

Note:

We do not support upgrading from Juniper Paragon Automation Release 2.0.0 to Release 2.2.0.

The upgrade process is automated by a set of Paragon Shell commands and carries out the required pre-upgrade system checks, retrieves the upgrade package, and executes the upgrade process on the cluster nodes. You can upgrade using an upgrade 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.

To upgrade your Paragon Automation cluster:

  1. Upgrade your installation and all the applications running on it using either the local option or the url option.

  2. Upgrade Paragon Shell and the OVA System Files.

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.

  • The cluster is healthy and operational.

    Execute the # health-check command from the Linux root shell. The Overall Cluster Status must be GREEN. For example:

  • Delete or deprovision L3VPN, EVPN, and L2 circuit service and resource instances used for service orchestration.

    1. Log in to the Paragon Automation GUI.

    2. Delete the service instances.

      1. Select the service instance you want to deprovision on the Service Instances page (Orchestration > Instances).

      2. Click More > Deprovision.

        The Confirm Deprovision page appears.

      3. Click Yes on the Confirm Deprovision page.

        The service is deprovisioned and the resources used by the service are released.

    3. Delete the resource instances and the dependencies.

      Note:

      Retain the resource instances created for the network implementation plan.

      1. Select the resource instance that you want to delete on the Resource Instances page Orchestration > Resource Instances.

      2. Click More > Deprovision.

        The Deprovision Resource Instance page appears.

      3. Click Yes on the Deprovision Resource Instance page.

        The service is deprovisioned and the resources used by the service are released.

    Note:

    If you do not delete the service and resource instances before cluster upgrade, you can also delete them post-upgrade.

  • Stop all running Active Assurance Monitors.

  • (Optional) Check the current build and OVA version of your existing setup from Paragon Shell.

Upgrade Paragon Automation using either the local option or the url option.

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.

  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 Paragon Automation.

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

    For example:

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

    You can now upgrade Paragon Shell and the OVA system files. Go to Upgrade Paragon Shell and the OVA System Files.

    Note that, the upgrade process takes a little over an hour to complete. Also, 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:

Now proceed to Upgrade Paragon Shell and the OVA System Files and Post Cluster Upgrade Tasks.

Upgrade using the url Option

Use this option if your Paragon Automation installation has access to the Internet.

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

    Here primary1 is the installer primary node.

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

    You can now upgrade Paragon Shell and the OVA system files. Go to Upgrade Paragon Shell and the OVA System Files.

    Note that, the upgrade process takes a little over an hour to complete. Also, 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:

Now proceed to Upgrade Paragon Shell and the OVA System Files and Post Cluster Upgrade Tasks.

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 setup from Paragon Shell.

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

  3. Restart all Active Assurance Monitors one by one. Wait until each restarted monitor is running and producing metrics before restarting the next monitor.