Monday, April 28, 2008


Install HVM Solaris 08/07 DomU (32-bit) at Xen 3.2.1 CentOS 5.1 Dom0 (64-bit)



Solaris 08/07 (10U4) as usual hangs at Xen 3.2 (64-bit) ( Xen 3.1) Linux Dom0s.
This Xen build has been done with VMXASSIST disabled as advised in [2].
Clone Xen 3.2.1 from mercurial repository@xenbits.xensource.com on xen-disabled CentOS 5.1 64-bit instance as follows:-



# cd /usr/src/
# hg clone http://xenbits.xensource.com/xen-3.2-testing.hg
# cd xen-3.2-testing.hg
# make world vmxassist=n
# make install




The rest of install Xen 3.2 Dom0 goes exactly as in [1].
Installation profile.



name = "Solaris"
builder = "hvm"
memory = "1024"
disk = ['phy:/dev/sdb11,ioemu:hda,w','file:/usr/lib/xen-solaris/solaris.iso,hdc:cdrom,r']
vif = [ 'type=ioemu,bridge=eth0' ]
device_model = "/usr/lib64/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"
vnc=1
boot="d"
vcpus=1
serial = "pty" # enable serial console
on_reboot = 'restart'
on_crash = 'restart'







Runtime profile.



name = "Solaris"
builder = "hvm"
memory = "1024"
disk = ['phy:/dev/sdb11,ioemu:hda,w']
vif = [ 'type=ioemu,bridge=eth0' ]
device_model = "/usr/lib64/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"
vnc=1
boot="d"
vcpus=1
serial = "pty" # enable serial console
on_reboot = 'restart'
on_crash = 'restart'


















Deployment phase runs pretty fast and overall HVM behavior is faster
then usual as well, i guess because VMXASSIST has got disabled.


References.
1.http://lxer.com/module/newswire/view/100541/index.html
2.http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=622