SME Server as Xen Host


Users

SME Versions Supported: SME Server 7 beta series (Centos 4.2) - - Contribs.org certified on: ?

Nav Bar Documentation How-to Classification Users SME Server as Xen Host
Comments Please add your comments about this How To

Author(s): hfwang
Contributor(s): DarkMirage, snoble
License: GPL

Created: june 2005 Last updated: december 8, 2005

Notes: Work in progress!!!!! Use at your own risk! I am not a programming or compiling jedi, so use the force ;-)

(local copies of requiered RPM's or sources can be found here)

Procedure:

cd /usr/src/linux-2.6.9-11.EL (or make sure you are in your source directory)
cp configs/config-for-my-kernel .config (find out your correct kernel with 'uname -a')
make oldconfig
make include/asm
make include/linux/version.h
make SUBDIRS=scripts
default=0
timeout=10
title Xen 2.0.6 (kernel 2.6)
        kernel /xen-2.0.gz dom0_mem=512000
        module /vmlinuz-2.6-xen0 ro root=/dev/md1 ro console=tty0
title CentOS-3-up (2.4.21-32.0.1.EL)
        root (hd0,0)
        kernel /vmlinuz-2.4.21-32.0.1.EL ro root=/dev/md1
        initrd /initrd-2.4.21-32.0.1.EL.img
title CentOS-3 (2.4.21-32.0.1.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.4.21-32.0.1.ELsmp ro root=/dev/md1
        initrd /initrd-2.4.21-32.0.1.ELsmp.img

where dom0_mem=xxxxxx the amount of memory you assign to the kernel. Do not use all memory, leave about 100Mb free for Xen

There is still an error once the machine has booted, try to do a 'lsmod' (QM_MODULES). I have found some clue:

If you want QM_MODULES to go away install module-init-tools that will take
care of it, as far as this... file /lib/modules/2.6.11.10-xenU/modules.dep
(No such file or directory)

well, its not there, so shut down the domU and ..

mount -o loop image.img /mount/point

cp -dpR /lib/modules/2.6.11.10-xenU /mount/point/lib/modules/

umount /mount/point

rev up the domU and have fun  :)

The above is a proof of concept of the use of Xen and SME Server 7.0beta. Upto now, normal SME Server 7.0beta operation is not being infuenced by the Xen kernel. If you do encounter issues, please let them know.

TO DO


Nav Bar Documentation How-to Classification Users SME Server as Xen Host
Comments Please add your comments about this How-To

Feedback

SME Server as Xen Host Add your comments to this page.




Wiki Links List

Those pages link to SME Server as Xen Host:
 . Page Name .   . Hits . 
 SME Server as Xen Host Feedback   453 
 SME Server as Xen host and guest   1398 

Back to SME Server as Xen host and guest