Upgrade VigorACS3 by OTA on Linux

VigorACS provides OTA script for Download and Upgrade, this article will guide you on how to upgrade your ACS and keep all your data.

  • VigorACS 3 is only compatible with MariaDB 10 and above. If your MariaDB version isn’t up to date, please backup the database and upgrade MariaDB with VigorACS 3 installation.
  • 1. Backup the database

    The database will remain after the upgrade; however, we still strongly recommend backup the database of VigorACS before you start. Please refer to this article to see how to backup the database.

    2. Stop ACS service
  • Please login with root or root permission.
  • Execute vigoracs.sh in path= /usr/local/vigoracs/VigorACS/bin

    # cd /usr/local/vigoracs/VigorACS/bin/vigoracs.sh

  • Input 6 to shutdown VigorACS service.
  • 3. Download ACS 3
  • Extract VigorACS 3 OTA package via the command in your ACS 3 OTA file path.

    # tar -jxv -f VigorACS_OTA_Linux_3.5.0_r4522.tar.bz2 (-C /path/for/extract/file)

  • ※ you can use the parameter: -C to designate extracted file path.

  • Modify the permission of ota.sh and execute it.

    # cd /path/for/extract/file

    # chmod 755 ota.sh

    # ./ota.sh

  • It will start to download the latest VigorACS installation files. We can upgrade ACS after the download finishes, enter y to upgrade ACS.
  • 4. Upgrade Java
  • Input 6 to upgrade Java
  • Input y to upgrade jdk
  • 5. Upgrade ACS3
  • Input 8 to upgrade ACS
  • Input 1 to use Local side database
  • Input 1 to use ACS MySQL
  • Input the password of root of MariaDB and input y to test
  • Input your Influxdb version(It’s shown on ACS UI About>Software Update>System Info)
  • Input n to keep current JBoss configuration
  • Input 10 after ACS upgrade finishes
  • 6. Start ACS3 service
  • Execute vigoracs.sh in path= /usr/local/vigoracs/VigorACS/bin.

    # cd /usr/local/vigoracs/VigorACS/bin/vigoracs.sh

  • Input 5 to start ACS

    Enter ACS port and memory configuration

    We will see VigorACS PID after it starts.

    Now new VigorACS3 is ready to go

    After ACS upgrade by ota.sh, the auto software upgrade will be available on ACS UI when there is a new version. ACS can be upgraded in the background by just clicking Download and Upgrade.

    Published On:2023-11-01 

    Was this helpful?   

    book icon

    Related Articles