#1  
Old 12th June 2007, 20:34
dmpatra dmpatra is offline
Junior Member
 
Join Date: Jun 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default RHEL 5 and Xen compatibility

Hello..I am not very proficient in Linux kernel stuffs although I know my basics. I have a question and all suggestions/solutions will be highly appreciated...

I got to know that RHEL 5 has inbuilt Xen Support...So I tried to install a RHEL 5.0 Server on my P4 machine. On top of it I tried to install Xen specific RPMs and some other RPMs needed by Xen.

The additinal RPMs added after base RHEL 5.0 installation are :


bridge-utils-1.1.2.i386.rpm
iproute-2.6.18-4.el5.i386.rpm
kernel-xen-2.6.18-8.el5.i686.rpm
kernel-xen-devel-2.6.18-8.el5.i686.prm
udev-095-14.5.el5.i386.rpm


After all this the grub.conf gets modified automatically and looks like this:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-8.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-8.el5
module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.18-8.el5xen.img

title Red Hat Enterprise Linux Server (2.6.18-8.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-8.el5.img



After all this I am ready to boot properly into Xen Specific Linux and the original RHEL . But there is no /etc/xen directory and nor ar e the tools like xend and xm available.

So am I missing some other RPMS that need to be installed??

Thanks
Dushmanta
Reply With Quote
Sponsored Links
  #2  
Old 13th June 2007, 03:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Take a look at this tutorial: http://www.howtoforge.com/centos_5.0_xen
It should work for RHEL 5, too.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 19th June 2007, 01:14
bin_asc bin_asc is offline
Junior Member
 
Join Date: Jan 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How does one install xen ? I tried to use yum and it didn`t retrieve the xen kernel.
Reply With Quote
  #4  
Old 19th June 2007, 15:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Did you get any errors when you ran
Code:
yum install kernel-xen xen
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 19th June 2007, 15:16
bin_asc bin_asc is offline
Junior Member
 
Join Date: Jan 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

None whatsoever. I simply followed the tutorial that you wrote. When I checked to see if the new kernel was listed in /boot, it wasn`t.
Reply With Quote
  #6  
Old 19th June 2007, 15:31
bin_asc bin_asc is offline
Junior Member
 
Join Date: Jan 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Any other suggestions ? Getting the kernel manually ? I have 2.6.18-8.el5 kernel. Should I get a newer one with xen ?
Reply With Quote
  #7  
Old 19th June 2007, 15:42
bin_asc bin_asc is offline
Junior Member
 
Join Date: Jan 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Found the latest kernel in RPM, so it`s ready to go. Checking some how-tos.
Reply With Quote
  #8  
Old 28th July 2007, 08:46
dbaxps dbaxps is offline
Junior Member
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Install Xen on CentOS 5.0

To reproduce instructions from http://www.howtoforge.com/centos_5.0_xen
I should have internet connection running on CentOS 5.0 server.
As far as I understand manual requires remote repositories on the internet.
My question is :-
Would it be possible to download necessary Xen stuff somewhere else and
copy to the box ? (as it happens with VMware Server)
Reply With Quote
  #9  
Old 29th July 2007, 14:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
 
Default

You could download the packages directly from a CentOS repository and install them with
Code:
rpm -ivh package_name
But then again, you'd need an internet connection.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xen on Debian installed but no eth0 mksco HOWTO-Related Questions 2 14th June 2007 06:10
Xen 3.0.3 + Debian - No modules available in VM LeoLinux HOWTO-Related Questions 3 2nd March 2007 00:59
iptables issue with xen perfect setup - debian alexnz HOWTO-Related Questions 3 25th November 2006 14:49
Xen 3.0 and 3Ware 9550sx Z3n HOWTO-Related Questions 1 30th June 2006 00:39
Is it possible to start a domU from Xen 2.x under Xen 3.0? Gurke666 Kernel Questions 1 25th April 2006 17:34


All times are GMT +2. The time now is 22:53.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.