Adding virtual hosts to the RHEV-M: Quick and easy

Before you get going with Red Hat Enterprise Virtualization, you need to add the virtual hosts to the RHEV-M console. A simple but important step.

Adding virtual hosts to the RHEV-M console is a simple but important step when launching a Red Hat Enterprise Virtualization environment.

More on RHEV

Taking the pain out of the Internet Explorer requirement for RHEV 3.0

Using KVM virtualization in the enterprise: RHEV or RHEL?

RHEV 3.1 to bring storage live migration, scalability

You can manage two types of virtual hosts in a Red Hat Enterprise Virtualization (RHEV) management console, otherwise known as the RHEV-M interface:

  • a Red Hat Enterprise Linux (RHEL) server with KVM; or
  • a host with the RHEV hypervisor, also known as RHEV-H.

RHEV-H is a barebones Linux hypervisor with minimal operating-system overhead. When compared to a full RHEL installation with KVM, it’s the optimal choice for RHEV environments. Before managing the virtual hosts in a RHEV environment, you must add them to the RHEV-M interface.

Adding RHEV-H hosts to the RHEV-M console
First, install the RHEV hypervisor, using the RHEV-H ISO. You can obtain the ISO file by registering the RHEV-M host on Red Hat Network (RHN). Then, subscribe the RHEV-M host to the RHEV hypervisor channel.

Install the RHEV-hypervisor RPM using the <tt>yum install rhev-hypervisor</tt> command. Then you can copy the RHEV hypervisor ISO file from /usr/share/rhev-hypervisor. Next, burn the ISO to a CD-ROM or offer the file through a PXE-based installation server. From there, start the RHEV-H installation on the host.

Once you complete the self-guiding installation, log into the RHEV-H host as the admin. You now have access to a configuration screen . Next, you need to set an IP address so the RHEV-H host can communicate with the rest of the network. This address is also needed on the network interface, which communicates with the RHEV-M host.

Then, enter the name and port of the RHEV-M server on the main configuration screen. Based on this information, the RHEV-H host will install a certificate that enables secure communication, and it will become visible in the RHEV-M interface.

Now it’s time to authorize the RHEV-H host in the RHEV-M interface. On a workstation, open Internet Explorer and go to the follow address:


Log in as admin and open System > Default > Clusters > Default > Hosts on the left side of the management interface. You should see the RHEV-H host, listed as unauthorized. To fully integrate the RHEV-H host in the RHEV-M environment, click Authorize. Now the host is fully manageable.

After authorizing the RHEV-H host, you can manage it in the RHEV-M interface.

Importing RHEL hosts into the RHEV-M interface
Before integrating a RHEL server with KVM into your virtual environment, you need to register the server on the RHN. Next, the RHEL server must be subscribed to the Red Hat Virt Enterprise Management channel, which grants the server access to all software packages needed to import it into the RHEV environment. Once imported, authorize the RHEL server using the same procedure described above.

At this point, the basic RHEV infrastructure is ready to use. Your hosts are imported and assigned to a default data center. This data center is a logical unit where resources such as hosts, storage and virtual machines are assigned.

In the next step, you need to configure the data center with additional networks. The default configuration just includes a management network. But you probably need more, including a storage network, which you’ll find out how to do in the next installment.

Dig Deeper on Introduction to virtualization and how-tos