Upgrading ExaGear for Server on CentOS
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/centos-<os_version>-x86_64/.exagear/* /tmp
Performing the Upgrade
1. Run the rpm command to upgrade the ExaGear Server software package.
For CentOS with 4 KB page size:
sudo rpm -Uvh exagear-utils-<package_version>.noarch.rpm exagear-core-x64a64-<package_version>.aarch64.rpm exagear-core-x32a64-<package_version>.aarch64.rpm exagear-guest-<package_version>.noarch.rpm exagear-integration-<package_version>.noarch.rpm
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/centos-<os_version>-x86_64/.exagear/vpaths-list |sort|uniq > /opt/exagear/images/centos-<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 for Server on CentOS is installed based on the source version. All Linux applications on x86 and ExaGear for Server on CentOS configurations on the guest system are retained.