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] Shutdown of dom0 with running DomUs cannot deactivate vo

To: <deshantm@xxxxxxxxx>, <mlg-hessigheim@xxxxxx>
Subject: RE: [Xen-users] Shutdown of dom0 with running DomUs cannot deactivate volume group
From: "Dustin Henning" <Dustin.Henning@xxxxxxxxxxx>
Date: Fri, 24 Oct 2008 14:58:59 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 24 Oct 2008 12:01:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1e16a9ed0810240826s319d4acbgcd5cd77e9d0975cf@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>
Organization: PRD, Inc.
References: <48FC5989.6030509@xxxxxx> <1e16a9ed0810201659j1a0ede09x196bd2e7a51f7e1b@xxxxxxxxxxxxxx> <4901E44A.8080405@xxxxxx> <1e16a9ed0810240826s319d4acbgcd5cd77e9d0975cf@xxxxxxxxxxxxxx>
Reply-to: Dustin.Henning@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ack17Ps2ZZDBAGBjSTynzKdEuF8lVAAHVvmA
        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