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
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.
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
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
Use the Up
and Down
arrow keys to navigate between selections. Your selections are highlighted in white.
The Tab
key allows you to move between fields.
Use the Spacebar
to tick checkboxes, which are represented by [ ] brackets. A marked checkbox displays with an asterisk (*).
To proceed with the selected configurations, press the Enter
key.
To boot the Red Hat Enterprise Virtualization Hypervisor from a CD
Insert the Red Hat Enterprise Virtualization Hypervisor installation CD into the 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
.
On the installation confirmation screen, select Install RHEV Hypervisor
and press Enter
.
The installer automatically detects the drives attached to the system. The selected disk 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
.
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
.
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.
Once installation is complete, a dialog prompts you to Reboot the hypervisor. Press Enter
to confirm. Remove the installation disc.
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.
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.
Select the
Network tab. Fill in the required fields as shown in the following example. Substitute the
DNS Server address according to your environment.
After you have filled in the fields, select
Apply and press
Enter
. This saves your network settings.
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.
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
.
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.
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. To confirm your RHN settings, select Apply and press Enter
.
Accept all other default settings. For information on configuring logging, kdump and remote storage, refer to the Red Hat Enterprise Linux 6 Hypervisor Deployment Guide.
Finally, select the Status tab. Select Restart and press Enter
to reboot the host and apply all changes.
You have now successfully installed the Red Hat Enterprise Virtualization Hypervisor. The following sections will provide instructions on how to approve the hypervisor for use with the Red Hat Enterprise Virtualization Manager.