Bookmark this page

Guided Exercise: Updating and Upgrading Red Hat Virtualization

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.

  1. 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...
  2. 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
  3. Exit from hostb.

  4. On workstation, open Firefox and log in to the Administration Portal as the admin user with the internal profile. Use redhat as the password.

  5. Navigate to the Compute+Hosts menu option.

  6. On the list of available RHV-H hosts, highlight the hostb.lab.example.com host. Click the Installation button, and then click Check for Upgrade.

  7. When the Upgrade Host window displays, click OK 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.

  8. Highlight the hostb.lab.example.com host. Click Installation button, and then click Upgrade.

  9. In the Upgrade Host window, click the OK 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.

  10. When the upgrade process finishes, log out from the Administration Portal. This completes the guided exercise.

Finish

On workstation, run the lab upgrade-update finish script to complete this exercise.

[student@workstation ~]$ lab upgrade-update finish

This concludes the guided exercise.

Revision: rh318-4.3-c05018e