Xen on Debian 5.0 Lenny

From PacketNexus

Jump to: navigation, search

Contents

This information works for Debian 5.0 (Lenny)

Easy way to figure out if your computer can run Xen

http://wiki.xensource.com/xenwiki/LiveCD

If you can run this LiveCD, you can run Xen.

Guides for installing Xen on Debian

Xen is basically a different kernel, so install Debian normally. You will need Xorg if you want to use convirt. After your system is up and running run the following, modifying for the kernel you need. Your versions may vary.

sudo apt-get install xen-linux-system-2.6.26-2-xen-amd64 xen-hypervisor-3.2-1-amd64 xen-utils-3.2-1 xenstore-utils xenwatch xen-shell xen-tools

You can find what the latest kernel available on your system like this:

sudo apt-cache search xen

http://www.howtoforge.com/virtualization-with-xen-on-debian-lenny-amd64

http://wiki.xensource.com/xenwiki/InstallationNotes

http://www.xen-hosting.org/hardware/

http://www.virtuatopia.com/index.php/Building_a_Xen_Guest_Domain_using_Xen-Tools

http://www.howtoforge.com/using-xen-with-lvm-based-vms-instead-of-image-based-vms-debian-etch

http://wiki.debian.org/Xen#Installationonlenny

How to resize a partition in an LVM group.

In this example, I am extending /var by 200GB. With LVM2 there is no reason to reboot after the extension.

  • vg01 is your volume group
  • -L is how much disk space to add
sudo lvextend -L200GB /dev/vg01/var
sudo resize2fs /dev/vg01/var

More LVM info here: http://www.debian-administration.org/articles/410

Installing Convirt on Debian

Convirt is a Xen manager that works pretty well.

http://www.convirture.com/wiki/index.php?title=Installation#Debian_5.0

Xen DomU OS images

Create your own:

Personal tools