2.3. Manually Updating Hosts
yumcommand in the same way as regular Red Hat Enterprise Linux systems. Red Hat Virtualization Host (RHVH) can use the
yumcommand for updates, and to install additional packages and have them persist after an upgrade. It is highly recommended that you use
yumto update your systems regularly, to ensure timely application of security and bug fixes. Updating a host includes stopping and restarting the host. If migration is enabled at cluster level, virtual machines are automatically migrated to another host in the cluster; as a result, it is recommended that host updates are performed at a time when the host's usage is relatively low.
# subscription-manager repos --disable=rhel-7-server-rhevh-rpms # subscription-manager repos --enable=rhel-7-server-rhvh-4-rpms
Procedure 2.3. Manually Updating Hosts
- From the Administration Portal, click the Hosts tab and select the host to be updated.
- Click→ to place the host into maintenance mode.
- On a Red Hat Enterprise Linux host, log in to the host machine and run the following command:
# yum update
- On a Red Hat Virtualization Host, log in to the Cockpit user interface, click Terminal, and run the following command:
# yum update
- Restart the host to ensure all updates are correctly applied.
NoteCheck the imgbased logs to see if any additional package updates have failed for a Red Hat Virtualization Host. If some packages were not successfully reinstalled after the update, check that the packages are listed in
/var/imgbased/persisted-rpms. Add any missing packages then run
rpm -Uvh /var/imgbased/persisted-rpms/*.