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

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.