In this exercise, you will verify that your RHV environment has been updated to the latest version of the software.
Outcome
You should be able to update the hostb RHV-H host in your environment.
Log in to workstation as student using student as the password.
On workstation, run the lab upgrade-update start command.
This command runs a start script that determines if the Red Hat Virtualization environment is configured and working.
[student@workstation ~]$lab upgrade-update start
Make sure that the RHV-M environment configured in the previous labs is still working, including the engine, hosts, and resources.
From workstation, open a terminal and use ssh to log in to hostb.lab.example.com using the user name root and redhat as password.
[student@workstation ~]$ssh root@hostb.lab.example.com...output omitted...
To update the RHV-H host on your hostb.lab.example.com system, you normally would ensure the system is registered with Red Hat Subscription Manager and has the correct entitlements and Yum repositories enabled.
In this classroom environment, this step has been modified because the classroom might not have access to the Content Distribution Network or to a Red Hat Satellite server. Instead, local Yum repositories have been provided that contain the correct updates.
Download the rhvh_updates.repo file from http://materials.example.com/yum.repos.d/rhvh_updates.repo, and then place it in the /etc/yum.repos.d/ directory to enable those repositories.
[root@hostb ~]#curl http://materials.example.com/yum.repos.d/rhvh_updates.repo \-o /etc/yum.repos.d/rhvh_updates.repo
Exit from hostb.
On workstation, open Firefox and log in to the Administration Portal
as the admin user with the internal profile.
Use redhat as the password.
Navigate to the +Hosts menu option.
On the list of available RHV-H hosts, highlight the hostb.lab.example.com host.
Click the button, and then click .
When the Upgrade Host window displays, click to confirm the upgrade check.
Notice that after a brief pause, a new Action Item appears next to the RHV-H host. This new icon is a reminder that an upgrade for this host is available.
Highlight the hostb.lab.example.com host.
Click button, and then click .
In the Upgrade Host window, click the button to start the upgrade.
Wait and watch the as the upgrade procedure takes place.
The upgrade process can take some time to complete.
Notice that the hostb.lab.example.com server status changes to Preparing for Maintenance, Maintenance, Installing, Reboot, Unresponsive, and finally, to Up.
When the upgrade process finishes, log out from the Administration Portal. This completes the guided exercise.