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] Install CentOS as Dom-U

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Install CentOS as Dom-U
From: Daniel Lam <daniel@xxxxxxxxxxxxxxxx>
Date: Tue, 5 Jan 2010 14:10:22 +1100
Delivery-date: Mon, 04 Jan 2010 19:11:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

On Tue, Jan 5, 2010 at 1:31 PM, <xen-users-request@xxxxxxxxxxxxxxxxxxx> wrote:

---------- Forwarded message ----------
From: Boris Quiroz <boris.quiroz@xxxxxxxxxx>
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Mon, 04 Jan 2010 17:17:25 -0300
Subject: Re: [Xen-users] Install CentOS as Dom-U
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/04/2010 02:13 PM, Daniel Lam wrote:
> Hi there,
>
> I'm getting confused trying to install CentOS as Dom-U.
>
> I'm trying to follow instructions here,
>
> http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU
>
> which is to
>
> 1. Download "domU installation initrd image and kernel" from CentOS
> mirrors site
> 2. Create a Domain Config File which kernel and ramdisk parameters point
> to the
>     files in step 1
> 3. Install the domain U by running "xm create <domain config file>"
>
> So far so good. However in this domain U installation process, it asks about
> package source location and the instructions in wiki suggested supplying
> the
> normal CentOS download location. I'm confused - this is as if I'm
> installing
> a "real" CentOS, like installing dom0.
>
> My questions:
>
> - If I proceed, am I installing as a para-virtualized CentOS (which is
> what I want),
>   or am I installing as a full-virtualized CentOS (which is what it
> looks like to me at the moment)?
>
When you install that way, you install a para-virtualized CentOS.


I see... thanks.

 
> - When I was previously using Debian as domain-0, xen-tools set up the
> guest domain
>   configuration file in such a way that its kernel parameter is
> specified "/boot/vmlinuz-2.6.26-2-xen-686".
>   However in the CentOS wiki, it's suggesting not to specify it after
> install.
>   I don't get it - Should kernel be specified? And if it is, does it
> mean the kernel of
>   domain-U is actually in domain 0?
>
I think you can install some kind of GRUB (ie. pygrub) and use that to
boot up your DomU


Yes I saw the grub option in some archive too.. I believe that
domU would boot up like a real machine in that case.

What I don't understand thou, is that if a kernel parameter is 
specified in the Domain Config File, does it mean the kernel 
inside domU will not be used? As the kernel param specifies 
a file in dom0.

 
> - With Debian I could use xen-tools. Are there similar tools with CentOS?
>   Some pointed virt-install but that appears to not have CentOS as one
>   of the OS options.
>
If your Dom0 is a Debian, you've xen-tools to manage all your DomU's,
doesn't matter is those are debian, centos, fedora, etc.
 
Yes I found that convenient too. However Debian does not give 
an up-to-date Xen version, so I'm using CentOS instead.

Does anyone know if CentOS have a xen-tools like util?

Thanks!

Daniel



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>