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

RE: [Xen-users] Shutdown of dom0 with running DomUs cannot deactivate volume group



        Doesn't xenddomains do this during shutdown?  I mean, it should wait
so long and then forcefully terminate the domain if it won't shut down.  The
time to wait prior to kill can be configured, but the forceful termination
as part of the xenddomains shutdown, or is xenddomains part of Fedora and
not native to xend?
        Dustin

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Todd Deshane
Sent: Friday, October 24, 2008 11:26
To: mlg-hessigheim@xxxxxx
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Shutdown of dom0 with running DomUs cannot
deactivate volume group

On Fri, Oct 24, 2008 at 11:05 AM, Martin Lang <mlg-hessigheim@xxxxxx> wrote:
> I put
>
> on_xend_stop = "shutdown"
>
> in my domU config files without any result. I still get the error message
> that lvm volumes are used and cannot be shutdown. Does setting
on_xend_stop
> = "shutdown" wait until all domUs are shutdown, or does the normal
shutdown
> process go on in parallel.

You just need to make sure that the xend script is finished before the
script that
is stopping the LVM volumes. Once you know the lvm script, you could put a
while loop in that script that watches for a xend process, and once xend is
down, then it should be fine to bring down the LVs. Does that make sense?

Cheers,
Todd

-- 
Todd Deshane
http://todddeshane.net
http://runningxen.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®.