XenSource is providing RPMs to enable customers and partners to quickly and easily realize the benefits of running their systems under the Xen hypervisor.
Note that these RPM sets are a BETA test release. They support installing Xen for 32-bit SMP architectures only.
RPMs are available for the following distributions:
The RPMs come packaged in a single tar file for ease of installation. The tar file includes
The glibc that is being installed is just a recompiled version of the native one, using a gcc option that makes it more 'xen-friendly.' Xen kernels do run correctly using the native glibc, but performance is significantly impaired. If you don't want to install the Xen-friendly glibc, a (poor) alternative is to disable the thread-local storage (tls) handling features of glibc by hiding them, for example
mv /lib/tls /lib/tls.disabled
Source RPMs are also available for download, similarly packaged in a single tar file.
This document describes installing the Xen-enabled kernel for Xen 3.0 on a computer running any of the available distributions listed, and lists know issues, contact information, and pointers to more information.
A system with one of the above-listed Linux distributions installed on it is the fundamental starting point.
GRUB is the only bootloader supported.
Important note for users with machines using the MPT Fusion SCSI interface: The Linux driver for this hardware has been changed slightly and now requires a different module. If you are currently running a kernel older than 2.6.16 (e.g. the Xen Linux kernel from Xen 3.0.1) then you will need to make a small change to /etc/modprobe.conf before you install the RPMs. You should currently have lines like:
alias scsi_hostadapter mptbase alias scsi_hostadapter1 mptscsih
(with perhaps the second line missing). Replace these with:
alias scsi_hostadapter mptbase alias scsi_hostadapter1 mptspi
(all other lines in the file remain unchanged) then continue with the installation as described below.
Download the tar file from http://www.xensource.com/products/downloads/
tar xvf tarfilename
rpm -Fvh glibc*
rpm -Fvh nscd*
rpm -Uvh kernel*
rpm -Uvh xen-3.0.*
tar xvfz tarfilenameThe RPMs will unpack into a directory similar in name to
rpm -Fvh glibc*to install any glibc packages needed, and, if required,
rpm -Fvh nscd*to install the modified Naming Service Caching daemon.
(the F argument freshens the glibc components that have changed if they are already present on the system, and installs it if it is not)
rpm -Uvh kernel*to install the Xen-enabled kernel (the U argument updates the kernel if it is already present on the system, and installs it if it is not).
rpm -Uvh xen-3.0.*to install the Xen hypervisor.
The system is now in a state equivalent to having built and installed Xen from source, or by installing the binary tarball, and updating glibc dependencies manually.
To continue, you need to edit your system's grub config and add a stanza for the Xen hypervisor.
Here is an example:
title Xen (126.96.36.199-xen3_2.1) root (hd0,0) kernel /xen-3.gz com1=115200,8n1 module /vmlinuz-188.8.131.52-xen3_2.1 root=/dev/VolGroup00/LogVol00 ro maxcpus=1 console=tty1 console=ttyS0,115200n8 module /initrd-184.108.40.206-xen3_2.1.img
There are many ways that setting up a guest filesystem can be accomplished, but the following method is the preferred way.
See the Known Issues page