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

Re: [Xen-users] domU kernel


  • To: Christoph Purrucker <xen@xxxxxxxxxxxxxxxx>
  • From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
  • Date: Mon, 15 Oct 2007 09:42:31 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 15 Oct 2007 01:36:26 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=ZEmsekkjSV3cbTmJdNn2QiEmahuarCA6MBuzyp45IVHcMOkWY+ZEWWygRMvz8YfPbdHjmpitFPCkLaMZAGQ4//a9iwD7Nkhp5w8O/1mMddDXi02f8uiz3jmgXgM1C+q/8+D4H3huCh+pun7S4i1SR4po9FTGvKw4YItmjTJYxJ8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Christoph Purrucker wrote:
Hi Nico,

There's a big advantage to pygrub: kernel update procedures for DomU have
nothing to do with Dom0's kernel. This prevents version and feature
conflicts with package management sytems, and allows updates and reboots
of DomU without having to write to Dom0.

I like it the other way round: I do one kernel-update in Dom0 and all my
virtual machines profit by a simple DomU reboot. My VMs have no kernel and
no modules, so there is one source of error less for DomU-admins. No
kernel manipulations, no root-kits.
It doesn't work with RHEL 4 guest domains on a RHEL 5 server. You can't install the kernel-xenU on the RHEL 5 server without putting in override commands, and *that* causes compatibility whinging when you try to update kernel-xen. And then you have to go hand-edit the DomU config files, unless you're using the symlink based names for the kernel, and *that* is sensitive to which kernel you installed last.

Not having modules in the DomU's means that you can't do FUSE based file-system mounting in your DomU's, mount NTFS partitions, or do other useful tricks, unless you go to the extra pain of hand-building and hard-loading *all* the necessary modules on your Dom0 in order to have entirely consistent DomU's. Man, that's a lot of work! And you can't run DomU's with different kernels without extra management steps.

This was particularly troublesome with the Xensource kernels for RHEL 4
and RHEL 5, which had such different versions for kernel-xen on the
server and kernel-xenU on the guest that it made RHEL whine quite hard
about the Dom0 getting such an old kernel installed on it. And if you
tried to use kernel-xen on the DomU, it created conflicts because the
RHEL 4 kernel and RHEL 5 kernels had the same names and file names, and
it could screw up which kernel you wound up with.

This is a Redhat problem, evil, and not a reason to use pygrub.

Gruß,
cp
No, it's an RPM problem. It's inherent in management systems that correctly detect version incompatibilities, and don't expect you to install software components on your Dom0 that are only there for DomU's, not for local use. It's even worse if you have a 64-bit Dom0 and 32-bit DomU's!!!

_______________________________________________
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®.