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] Installing two versions of xen on the same machine

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] Installing two versions of xen on the same machine
From: shankha <shankhabanerjee@xxxxxxxxx>
Date: Tue, 8 Sep 2009 05:46:45 -0400
Cc: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 08 Sep 2009 02:47:47 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=k9eMyIRQpXhMtoiHt9VmpnQRD/uO3N55ZM1Pz5gGlIs=; b=mXV1dEt9Yalj72vcvUfLXL6tIhlyqN5lDVGNUMYmctUhQGsFS29FHoyLJVh1LDWb7f WsytJsURghWBHtyQWCIQDc3zU3COGXzDWaw9c4qk0xUHuzuZG6QqvsHb9kpIvaFisOzc 2UQSNCgvysadMJVBFokdx8aGV0uIEoakS1m98=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=aNFu8HQyfY7kAFQRKVFQr8g8guC1voDH6IJ0p2dsmx3tz4GyGKF6A/7sl6cgeGNZMQ /BWeSyOAbjlAVviZEuSaGx9q2VsMwadeMH39DBjo0qgenEPb7r+W28T6sayKMNRiibl9 8MIfONi1zBUFeKSy+Q0IJj7qBT3Fk4PDwK0ZM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0909072021p283cec0fh43abdc6a42e116c1@xxxxxxxxxxxxxx>
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>
References: <ffd27e210909071053y20b368bdg62c5698ff3fb50f2@xxxxxxxxxxxxxx> <7207d96f0909071324u797087a5gdbcf6bc6cebbd2c9@xxxxxxxxxxxxxx> <ffd27e210909071357p761684e2i96428aa6dd242f8f@xxxxxxxxxxxxxx> <7207d96f0909071437w199f1c1fk365a58de4b75cf81@xxxxxxxxxxxxxx> <ffd27e210909071453s1d108d76r6457b99853a2fb7c@xxxxxxxxxxxxxx> <7207d96f0909072021p283cec0fh43abdc6a42e116c1@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Fajar,
Thanks for your continued help. I checked through yast the following
are installed on my system

1. Kernel-Xen
             The linux kernel for xen paravirtualization.
This kernel can be used both as the domain0 ("xen0") and as an
unprivileged ("xenU") kernel.

Version : 2.6.27.7-9.1  (x86_64)

2. kernel-xen-base
The Linux kernel for Xen paravirtualization.
This kernel can be used both as the domain0 ("xen0") and as an
unprivileged ("xenU") kernel.

2.6.27.7-9.1  (x86_64)

3. kernel-xen-extra
The Linux kernel for Xen paravirtualization.
This kernel can be used both as the domain0 ("xen0") and as an
unprivileged ("xenU") kernel.


2.6.27.7-9.1  (x86_64)

4. xen
This is the xen hypervisor

3.3.1_18494_03-1.8  (x86_64)

4. xen-devel
3.3.1_18494_03-1.8  (x86_64)

This package contains libraries and header files.

When i try to to uninstall this package it says it has a dependency on libvrt.

5.xen - libs
xen virtualization libraries

6. xen - tools
Packages for starting stopping packages.


I guess i can let the  first 3 packages as it is. I will
uninstall the xen hypervisor and other packages related to it.

I can then put the the new hypervisor(3.4)  and related libraries
under /boot and boot with the kernel already installed.

Does it look good or have i made mistakes ?

thanks


On Mon, Sep 7, 2009 at 11:21 PM, Fajar A. Nugraha<fajar@xxxxxxxxx> wrote:
> On Tue, Sep 8, 2009 at 4:53 AM, shankha<shankhabanerjee@xxxxxxxxx> wrote:
>> Hi,
>> I am trying to use a new version of the hypervisor. I am not trying to
>> install a new version of the  kernel.
>
> In that case you don't need to install kernel 2.6.18-8 if you don't
> want to. You can use your existing kernel.
> However installing hypervisor and userland tools will overwrite some
> files installed by your OS if your OS already has its own Xen version.
>
> --
> Fajar
>
>>
>> thanks
>>
>> On Mon, Sep 7, 2009 at 5:37 PM, Fajar A. Nugraha<fajar@xxxxxxxxx> wrote:
>>> On Tue, Sep 8, 2009 at 3:57 AM, shankha<shankhabanerjee@xxxxxxxxx> wrote:
>>>> Hi,
>>>> Thanks for your reply. Could you please let me know what is the
>>>> problem with my mkinitrd command. Is it because i may have forgot to
>>>> copy some part of the installation.
>>>
>>> Installing a new KERNEL (including xen kernel) should be "safe" (as in
>>> it shouldn't overwrite anything you already have) assuming it's
>>> version is different from what you have. It's easier to simply run
>>> "make modules_install" and "make install" on kernel build directory.
>>>
>>> Installxing Xen however, is more then just the kernel. It also
>>> installs hypervisor userland tools (e.g. xm, xend, etc.), which most
>>> likely will overwrite what you already have. Which is why I said you
>>> can only have one version of Xen.
>>>
>>> What are you trying to do here? Use a new kernel or use a new Xen
>>> version? Those two does not necessarily be done at the same time. If
>>> you only want a new Xen version, usually you can just use kernel-xen
>>> provided by your distro and simply install the hypervisor (xen.gz) and
>>> userland tools.
>>>
>>> Here's a hint : trying out different versions of Xen is actually
>>> easiest on RHEL5, thanks to Gitco's repository
>>> http://www.gitco.de/repo/.
>>>
>>>> IF yes can we make a wild guess.
>>>> Also what are the correct options that should be used while creating
>>>> the image.
>>>
>>> man mkinitrd? I'm not familiar enough with Suse, but as I recall its
>>> option is slightly different from Redhat's.
>>>
>>> --
>>> Fajar
>>>
>>
>

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