Chapter 6. Installing the virtualization packages


Before you can use virtualization, the virtualization packages must be installed on Red Hat Enterprise Linux. These can be installed either during installation, or after installation using the yum command.
You can install both the KVM and Xen hypervisors on a single system. The Xen hypervisor uses the kernel-xen package and the KVM hypervisor uses the default Red Hat Enterprise Linux kernel with the kvm kernel module. Xen and KVM each use a different kernel and only one hypervisor can be active at any given time.
To change hypervisor from Xen to KVM or KVM to Xen, see Section 33.2, “Changing between the KVM and Xen hypervisors”.

6.1. Installing Xen with a new Red Hat Enterprise Linux installation

This section covers installing Xen packages and virtualization tools on a new Red Hat Enterprise Linux installation.

Note

The Installation Guide (available from access.redhat.com) details the installation of Red Hat Enterprise Linux.
  1. Start an interactive Red Hat Enterprise Linux installation from the Red Hat Enterprise Linux Installation CD-ROM, DVD or PXE.
  2. You must enter a valid installation number when prompted to receive access to the virtualization packages. Installation numbers can be obtained from Red Hat Customer Service.
  3. Complete all steps until you see the package selection step.
    Select the Virtualization package group and the Customize Now radio button.
  4. Select the Virtualization package group. The Virtualization package group selects the Xen hypervisor, virt-manager, libvirt and virt-viewer and all dependencies for installation.
  5. Customize the packages (if required)

    Customize the Virtualization group if you require other virtualization packages.
    Press the Close button then the Forward button to continue the installation.

Important

You require a valid Red Hat account with the virtualization entitlement to receive updates for the virtualization packages.
Installing Xen packages with Kickstart files

This section describes how to use a Kickstart file to install Red Hat Enterprise Linux with the Xen hypervisor packages. Kickstart files allow for large, automated installations without a user manually installing each individual system. The steps in this section will assist you in creating and using a Kickstart file to install Red Hat Enterprise Linux with the virtualization packages.

In the %packages section of your Kickstart file, append the following package group:
%packages
@xen

Note

Fully virtualized guests on the Itanium® architecture require the guest firmware image package (xen-ia64-guest-firmware). Append the following package to your kickstart file:
xen-ia64-guest-firmware
More information on Kickstart is available in the Installation Guide at access.redhat.com
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.