Product SiteDocumentation Site

2. Install Red Hat Enterprise Virtualization Hypervisor

You have now successfully installed Red Hat Enterprise Virtualization Manager. The next step is to install your Red Hat Enterprise Virtualization Hypervisor hosts, which will be used to run your virtual machines. Note that you have to perform this installation once on each physical server used as a host.
While this lab describes the use of Red Hat Enterprise Virtualization Hypervisor hosts, you can also use Red Hat Enterprise Linux servers as virtual machine hosts. See To install a Red Hat Enterprise Linux 6 host for details. In addition, if you wish to use installation methods other than ISO images (including network or PXE boot), see the Red Hat Enterprise Linux — Hypervisor Deployment Guide.
Before installing the Red Hat Enterprise Virtualization Hypervisor, you need to download the hypervisor image from the Red Hat Network and create a bootable CD with the image. This procedure can be performed on any machine running Red Hat Enterprise Linux.
To prepare a Red Hat Enterprise Virtualization Hypervisor installation CD
  1. Download the latest version of the rhev-hypervisor* package from Red Hat Network. The list of hypervisor packages is located at the Red Hat Enterprise Virtualization Hypervisor (v.6 x86-64) channel.
  2. Install the RPM on a Red Hat Enterprise Linux system. You must log in as the root user and navigate to the location of the downloaded file to perform this step.
    # yum localinstall rhev-hypervisor*.rpm
  3. Insert a blank CD into your CD writer. Use the cdrecord utility to burn the hypervisor ISO image onto your disc. Run:
    # cdrecord dev=/dev/cdrw /usr/share/rhev-hypervisor/rhev-hypervisor.iso
You have created a Red Hat Enterprise Virtualization Hypervisor installation CD, now you can use it to boot the machine designated as your hypervisor host. This lab describes the interactive installation where you are prompted to configure your settings in a graphical interface. Use the following keys to navigate around the installation screen:
Menu Navigation Keys
To install Red Hat Enterprise Virtualization Hypervisors
  1. Insert the Red Hat Enterprise Virtualization Hypervisor installation CD into your CD-ROM drive of the machine designated as a host. Reboot the machine. When the boot splash screen displays, press the Tab key and select Boot to boot from the hypervisor installation media. Press Enter.
  2. On the installation confirmation screen, select Install RHEV Hypervisor and press Enter.
  3. The installer automatically detects the drives attached to the system. The disk selected for booting the hypervisor is highlighted in white. Ensure that the local disk is highlighted, otherwise use the arrow keys to select the correct disk. Select Continue and press Enter.
  4. You are prompted to select the drive on which the hypervisor is to be installed. Ensure that the local disk is highlighted, otherwise use the arrow keys to select the correct disk. While multiple installation drives can be used, select only one for this evaluation. Select Continue and press Enter.
  5. Enter a password for local console access and confirm it. Select Install and press Enter. The Red Hat Enterprise Virtualization Hypervisor partitions the local drive, then commences installation.
  6. Once installation is complete, a dialog prompts you to Reboot the hypervisor. Press Enter to confirm. Remove the installation disc.
  7. After the hypervisor has rebooted, you will be taken to a login shell. Log in as the admin user with the password you provided during installation to enter the Red Hat Enterprise Virtualization Hypervisor management console.
  8. On the hypervisor management console, there are eight tabs on the left. Press the Up and Down keys to navigate between them and Enter to access them.
    1. Select the Network tab. Fill in the required fields as shown in the following example. Substitute the DNS Server address according to your environment.
      Configure Hypervisor network settings
      Figure 5. Configure Hypervisor network settings

      After you have filled in the fields, select Apply and press Enter. This saves your network settings.
    2. For this document, the eth0 device will be used to set up the management network. Select it and press Enter to access the interface configuration menu. Fill in the required fields as shown in the following example.
      Configure management network interface
      Figure 6. Configure management network interface

      Under IPv4 Settings, select DHCP or Static IP addressing and press Spacebar to mark the option as enabled. If using static IP addressing you must also provide the IP Address, Netmask, and Gateway. Select Apply and press Enter.
      A dialog prompts you to confirm your network settings, select OK and press Enter.
    3. Select the RHEV-M tab. Configure the following options:
      • In the Management Server field, enter rhevm.demo.redhat.com.
      • In the Management Server Port field, enter 8443.
      • Tick the Connect to the RHEV Manager and Validate Certificate checkbox.
      • The Set RHEV-M Admin Password field allows you to specify the root password for the hypervisor, and enable SSH password authentication from the Red Hat Enterprise Virtualization Manager. You do not have to fill in this field for this document.
      Select Apply and press Enter. A dialog displays, asking you to connect the hypervisor to the Red Hat Enterprise Virtualization Manager and validate its certificate. Select Approve and press Enter. A message will display notifying you that the Manager configuration has been successfully updated.
    4. Under the Red Hat Network tab, you can register the host with the Red Hat Network. This enables the host to run Red Hat Enterprise Linux virtual machines with proper RHN entitlements. However, for the purposes of this document, the evaluation subscriptions will be used for the guests.
    5. Accept all other default settings. For information on security, logging, and kernel dump configuration, refer to the Red Hat Enterprise Linux 6 Hypervisor Deployment Guide. The guide also covers non-interactive hypervisor installation.
    6. Finally, select the Status tab. Select Restart and press Enter to reboot the host and apply all changes.
You have now successfully installed a Red Hat Enterprise Virtualization Hypervisor. Repeat the above steps for each hypervisor you wish to use. The following sections will provide instructions on how to approve the hypervisors for use with the Red Hat Enterprise Virtualization Manager.