Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Upgrade Apstra Flow on the Same VM (In-Place)

SUMMARY This topic provides instructions on how to upgrade your Asptra Flow configuration on the same VM. This process is referred to as an "in-place" upgrade.

Upgrade Asptra Flow

You can run an automated upgrade script (recommended) to easily upgrade your Asptra Flow configuration with minimal downtime. Follow the steps in this procedure to upgrade Asptra Flow from version 4.2.1 to 5.0.0.
Note:

Make sure that you upgrade to the latest Apstra version before running the upgrade file. You can find the current version by navigating to Platform > About in the Apstra GUI. The Apstra version is also shown in the left navigation menu of the GUI under the Juniper Apstra logo. For step-by-step upgrade instructions, see the Juniper Installation and Upgrade Guide.

To automatically upgrade Asptra Flow:

  1. Download the Apstra Flow upgrade file (apstra-flow-5.0.0-ubuntu-22.04-7.2.1-upgrade.tar.gz) from the Juniper Support Downloads page located under Applications.
  2. Log in to the Asptra Flow console. The default credentials are: user=apstra and password=apstra.
  3. Verify the flow collector version that is currently installed (in this case, 6.4.2).
  4. Extract the upgrade (tar.gz) file you just downloaded in Step 1. For example:
    apstra@apstra-flow:~$ tar -xvzf apstra-flow-5.0.0-ubuntu-22.04-7.2.1-upgrade.tar.gz
  5. When the files have finished downloading, cd to the /apstra-flow-5.0.0-ubuntu-22.04-7.2.1-upgrade directory. Terminal window showing directory listing for apstra-flow-5.0.0-ubuntu-22.04-7.2.1-upgrade with various files and folders.
    Note:

    This folder contains a README.md file that includes steps on how to run a manual installation, if desired.

  6. Run the automated upgrade script. Accept the default settings when prompted during the installation. The upgrade will take around 3 to 5 minutes.
    sudo ./upgrade.sh
  7. When the installation is complete, verify that the flow collector was upgraded to version 7.2.1.
  8. Check that your services are active and running.

    Run the following commands to see the status of the flowcollector, opensearch, and opensearch-dashboard services:

    sudo systemctl status flowcoll.serviceOutput of sudo systemctl status flowcoll.service showing the service is active and running with PID 4715 using 350.6M memory and 5.850 percent CPU.
    sudo systemctl status opensearchOpenSearch service is active and running. Main PID is 4319, consuming 10.66 GB memory. Warnings on deprecated Java methods noted.
    sudo systemctl status opensearch-dashboards.serviceTerminal window showing opensearch-dashboards.service status as active running as of August 23, 2024. Service loaded and enabled.
  9. Finally, reopen the Asptra Flow dashboards from the Apstra GUI and verify that OpenSearch was updated to v2.16.0. Screenshot of Juniper Apstra network monitoring dashboard showing Flow: Overview section with dropdown filters for flow exporter, client, and server. Includes donut charts for traffic distribution in bytes by servers, clients, services, autonomous systems, IP versions, and protocols. Session Established section highlights ACK and PSH. OpenSearch version v2.16.0 indicated by a red arrow.
Congratulations! You have successfully upgraded your Apstra Flow configuration. You can now start using the new features for Apstra 5.0.0.