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

Re: [Xen-users] (re)load new kernel with rebooting host node?



On Sat, Dec 5, 2009 at 2:17 PM, Rudi Ahlers <Rudi@xxxxxxxxxxx> wrote:
> But have you, or anyone else, used kexec on a running server yet?

Yes. That's how I was able to tell you how it behaves :D

> And
> how do I use it, without breaking anything?

On Ubuntu, it's part of kexec-tools. It comes with a nice man page. If
I remember correctly, the easy way to use it to modify some config
file so that when you run "init 6" (or similar) it would invoke kexec
(which is faster) instead of normal reboot. The "hard" way to use it
involves  specifying manually which kernel image (plus initrd and
command line) that kexec would run.


> Not much. The domU's can't use iptables, at all.
>
> On a domU:
>
> -bash-3.2# iptables -L
> iptables v1.3.5: can't initialize iptables table `filter': iptables
> who? (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
>
> And the domU's kernel:
>
> -bash-3.2# uname -a
> Linux spare5.securehosting.co.za 2.6.18-128.7.1.el5xen #1 SMP Mon Aug
> 24 09:14:33 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
>
>
> The host node's kernel:
>
> root@usaxen02:[~]$ uname -a
> Linux usaxen02.securehosting.co.za 2.6.18-128.7.1.el5xen #1 SMP Mon
> Aug 24 09:14:33 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Here's some simple question:
- where is the kernel located? domU or dom0? Do you use pygrub?
- does domU have /lib/modules/2.6.18-128.7.1.el5xen?

My guess is you use the kernel from dom0, but you don't have the
corresponding module directory on domU.

-- 
Fajar

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