2.4. Upgrading the Red Hat Virtualization Manager from 4.3 to 4.4
Red Hat Virtualization Manager 4.4 is only supported on Red Hat Enterprise Linux 8.2 or later. You need to do a clean installation of Red Hat Enterprise Linux 8.2 or later and Red Hat Virtualization Manager 4.4, even if you are using the same physical machine that you use to run RHV Manager 4.3.
The upgrade process requires restoring Red Hat Virtualization Manager 4.3 backup files onto the Red Hat Virtualization Manager 4.4 machine.
- All data centers and clusters in the environment must have the cluster compatibility level set to version 4.2 or 4.3 before you start the procedure.
- If you use an external CA to sign HTTPS certificates, follow the steps in Replacing the Red Hat Virtualization Manager CA Certificate in the Administration Guide. The backup and restore include the 3rd-party certificate, so you should be able to log in to the Administration portal after the upgrade. Ensure the CA certificate is added to system-wide trust stores of all clients to ensure the foreign menu of virt-viewer works. See BZ#1313379 for more information.
Connected hosts and virtual machines can continue to work while the Manager is being upgraded.
- Log in to the Manager machine.
Back up the Red Hat Virtualization Manager 4.3 environment.
# engine-backup --scope=all --mode=backup --file=backup.bck --log=backuplog.log
- Copy the backup file to a storage device outside of the RHV environment.
- Install Red Hat Enterprise Linux 8.2 or later. See Performing a standard RHEL installation for more information.
Complete the steps to install Red Hat Virtualization Manager 4.4, including running the command
yum install rhvm, but do not run
engine-setup. See one of the Installing Red Hat Virtualization guides for more information.
Copy the backup file to the Red Hat Virtualization Manager 4.4 machine and restore it.
# engine-backup --mode=restore --file=backup.bck --provision-all-databasesNote
If the backup contained grants for extra database users, this command creates the extra users with random passwords. You must change these passwords manually if the extra users require access to the restored system. See https://access.redhat.com/articles/2686731.
Install optional extension packages if they were installed on the Red Hat Virtualization Manager 4.3 machine.
# yum install ovirt-engine-extension-aaa-ldap ovirt-engine-extension-aaa-misc ovirt-engine-extension-logger-log4jNote
The configuration for these package extensions must be manually reapplied because they are not migrated as part of the backup and restore process.
Configure the Manager by running the
- Decommission the Red Hat Virtualization Manager 4.3 machine if a different machine is used for Red Hat Virtualization Manager 4.4. Two different Managers must not manage the same hosts or storage.
engine-setupto configure the Manager.
The Red Hat Virtualization Manager 4.4 is now installed, with the cluster compatibility version set to 4.2 or 4.3, whichever was the preexisting cluster compatibility version. Now you need to upgrade the hosts in your environment to RHV 4.4, after which you can change the cluster compatibility version to 4.4.
You can now update the hosts.