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

RE: [Xen-users] dom0 and domU shutdown behavior


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Dustin Henning" <Dustin.Henning@xxxxxxxxxxx>
  • Date: Mon, 4 Aug 2008 16:01:25 -0400
  • Delivery-date: Mon, 04 Aug 2008 13:02:12 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: Acj2VC/RdMZBtulMQD2ZRejgZscvawAF5olA

        What distro are you using, and is it their xen package or one from
source?  I probably won't be much help, but that will probably be important
information to anyone who is.
        I run F8 with the F8 Xen, and when I shut down, a python
error/incompatibility (I think) causes the xendomains service to stop
without shutting down the domUs (when xendomains is stopped on a properly
functioning system, it will shut them down or kill them one at a time based
on the config).  However, in my case, xendomains may not actually be
stopping at this point, because when killall is called, the domains each
shut down one at a time like they are supposed to de when xendomains is
stopped (but since this is supposed to happen way earlier, it probably
wouldn't work right if I were using file-backed virtual disks instead of
device-backed virtual disks because the mounted filesystems are read-only by
the time killall is called).
        Dustin

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Kai Schaetzl
Sent: Monday, August 04, 2008 13:03
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] dom0 and domU shutdown behavior

If I do an xm shutdown or shutdown from within domU I get a graceful 
shutdown. If I shutdown dom0 the guests are just getting "killed". Is 
there a way to make dom0 shut down the domUs more gracefully?
I haven't seen any ill effects yet, but I assume a graceful shutdown would 
be better in any case.

Documentation at
http://tx.downloads.xensource.com/downloads/docs/user/#SECTION022300000000
00000000
says that xendomains would do this. However, I can't see that it does.

I also see these explanations in man xmdomain.cfg (which don't seem to 
apply to the situation above, I'm just asking about one option):

on_shutdown
   Triggered on either an xm shutdown or graceful shutdown from inside
   the DomU.

on_reboot
   Triggered on either an xm reboot or graceful reboot from inside the
   DomU.

on_crash
   Triggered when a DomU goes to the crashed state for any reason.

However, in my original config files created with virt-manager quite some 
time ago I have

on_poweroff =

Is on_poweroff valid anymore? Or is on_shutdown maybe wrong documentation?

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com




_______________________________________________
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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.