XenSource
Skip navigation links
Overview Expand Overview
Products Expand Products
Solutions Expand Solutions
Support Services Expand Support Services
Partners Expand Partners
About Us Expand About Us
How to Buy

Chapter 4. Installing Linux VMs

XenServer supports the installation of many Linux distributions into paravirtualized VMs. There are three installation mechanisms at present: complete distributions provided as built-in templates, Physical-to-Virtual (P2V) of an existing native install (see Section 2.4, “Physical to Virtual Conversion (P2V)”), and using the vendor media to perform a network installation. All use of Linux VMs requires the Linux Pack to be installed onto the XenServer Host.

The supported Linux distributions are:

DistributionBuilt-inP2VVendor Install
Debian Sarge 3.1yesnono
Debian Etch 4.0yesnono
Red Hat Enterprise Linux 3.6-3.8noyesno
Red Hat Enterprise Linux 4.1-4.5noyesyes
Red Hat Enterprise Linux 5.0nonoyes
SUSE Linux Enterprise Server 9noyesno
SUSE Linux Enterprise Server 10 SP1nonoyes
CentOS 4.5nonoyes
CentOS 5.0nonoyes

Distributions which use the same installation mechanism as Red Hat Enterprise Linux 5 (e.g. Fedora Core 6) may successfully install using the same template. However, use of distributions not present in the above list is unsupported.

4.1. Installation of a built-in distribution

This is the simplest way of installing a VM. The template provided with XenServer can be used to directly create a VM running version 3.1 (Sarge) or 4.0 (Etch) of the Debian Linux distribution without need for vendor installation media and without performing a P2V conversion of an existing physical server.

The VMs are instantiated by using the vm-install from the CLI, or by cloning the template using XenCenter. For example, using the CLI on Linux:

# xe vm-install template=Debian\ Etch\ 4.0 new-name-label=ExampleVM
f21cd819-5b7d-002d-7a1e-861a954e770

When the VM is first booted, it will prompt you for a root password, a VNC password (for graphical use), and a hostname. After values are entered for these, it will finish at a standard login prompt, ready for use. You will need to add a network interface if installed via the CLI.