9.3. Installing Red Hat Enterprise Virtualization Hypervisor
9.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 9.2. Subscribing to RHN Entitlement Pools and Installing the Red Hat Enterprise Virtualization Hypervisor Packages
Subscribing to download the Hypervisor using certificate-based RHN
Identify Available Entitlement PoolsTo subscribe the system to the Red Hat Enterprise Virtualization channels you need you must locate the identifier for the relevant entitlement pool. Use thelistaction in the subscription-manager to find these:#
subscription-manager list --available | grep -A8 "Red Hat Enterprise Virtualization"- Subscribe System to Entitlement PoolsUsing the pool identifiers located in the previous step, subscribe the system to
Red Hat Enterprise Linux ServerandRed Hat Enterprise Virtualizationentitlements. Use thesubscribeparameter of thesubscription-managercommand, and replacePOOLIDwith one of the pool identifiers.#
subscription-manager subscribe --pool=POOLID
Subscribing to download the Hypervisor using RHN Classic
- Log on to Red Hat Network http://rhn.redhat.com.
- Move the mouse cursor over the
Subscriptionslink at the top of the page, and then clickRegistered Systemsin the menu that appears. - Select the system to which you are adding channels from the list on the screen by clicking the name of the system.
- Click in the Subscribed Channels section of the screen.
- Select the
Red Hat Enterprise Virtualization Managerchannel from the list on the screen, then click the button to finalize the change.
- Log in to the system on which the Red Hat Enterprise Virtualization Manager is installed. Log in as
root. - 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.