Backport Intrepid Xen 3.3 Hypervisor to Ubuntu Hardy Dom0 (2.6.24-21-xen)

As of November 11 Intrepid Xen 3.3 Hypervisor may be back ported to Hardy Dom0 via repositories.
Following bellow is a brief instruction for installation from scratch Ubuntu Hardy Dom0 with 2.6.24-21-xen kernel
running with Xen 3.3 hypervisor. Install Ubuntu 8.04.1 Desktop and remove network manager :-
# apt-get remove network-manager
# gedit /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

# /etc/init.d/networking restart
# apt-get install ubuntu-xen-server

When done activate backports in /etc/apt/sources.list and load Synaptic Manager.
Mark for installation ;-

libxen3-dev
xen-doc-3.3
xen-hypervisor-3.3
xen-utils-3.3

and accept suggested conflict resolution.

u4

Go through install and reboot with Xen 3.3 Hypervisor :-

root@boris-desktop:~# xm info
host : boris-desktop
release : 2.6.24-21-xen
version : #1 SMP Wed Oct 22 01:07:57 UTC 2008
machine : x86_64
nr_cpus : 2
nr_nodes : 1
cores_per_socket : 2
threads_per_core : 1
cpu_mhz : 2400
hw_caps : bfebfbff:20100800:00000000:00000140:0000e3bd:00000000:00000001:00000000
virt_caps : hvm
total_memory : 4095
free_memory : 36
node_to_cpu : node0:0-1
node_to_memory : node0:36
xen_major : 3
xen_minor : 3
xen_extra : .0
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : unavailable
cc_compiler : gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
cc_compile_by : buildd
cc_compile_domain : buildd
cc_compile_date : Wed Oct 29 23:39:07 UTC 2008
xend_config_format : 4
root@boris-desktop:~# brctl show
bridge name bridge id STP enabled interfaces
eth1 8000.000c76e01ec5 no peth1
vif5.0

Perform the test. Create Intrepid HVM DomU via profile :-
root@boris-desktop:/etc/xen/vm# cat *.hvm
kernel = “/usr/lib/xen/boot/hvmloader”
builder = ‘hvm’
memory = 2048
name = “IntrepidHVM”
vcpus = 1
vif = [ 'type=ioemu,bridge=eth1' ]
disk = [ 'phy:/dev/sdb5,hda,w!','phy:/dev/loop0,hdc:cdrom,r']
device_model = ‘/usr/lib/xen/bin/qemu-dm’
vnc=1
boot=’d’

To evaluate hypervisor load Interpid PV DomU utilizing same image device :-

root@boris-desktop:/etc/xen/vm# cat *.py
name = ‘IntrepidPV’
bootloader=”/usr/bin/pygrub”
memory = 2048
disk = ['phy:/dev/sdb5,hda,w']
vif = [ 'bridge=eth1' ]
vfb = ['type=vnc,vncunused=1']
on_reboot = ‘restart’
on_crash = ‘restart’

# xm create intrepid.py
# vncviewer localhost:0

pvrun1

pvrun2

References.

http://deshantm.livejournal.com/29959.html

About these ads

2 Responses to Backport Intrepid Xen 3.3 Hypervisor to Ubuntu Hardy Dom0 (2.6.24-21-xen)

  1. Scot W. Stevenson says:

    There is a typo in the list of stuff to select: It should be

    xen-docs-3.3

    not

    xen-doc-3.3

    Thanks for the work!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: