Xen

is now

Donald Gordon

don@dis.org.nz
Hastily-writing-up MSc Student, VUW

Overview

Virtualisation

Why?

Paravirtualisation

Xen

What about Windows?

Core Concepts

make world

make world
cd linux-*-xen0; make ARCH=xen menuconfig; cd ..
cd linux-*-xenU; make ARCH=xen menuconfig; cd ..
make
cd dist; checkinstall ./install.sh
$EDITOR /boot/grub/menu.lst
reboot

Boot Process

$EDITOR /etc/xen/auto/vmname

kernel = "/boot/vmlinuz-2.6.11-xenU"
memory = 256
# name must be unique
name = "vmname"
nics = 1
vif = [ 'mac=00:60:b0:28:78:84, bridge=xen-cust' ]
disk = ['phy:vg0/vmname_root,sda1,w',
        'phy:vg0/vmname_swap,sda2,w',
        'phy:vg0/modules,sda3,r']
root = "/dev/sda1 ro"

A running system

root@greebo:~# xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0       59    0  r----  11015.9
hex                1      255    0  -b---  17024.3    9601
tepidmail          2      127    0  -b---   3123.5    9602
thinfaw            3       63    0  -b---  14682.4    9603
visit              4      255    0  -b---   3658.6    9604
william            5      127    0  -b---   1246.1    9605
root@greebo:~#

Questions?

Resources