Friday, March 14, 2008


Install Solaris 01/08 HVM DomU (64-bit) at Xen 3.2 CentOS 5.1 Dom0 (x86_64)



This posting follows up "Install Solaris (SNV 84) DomU at Xen 3.2 CentOS 5.1 Dom0 (64 bit)" and provides brief description how to install 64-bit Solaris 01/08 HVM DomU
at Xen 3.2 CentOS 5.1 Dom0 (64-bit as well) despite installer puts this HVM in 32-bit mode by default.
I have to notice that attempt to install Solaris 10 U4 HVM
with similar installation profile still hangs at the beginning, Solaris installer
hangs at initial boot up immediately after passing grub menu.


Phyton profile has been used for install:-



name = "Solaris79"
builder = "hvm"
memory = "1024"
disk = ['phy:/dev/sdb8,ioemu:hda,w','file:/usr/lib/xen-solaris/snv79.iso,hdc:cdrom,r']
vif = [ 'type=ioemu,bridge=eth2' ]
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'




Go through normal SXDE installation and change profile for runtime:-



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




During first startup modify grub entries for Solaris 01/08 HVM as follows:-








Press "b" and proceed with booting :-











When logged in make permanent changes to file "/boot/grub/menu.lst" replacing
$ISADIR by "amd64" in corresponding lines.


Start NetBeans 6.0 to deploy and run a couple of sample Enterprise Java apllications to make sure GlassFish V2 and IDE itself won't malfunction after changes been done
to Solaris 01/08 HVM DomU.




















References.
1.Install Solaris (SNV 84) DomU at Xen 3.2 CentOS 5.1 Dom0 (64 bit)