WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xen 3.3 install from source on centos 5.2

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen 3.3 install from source on centos 5.2
From: "Nemeth, Tamas" <nice@xxxxxxxxxxxxxxx>
Date: Wed, 01 Oct 2008 16:18:01 +0200
Cc: David Brain <dbrain@xxxxxxxxxxxxx>
Delivery-date: Wed, 01 Oct 2008 07:18:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C642EEEF-439C-4CC4-B7D2-CC7C28855709@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Nyugat-Magyarországi Egyetem
References: <C642EEEF-439C-4CC4-B7D2-CC7C28855709@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Here are my experiences:

I use xen 3.2.1 (3.3.0 seems to be too buggy). The hypervisor is 64bit
(some servers have more than 16GB of RAM), but all domains (including
dom0) are 32bit PAE, because a 64bit dom0 - for example - can't migrate
a 32bitdomU, but a 32bit domU can migrate a 64bit domU, AFAIK. So,
accordint to my experiences, 32bit PAE domains (with the original
xen.org kernels, if you can afford it) running on a 64bit hypervisor
seem to be the best soulution to utilize a beast like your machine. Xen
3.2.1 seems to be fast, and reliable.

I compiled xen the following way:
I downloaded the linux-2.6.18-xen-3.2.0 kernel and xen-3.2.1 separately,
and then first, i compiled the kernel by:

gzip -dc /proc/config.gz
make menuconfig
<SOME CONFIGURATION, especially don't forget to set "Processor type and
features" -> "High Memory Support" to 64GB in order to make it a PAE
kernel>
make
<During the building process, i watch this video:
http://www.youtube.com/watch?v=PLyTrsk1Ey8>
make install
make modules_install
mkinitrd <IN SOME WAY>

After compiling and installing the kernel, I compiled and installed xen,
but I didn't do a "make world" at all!! I did it the following way:

On a 64 bit machine, or by cross-compiling (i've personally never
tried), I build the hypervisor:

make xen #this creates only the hypervisor (/boot/xen-3.2.1.gz)
make install-xen
After installing, I copy the 64 bit hypervisor (/boot/xen-3.2.1.gz) to
the
32bit target dom0.

And finally I compile and install the tools on the (32bit, of course)
dom0:
make tools #this creates thigs like the xm command, hvm environment,
           #network scripts, etc.

make install-tools


Best regards,

Tamas

2008. 10. 1, szerda keltezéssel 10.09-kor David Brain ezt írta:
> Hi,
> 
> Are there any guides or pointers as to how to perform a 3.3 install  
> from source install on Centos 5.2?  I'm having some issues and would  
> really like to be able to find some docs on how this is supposed to be  
> done.
> 
> Thanks,
> 
> David.
> 
> 
> 
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


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