Install Solaris (Nevada build 87) at Xen 3.2.1 CentOS 5.1 Dom0 (64-bit)
Xen 3.1.2 bits went into Nevada build 85, what caused SNV85 PV guest immediately
to panic at installation startup on Xen 3.2 (3.2.1) Linux Dom0. Sun made an official fix for this issue in build 87.Only 85 and 86 Nevada builds are affected by
Bug 6650717
and require workaround ([1]).Nevada build 87 DomU works fine at Xen 3.2.1 Linux
Dom0 (64-bit). Forthcoming Nevada build 88 DomU would work also on Xen 3.2.1 Linux
Dom0 (32-bit).
Verify environment at Xen3.2.1 Linux Dom0:-
[root@dhcppc0 vm]# xm info
host : dhcppc0
release : 2.6.18.8-xen
version : #1 SMP Sat Apr 26 09:29:28 EDT 2008
machine : x86_64
nr_cpus : 2
nr_nodes : 1
cores_per_socket : 2
threads_per_core : 1
cpu_mhz : 3005
hw_caps : bfebfbff:20100800:00000000:00000140:0008e3fd:00000000:00000001
total_memory : 4095
free_memory : 1030
node_to_cpu : node0:0-1
xen_major : 3
xen_minor : 2
xen_extra : .1
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 : Fri Apr 25 14:03:45 2008 +0100 16881:4073b3ded545
cc_compiler : gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
cc_compile_by : root
cc_compile_domain : (none)
cc_compile_date : Sat Apr 26 09:35:16 EDT 2008
xend_config_format : 4
[root@dhcppc0 vm]# brctl show
bridge name bridge id STP enabled interfaces
eth0 8000.001e8c25cca5 no peth0
Installation profile:-
[root@dhcppc0 vm]# cat SNV87.install
name = "Solaris87PVM"
vcpus = 1
memory = "1024"
kernel = "/usr/lib/xen-solaris/unix-87"
ramdisk = "/usr/lib/xen-solaris/x86.miniroot-87"
extra = "/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom"
disk = ['file:/usr/lib/xen-solaris/snv87.iso,6:cdrom,r','phy:/dev/sdb15,0,w']
vif = ['bridge=eth0']
on_shutdown = "destroy"
on_reboot = "destroy"
on_crash = "destroy"
Go through normal install
# xm create -c snv87.install
and change profile to runtime :-
[root@dhcppc0 vm]# cat SNV87.conf
name = "Solaris87PVM"
vcpus = 1
memory = "1024"
kernel = "/usr/lib/xen-solaris/unix-87"
ramdisk = "/usr/lib/xen-solaris/x86.miniroot-87"
extra = "/platform/i86xpv/kernel/amd64/unix"
disk = ['phy:/dev/sdb15,0,w']
root="/dev/dsk/c0d0s0"
vif = ['bridge=eth0']
on_shutdown = "destroy"
on_reboot = "destroy"
on_crash = "destroy"
Run:-
# xm create -c snv87.conf
and turn on Sun Xvnc at DomU:-
# svccfg -s application/x11/x11-server \
add display1
# svccfg -s application/x11/x11-server:display1 \
addpg options application
# svccfg -s application/x11/x11-server:display1 \
addpropvalue options/server astring: "/usr/X11/bin/Xvnc"
# svccfg -s application/x11/x11-server:display1 \
addpropvalue options/server_args astring: '"SecurityTypes=None"'
Configure dtlogin to start it:-
# mkdir -p /etc/dt/config
# cp /usr/dt/config/Xservers /etc/dt/config/Xservers
# echo " :1 Local local_uid@none root /usr/X11/bin/Xserver :1" \
>> /etc/dt/config/Xservers
# pkill -HUP dtlogin