Upgrading ExaGear for Server on Ubuntu
Before the Upgrade
1. Ensure that ExaGear Server has been installed on the host system.
2. Copy all ExaGear Server configuration files to the host system directory for backup.
cp -r /opt/exagear/images/ubuntu-<os_version>-x86_64/.exagear/* /tmp
Performing the Upgrade
1. Run the following command to upgrade the ExaGear Server software package.
sudo dpkg -i exagear-utils_<package_version>_all.deb exagear-core-x64a64_<package_version>_arm64.deb exagear-core-x32a64_<package_version>_arm64.deb exagear-guest-for-ubuntu-<os_version>-x86_64-<package_version>_all.deb exagear-integration_<package_version>_all.deb sudo apt-get install -f
2. Combine the ExaGear Server configuration file that is backed up with the default configuration files after the upgrade. For example, to combine the configuration file vpath-list in the shared directory, run the following command:
cat /tmp/vpath-list /opt/exagear/images/ubuntu-<os_version>-x86_64/.exagear/vpaths-list |sort|uniq > /opt/exagear/images/ubuntu-<os_version>-x86_64/.exagear/vpaths-list
Post-upgrade Check
Run the following command to check the ExaGear Server version after upgrade:
/opt/exagear/bin/ubt_x64a64_al -v
If the values of Revision and <package_version> are the same, the upgrade is complete.
The target version of ExaGear Server is installed based on the source version. All Linux applications on x86 and ExaGear Server configurations on the guest system are retained.