Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Juniper Apstra 5.0.1 / 5.0.0 User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Reinstall Apstra Server

Release: Juniper Apstra 5.0
{}
Change Release
date_range 04-Nov-24
CAUTION:

Reinstalling the Apstra server removes ALL Apstra data from the Apstra server VM and reinstalls a fresh version. Use with care. This is mostly helpful for proof of concepts or demo installs. If you have problems that require you to reinstall the software, contact Juniper Technical Support.

  1. If you want to retain the Apstra database, back it up now.
  2. Download the "Installer" .run file from Juniper Support Downloads.
  3. Run the command service aos stop to stop Apstra service, if possible.
    content_copy zoom_out_map
    admin@aos-server:~$ sudo service aos stop
    admin@aos-server:~$
  4. Delete the Apstra server database.
    content_copy zoom_out_map
    admin@aos-server:~$ sudo rm -rf /var/lib/aos/db/*
    admin@aos-server:~$
  5. Remove the aos-compose package.
    content_copy zoom_out_map
    admin@aos-server:~$ sudo dpkg -r aos-compose
    (Reading database ... 110457 files and directories currently installed.)
    Removing aos-compose (3.3.0-660) ...
    Processing triggers for ureadahead (0.100.0-21) ...
    Processing triggers for systemd (237-3ubuntu10.41) ...
    admin@aos-server:~$
  6. Reinstall the Apstra software from the .run file.
    content_copy zoom_out_map
    admin@aos-server:~$ sudo bash aos_3.3.0-662.run
    Verifying archive integrity... All good.
    Uncompressing AOS installer  100%
    610bd1ae69b7: Loading layer [==================================================>]  52.44MB/52.44MB
    87db235c4ff8: Loading layer [==================================================>]  211.3MB/211.3MB
    668b88b6cd3d: Loading layer [==================================================>]  117.3MB/117.3MB
    b1dd55ca7fd9: Loading layer [==================================================>]  20.63MB/20.63MB
    3f8ebc7f1fae: Loading layer [==================================================>]  4.608kB/4.608kB
    Loaded image: aos:3.3.0-662
    AOS[2020-07-28_02:58:36]: Installing AOS 3.3.0-662 package
    admin@aos-server:~$

You can now restore a database backup or build a new blueprint.

footer-navigation