Wired Intelligent Edge

 View Only
last person joined: 2 days ago 

Bring performance and reliability to your network with the HPE Aruba Networking Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of your switching devices, and find ways to improve security across your network to bring together a mobile-first solution
Expand all | Collapse all

NetEdit 2.8 to 2.9 Upgrade Config Backup

This thread has been viewed 32 times
  • 1.  NetEdit 2.8 to 2.9 Upgrade Config Backup

    Posted Dec 06, 2023 02:10 PM

    It looks like NetEdit 2.9 requires a new install. I don't see a way to backup the configuration. The 2.8 docs say, "The upgrade of the NetEdit application will make a backup copy of the current /opt/netedit/config/application.properties file to /opt/netedit/config/application.properties.bak. If changes have been made to the current application.properties file before upgrading, then manual transfer of the modified properties may be required." 

    Do I backup that file and copy it to the new server to keep the config or am I missing something in the Release Notes and Installation Guide?

    Thanks

    Robert



  • 2.  RE: NetEdit 2.8 to 2.9 Upgrade Config Backup

    MVP GURU
    Posted Dec 06, 2023 03:01 PM
    Hi! I did the Aruba NetEdit 2.8.0 update to Aruba NetEdit 2.9.0 few days ago...the update process, as usual, was really flawless (my basic configuration was retained, as I expected), am I missing anything really important about the 2.8.0->2.9.0 update process (as you're speaking about) or are you just worrying about a potentially "false issue"?





  • 3.  RE: NetEdit 2.8 to 2.9 Upgrade Config Backup

    Posted Dec 06, 2023 03:34 PM

    Thanks for the quick response. Typically, I take a snapshot, install the update file, and it works.  The update isn't working. It just returns to the logon screen. I suspect it has to do with the Debian version. I found this in the docs. If this is the case, it sounds like one would backup the config, install via the OVA, and then restore the config.

    Upgrading to NetEdit 2.9.0 requires Debian 10. To continue to receive fixes and security updates for NetEdit's PostgreSQL database, beginning with NetEdit 2.9.0, new OVAs installations and upgrades will use PostgreSQL version 12. The PostgreSQL version of 12 requires Debian 10 (buster) to be installed on the NetEdit OVA. Customers must upgrade to Debian 10 (Buster) to upgrade to NetEdit 2.9.0. Not upgrading the Debian OS on the NetEdit OVA to Debian 10 will cause NetEdit 2.9.0 upgrades to fail. Instructions for upgrading NetEdit OVA operating system Debian 9 (Stretch) to Debian 10 (buster) can be found in the NetEdit Installation Guide. Simply upgrading the NetEdit app to 2.4.0 will not upgrade the base operating system of the OVA. The instructions in the NetEdit Installation Guide must be followed to fully upgrade the base operating system to supported Debian version.




  • 4.  RE: NetEdit 2.8 to 2.9 Upgrade Config Backup

    Posted Dec 06, 2023 03:43 PM

    It looks like it is running Debian 9.13
    uname -a
    Linux netedit 4.9.0-16-amd64 #1 SMP Debian 4.9.272-2 (2021-07-19) x86_64 GNU/Linux
    neadmin@netedit:~$ lsb_release -a
    No LSB modules are available.
    Distributor ID:    Debian
    Description:    Debian GNU/Linux 9.13 (stretch)
    Release:    9.13
    Codename:    stretch




  • 5.  RE: NetEdit 2.8 to 2.9 Upgrade Config Backup

    MVP GURU
    Posted Dec 06, 2023 06:33 PM

    Hi! I believe I understood why I wasn't hit by your issue:

    "With the release of NetEdit 2.4.0, new NetEdit OVA installations have Debian 10 (Buster) as the base operating system. NetEdit versions released prior to version 2.4.0 use Debian 9 (Stretch) as the base operating system. Debian long term support for Debian 9 will end on June 2022. Aruba recommends upgrading older NetEdit installations to to Debian 10 to continue to receive security updates."

    My Aruba NetEdit was reinstalled from scratch with the Aruba NetEdit 2.8.0 OVA so it's a native Debian 10 (which was introduced with new installs starting with the OVA of Aruba NetEdit 2.4.0, see the note above):

    neadmin@netedit:~$ uname -a
    Linux netedit.datafarm.local 4.19.0-24-amd64 #1 SMP Debian 4.19.282-1 (2023-04-29) x86_64 GNU/Linux

    neadmin@netedit:~$ lsb_release -a
    No LSB modules are available.
    Distributor ID :    Debian
    Description    :    Debian GNU/Linux 10 (buster)
    Release        :    10
    Codename       :    buster

    neadmin@netedit:~$ cat /etc/os-release
    PRETTY_NAME="Debian GNU/Linux 10 (buster)"
    NAME="Debian GNU/Linux"
    VERSION_ID="10"
    VERSION="10 (buster)"
    VERSION_CODENAME=buster
    ID=debian
    HOME_URL="https://www.debian.org/"
    SUPPORT_URL="https://www.debian.org/support"
    BUG_REPORT_URL="https://bugs.debian.org/"

    and this explains why the update from 2.8.0 to 2.9.0 was flawless.

    Given the above I would suggest you to backup configuration and create a new NetEdit system (starting with the latest Aruba NetEdit 2.9.0 OVA) into which you can test the backup configuration restore. 




  • 6.  RE: NetEdit 2.8 to 2.9 Upgrade Config Backup

    Posted Dec 07, 2023 08:02 AM
    Thanks. I figured that was what happened as this system has been upgraded through several versions. The part I'm missing, which may be obvious, is how do you backup the configuration and restore it?

    Robert







  • 7.  RE: NetEdit 2.8 to 2.9 Upgrade Config Backup

    Posted Dec 07, 2023 05:43 PM

    You shouldn't need to backup/restore configuration, you can just update the underlying OS.  Log in via console or ssh and upgrade the OS as you would for any other debian install (sudo apt update, then sudo apt upgrade, then sudo apt full-upgrade)

    Snap the VM first just to be safe, of course, but that should be all there is to it.  Once Debian is upgraded, just install the netedit update as normal.




  • 8.  RE: NetEdit 2.8 to 2.9 Upgrade Config Backup
    Best Answer

    Posted Dec 08, 2023 03:58 AM

    I think there may be a typo in the release notes, as the instructions for updating to Debian 10 are included in the User Guide, not the Installation Guide (Page 58). 

    https://www.arubanetworks.com/techdocs/AOS-CX/NetEdit/ne_2-4-0_ug.pdf




  • 9.  RE: NetEdit 2.8 to 2.9 Upgrade Config Backup

    Posted Dec 08, 2023 02:51 PM

    I followed the user guide and the upgrade is complete.