Performance Checklist
In this lab, you will perform a backup of the Red Hat Virtualization environment and update RHV environment hosts.
Outcome
You should be able to update all RHV-H hosts existing in your environment.
Log in to workstation as student using student as the password.
On workstation, run the lab upgrade-review start command.
This command runs a start script that determines if the Red Hat Virtualization environment is configured and working.
[student@workstation ~]$lab upgrade-review start
Upgrade the hostc.lab.example.com RHV-H host in the production data center.
Download the http://materials.example.com/yum.repos.d/rhvh_updates.repo file to hostc, and then copy it into /etc/yum.repos.d/rhvh_updates.repo.
This enables the RHV-H repository.
From workstation, open a terminal and use ssh to log in to hostc.lab.example.com using the user name root.
[student@workstation ~]$ssh root@hostc.lab.example.com...output omitted...
To update your RHV-H operating system on your hostc.lab.example.com host, 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, and contain the correct updates.
Download the rhvh_updates.repo file from http://materials.example.com/yum.repos.d/rhvh_updates.repo and place it in the /etc/yum.repos.d/ directory to enable those repositories.
[root@hostc ~]#curl http://materials.example.com/yum.repos.d/rhvh_updates.repo \-o /etc/yum.repos.d/rhvh_updates.repo
Exit from hostc.
On workstation, open Firefox and using the https://rhvm.lab.example.com URL go to the RHV-M web interface.
Click on the Administration Portal link and log in to the web interface as the admin user with the internal profile.
Use redhat as the password.
Navigate to Hosts by clicking on the → menu.
On the list of available RHV-H hosts, click on the hostc.lab.example.com host.
In the window that displays, click , and then click .
When the Upgrade Host window displays, click to confirm the upgrade check.
Notice that after a few moments, a new Action Item displays.
Click on next to the Action Item labelled A new version is available.
In the Upgrade Host window, click the button to start the upgrade.
Return to the Compute >> Hosts page.
Wait and watch as the upgrade procedure taking place.
Notice that the hostc.lab.example.com server status changes to Preparing for Maintenance, Maintenance, Installing, Reboot, Unresponsive, and finally to Up.
The upgrade process can take some time to complete.
If hostc.lab.example.com has running virtual machines they will be migrated to another host during the upgrade process.
To ensure a smooth upgrade in the classroom environment shut down any running virtual machines.