Solaris Nevada DomUs internet working at Xen 3.3 CentOS 5.2 Dom0 (64 bit)
First install Xen 3.3 from mercurial repository on xen-disabled CentOS 5.2 instance,previously installed the most recent version of "git" on the system (git-1.6.0.tar.gz), otherwise "make world" would fail.
# cd /usr/src/
# hg clone http://xenbits.xensource.com/xen-3.3-testing.hg
# cd xen-3.3-testing.hg
# make world
# make install
Determine the name of the Xen Linux kernel version that was installed.
# ls /lib/modules
There should be a directory for the Xen Linux kernel (e.g., 2.6.18.8-xen)
Generate the module dependency list and map files
# /sbin/depmod 2.6.18.8-xen
Create the Xen initial ramdisk image
# /sbin/mkinitrd /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen
Disable tls
# mv /lib64/tls /lib64/tls.disabled
Set xend service to start
# /sbin/chkconfig --add xend
# /sbin/chkconfig xend on
Install bridge-utils:-
# yum install bridge-utils
Edit /boot/grub/grub.conf and copy one of the existing boot entries to make the required changes for Xen and reboot into new kernel.
title Xen-3.3 CentOS 5.2 x86_64 (2.6.18.8-xen)
root (hd1,4)
kernel /xen-3.3.gz
module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup01/LogVol00 rhgb quiet
module /initrd-2.6.18.8-xen.img
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzMC98UtbwB9Uz8XjXPLo7S-9OIFmDmoYX96RLIPzLRG6rtMvRhfp_aiwV27s-zXcDhnsyWqfLn3xmG_uIr1_tyODwwJw4PBddPsxbI-vsfBQi_f0U9KzP8f5090PcCaoX5c3DUg/s400/Logo1.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5icuNWdAa0qcDpt6Y2gV4YUqu6E10MHO5eFcmPG3eYZ7-9tsMOgXBtkgZ20-DJ2SxMdmNdJ7XhQgmOSki3DAIRIMBtxsoh8ygPVAfA8Rsa5kppWBP5K-u7L4kGPNnPN95qZ-D1Q/s400/Logo2.png)
Open following 3 ports on firewall:-
67/UDP Bootstrap Protocol (BOOTP) Server; also used by Dynamic Host Configuration Protocol (DHCP)
68/UDP Bootstrap Protocol (BOOTP) Client; also used by Dynamic Host Configuration Protocol (DHCP)
53/TCP,UDP Domain Name System (DNS)
Allow SSH,HTTPS,HTTP services and proceed with SNV94 DomU install in DHCP mode with pygrub profile:-
name = 'Solaris94PV'
memory = '2048'
disk = [ 'file:/usr/lib/xen-solaris/snv94.iso,6:cdrom,r','phy:/dev/sda10,0,w']
vif = [ 'bridge = eth0' ]
bootloader = '/usr/bin/pygrub'
kernel = '/boot/platform/i86xpv/kernel/amd64/unix'
ramdisk = '/boot/amd64/x86.miniroot'
extra = '/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom'
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP56qZ8z4WBJWjKRYCl_q0P4hIPK41GBSrs1VXHeTXbCLEA-XNBa8sxJQaRE4E9bbVBXzvT4uuPWNqWeOQnGnPWtCIRW3m88GrCEGfhnYL6Al58Dwe-HZANwc6njio92_F25irMQ/s400/S1.png)
Load SNV94 DomU with profile:-
name = 'Solaris94PV'
memory = '2048'
disk = ['phy:/dev/sda10,0,w']
vif = [ 'bridge = eth0' ]
Bfu DomU to build 96 and reboot:-
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0U9HqcnVgnD6PT-_Gp1ZfaBntYiBpNcVeFSys6n-XCf4aORVpGdlIADQ5gdyWlKVaNOQR41ZAQkFp_kTtZSHqfHeGN_4DdQE4czChT-_Sj6AkenlcfSLJjsCGXcOJ6G202epXgg/s400/R1.PNG)
Setup Sun Xvnc on DomU and verify Internet access:-
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpSr6mwA8Us_1XFlpL3BxK31DbcA2bjNzhqxtI56FJJ9xWAtsavb9JaQuJhlbS8YcXfnXmhKVwu5HZAal0u1vxG4K1eI-tV03HkhsnlmXKcCqDr8C1OKJCCde_DO_TJE2Km-Ythg/s400/FRW1.PNG)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0jThCUtt_u4tiJI_w-zMBut8eV-VAphm1AugsqhVZ5ozPO6jFeP3Qg3U8_S4ZkXQfGZxc9Ub5XRBUAbVJl1jLrIipU8EXIqxIuVLm67Y3LXV69ybvqPFYO-ZqUNR3RJd9Mhv29Q/s400/FRW2.PNG)
Notice also,that Solaris 10 (05/08) and Free BSD 7 HVM DomUs (32-bit on Intel,64-bit on AMD X2) may be easily installed at Xen 3.3 Linux Dom0(64 bit)
References
1.http://lxer.com/module/newswire/view/100541/index.html