[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] CentOS installation procedure


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Joe Noon" <joenoon@xxxxxxxxx>
  • Date: Mon, 9 Oct 2006 14:15:30 -0700
  • Delivery-date: Mon, 09 Oct 2006 14:16:14 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=qGszprkDww0Eay6uyNdCMH7WXX+catr/Q0MxUEYjG/Ad/VJ044sBM//ggVpo3Fz8BQvy79K97feUc/f+vRmYum7CvE8VFh1gdcQLdYH0K8E5sZCgO2Fjy23ZhVM0OGESpJLYPR8egamVygNgTlJCyBHFeKj6Zd3kOrBldfqUnhY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I created this procedure several months ago.  The details are slightly
fuzzy, but the reason for several of the steps are due to glibc/xen
issues (which I dont entirely understand.. maybe someone can clear
that up as well?).  If you have setting up a CentOS 4.3 dom0 down to a
science, please comment on anything you do differently, why you would
add a step, remove a step, etc.  It would be nice to have a simple
"this is how its done" howto that is nice and current.

So here are my CentOS 4.3 steps:

yum update
yum install bridge-utils
yum install kernel-headers

download and untar the rhel 4.1 xen rpms, then cd into the directory

tar xvf xen-3.0-x86_32-rhel4.1.bin.tar
cd xen-3.0-x86_32-rhel4.1.bin
mv glibc-2.3.4-2.9xen2.i386.rpm glibc-2.3.4-2.9xen2.i386.rpm.old
mv nptl-devel-2.3.4-2.9xen2.i386.rpm nptl-devel-2.3.4-2.9xen2.i386.rpm.old
nano /etc/yum.conf

exclude packages which we only want to use the xensource rpms for. add
the following line to the [main] section:

exclude=glibc glibc-common glibc-devel glibc-headers glibc-profile
glibc-utils nptl-devel nscd xen xen-devel xen-kernel

install the xensource provided rpms forcibly as they are older than
the versions already installed.

rpm -ivh --force glibc-*.rpm
rpm -ivh --force nptl*.rpm
rpm -ivh --force nscd*.rpm
rpm -ivh --force xen-*.rpm

add a section to /boot/grub/menu.lst:

title Xen (2.6.16-xen3)
       root (hd0,0)
       kernel /xen-3.gz com1=115200,8n1
       module /vmlinuz-2.6-xen root=/dev/VolGroup00/LogVol00 ro
maxcpus=1 console=tty1 console=ttyS0,115200n8
       module /initrd-2.6-xen.img


Thanks,

Joe

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.