Differences between revisions 11 and 12
Revision 11 as of 2006-10-01 14:23:35
Size: 3266
Editor: BastianBlank
Comment:
Revision 12 as of 2006-10-01 14:49:20
Size: 3258
Editor: BastianBlank
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Xen is a virtual machine monitor for x86 that supports execution of multiple guest operating systems with unprecedented levels of performance and resource isolation. Xen is Open Source software, released under the terms of the GNU General Public License. We have a fully functional ports of Linux 2.4 and 2.6 running over Xen, and regularly use it for running demanding applications like MySQL, Apache and PostgreSQL. Any Linux distribution (RedHat, SuSE, Debian, Mandrake) should run unmodified over the ported OS. Xen is a virtual machine monitor for x86 that supports execution of multiple guest operating systems with unprecedented levels of performance and resource isolation. Xen is Open Source software, released under the terms of the GNU General Public License. We have a fully functional ports of Linux 2.6 running over Xen, and regularly use it for running demanding applications like MySQL, Apache and PostgreSQL. Any Linux distribution (RedHat, SuSE, Debian, Mandrake) should run unmodified over the ported OS.

Overview

Modern computers are sufficiently powerful to use virtualization to present the illusion of many smaller virtual machines (VMs), each running a separate operating system instance. Successful partitioning of a machine to support the concurrent execution of multiple operating systems poses several challenges. Firstly, virtual machines must be isolated from one another: it is not acceptable for the execution of one to adversely affect the performance of another. This is particularly true when virtual machines are owned by mutually untrusting users. Secondly, it is necessary to support a variety of different operating systems to accommodate the heterogeneity of popular applications. Thirdly, the performance overhead introduced by virtualization should be small.

Xen is a virtual machine monitor for x86 that supports execution of multiple guest operating systems with unprecedented levels of performance and resource isolation. Xen is Open Source software, released under the terms of the GNU General Public License. We have a fully functional ports of Linux 2.6 running over Xen, and regularly use it for running demanding applications like MySQL, Apache and PostgreSQL. Any Linux distribution (RedHat, SuSE, Debian, Mandrake) should run unmodified over the ported OS.

In addition to Linux, members of Xen's user community have contributed or are working on ports to other operating systems such as NetBSD (Christian Limpach), FreeBSD (Kip Macy) and Plan 9 (Ron Minnich).

Installation etch/sid

Dom0

  • Install xen-linux-system-KERNELVERSION. This installes the kernel, a hypervisor and matching utils.

  • On i386, install libc6-xen.

KERNELVERSION may be currently (this kernels are only in sid for now!):

  • 2.6.18-1-xen-686
  • 2.6.18-1-xen-k7
  • 2.6.18-1-xen-amd64

If you really insists to use etch only, use 2.6.17-2-*.

DomU

Default setup

  • Install linux-modules-KERNELVERSION.

  • On i386, install libc6-xen.

KERNELVERSION have to match the version of the kernel given in the domain config.

pygrub setup

TODO

Old stuff

I am just about to get started installing xen with Debian as dom0 and Debian, Ubuntu, Redhat as domU. There are multiple Howto's about that, unfortunately I don't see which of them is really useful, still undecided which one I will use. If someone can say something clear about which of these describes a really working, easy, and good way to go, comments would be cool:

These are only half of those I found, there are also numerous describing all that for Ubuntu Linux - very confusing. The people at cosi.clarkson.edu seem to do some stuff, also, but their stuff is also very badly documented. Anybody having any insights on that is really welcome to comment here!

See also [http://alioth.debian.org/projects/pkg-xen Xen packaging at Alioth]