Xen/Ubuntu

From Segfault
< Xen
Jump to navigation Jump to search

Ubuntu 8.04 LTS / Hardy Heron

 # apt-get install linux-image-xen xen-hypervisor-3.2 xen-utils-3.2 bridge-utils
 
 # grep -A6 Xen /boot/grub/menu.lst
 title           Xen 3.2 / Ubuntu 8.04.4 LTS, kernel 2.6.24-27-xen
 root            (hd0,0)
 kernel          /xen-3.2.gz
 module          /vmlinuz-2.6.24-27-xen root=/dev/mapper/vg01-xen--root ro console=tty0
 module          /initrd.img-2.6.24-27-xen

One could also install xen-tools to assist creating DomU domains, but it's not mandatory. If all goes well and with a few DomU domains started, it should look like this:

 # ps -ef | grep [x]en
 root        22     2  0 Apr17 ?        00:00:00 [xenwatch]
 root        23     2  0 Apr17 ?        00:00:00 [xenbus]
 root      5058     1  0 Apr17 ?        00:01:04 xenstored --pid-file /var/run/xenstore.pid
 root      5064     1  0 Apr17 ?        00:00:01 xenconsoled
 root      5067     1  0 Apr17 ?        00:00:00 python /usr/sbin/xend start
 root      5068  5067  0 Apr17 ?        00:15:23 python /usr/sbin/xend start
 root      1373  5068  0 Apr20 ?        00:11:52 /usr/lib/xen/bin/qemu-dm -d 11 \
       -domain-name winxp -vnc 192.168.10.1:0 -vncunused -vcpus 2 -boot c -acpi \
       -net nic,vlan=1,macaddr=00:16:3e:38:d4:15,model=rtl8139 -net tap,vlan=1,bridge=eth0 \
       -M xenfv

Other releases

Xen related packages are currently available for the following releases:

Package 08.04/Hardy 08.10/Intrepid 09.04/Jaunty 09.10/Karmic 10.04/Lucid 10.10/Maverick 11.04/Natty 11.10/Oneiric
xen-hypervisor yes yes yes yes yes yes yes yes
linux-image-xen yes - - - - - - -
xen-utils-3.2 yes yes yes yes yes yes yes yes
python-xen-3.2 yes yes yes yes yes yes yes yes


So yes, in effect this means to either stick to 8.04 LTS or try a Debian Dom0 kernel with your Ubuntu installation.

Links