1.3. Installing Red Hat Enterprise Virtualization Hypervisor

1.3.1. Registering the Host on RHN and Acquiring ISO Hypervisor Images

Summary
The Red Hat Enterprise Virtualization Manager Red Hat Network channel contains the Hypervisor packages. The Hypervisor itself is contained in the rhev-hypervisor package. Additional tools supporting USB and PXE installations are installed as dependencies. Install the Hypervisor packages on the system you plan to use to create Hypervisor boot media.
Select one of the two options below:

Procedure 1.2. Subscribing to RHN Entitlement Pools and Installing the Red Hat Enterprise Virtualization Hypervisor Packages

  1. Subscribing to download the Hypervisor using certificate-based RHN

    1. Identify Available Entitlement Pools
      To subscribe the system to the Red Hat Enterprise Virtualization channels you need you must locate the identifier for the relevant entitlement pool. Use the list action in the subscription-manager to find these:
      # subscription-manager list --available | grep -A8 "Red Hat Enterprise Virtualization"
    2. Subscribe System to Entitlement Pools
      Using the pool identifiers located in the previous step, subscribe the system to Red Hat Enterprise Linux Server and Red Hat Enterprise Virtualization entitlements. Use the subscribe parameter of the subscription-manager command, and replace POOLID with one of the pool identifiers.
      # subscription-manager subscribe --pool=POOLID
  2. Subscribing to download the Hypervisor using RHN Classic

    1. Log on to Red Hat Network http://rhn.redhat.com.
    2. Move the mouse cursor over the Subscriptions link at the top of the page, and then click Registered Systems in the menu that appears.
    3. Select the system to which you are adding channels from the list on the screen by clicking the name of the system.
    4. Click Alter Channel Subscriptions in the Subscribed Channels section of the screen.
    5. Select the Red Hat Enterprise Virtualization Manager channel from the list on the screen, then click the Change Subscription button to finalize the change.
  3. Log in to the system on which the Red Hat Enterprise Virtualization Manager is installed. Log in as root.
  4. Use yum to install the rhev-hypervisor.
    # yum install rhev-hypervisor
Result
The Hypervisor ISO image is installed into the /usr/share/rhev-hypervisor/ directory. The livecd-iso-to-disk and livecd-iso-to-pxeboot scripts are installed to the /usr/bin/ directory.

Note

All version of Red Hat Enterprise Linux 6.2 and higher allow more than one version of the ISO image to be installed at one time. Because of this, /usr/share/rhev-hypervisor/rhev-hypervisor.iso is now a symbolic link to a uniquely-named version of the Hypervisor ISO image, for instance /usr/share/rhev-hypervisor/rhevh-6.2-20111006.0.el6.iso. Different versions of the image can now be installed alongside each other, allowing administrators to run and maintain a cluster on a previous version of the Hypervisor while upgrading another cluster for testing.
The symbolic links /usr/share/rhev-hypervisor/rhevh-latest6.iso and /usr/share/rhev-hypervisor/rhev-hypervisor6.iso are created. These links target the most-recently installed version of the Red Hat Enterprise Virtualization ISO image.