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] initscript shutdown

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] initscript shutdown
From: "iS-Fun Internet Services GmbH, Holger Diehm" <h.diehm@xxxxxxxxx>
Date: Wed, 13 Jan 2010 08:45:26 +0100
Apparently-to: <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 12 Jan 2010 23:46:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <OF6BD9CA4C.3DDCAB9E-ONCA2576A9.0079EA38-CA2576A9.0079F16E@xxxxxxxxxxxx>
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: iS-Fun Internet Services GmbH
References: <OF6BD9CA4C.3DDCAB9E-ONCA2576A9.0079EA38-CA2576A9.0079F16E@xxxxxxxxxxxx>
Reply-to: h.diehm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.10
Hello,

I now tried  XENDOMAINS_SHUTDOWN="--halt --wait" as suggested - no success.

I have configured one DomU but nothing happens but the lockfile gets removed.
So I guess some part of the stop()-section must fit.

xen: /etc/sysconfig# xm list
Name                                        ID   Mem VCPUs      State   
Time(s)
Domain-0                                     0  1004    16     r-----    771.1
vm-test1                                     6   512     1     -b----     35.2

xen:/etc/sysconfig# /etc/init.d/xendomains stop
Shutting down Xen domains:[done].

The statusline appears immediately and states [done] as you can see above, but 
the DomU runs on without getting a signal for shutdown.

I think I have to dig deeper in the shellcode.

holger



Am Tuesday 12 January 2010 23:11:55 schrieb Matthias Reif:
> xen-users-bounces@xxxxxxxxxxxxxxxxxxx wrote on 13/01/2010 09:02:02 AM:
> > Hi Guys,
> > i have compiled xen-3.4.2 from source on debian lenny and I'm trying the
> >
> > latest gentoo-xen-kernel-patches.
> > So far so good for me - no glitches with the kernel at all...yet :-)
> > But now - I was searching the net and the list already for solutions- I
>
> have
>
> > a Problem shutting down the xendomains via initscript.
> >
> > I don't want "xm save" nor migrate. a simple shutdown of any runningvm
>
> would
>
> > be nice.
> >
> > But so far no success with the initscript.
> >
> > Here's what I set in /etc/sysconfig/xendomains:
> >
> > /etc/sysconfig# grep -v ^# xendomains
> >
> > XENDOMAINS_SYSRQ=""
> >
> > XENDOMAINS_USLEEP=1000000
> >
> > XENDOMAINS_CREATE_USLEEP=10000000
> >
> > XENDOMAINS_MIGRATE=""
> >
> > XENDOMAINS_SAVE=""
> >
> > XENDOMAINS_SHUTDOWN=""
> >
> > XENDOMAINS_SHUTDOWN_ALL="--all --halt --wait"
> >
> > XENDOMAINS_RESTORE=false
> >
> > XENDOMAINS_AUTO=/etc/xen/auto
> >
> > XENDOMAINS_AUTO_ONLY=""
> >
> > XENDOMAINS_STOP_MAXWAIT=0
> >
> >
> > I had to set the XENDOMAINS_STOP_MAXWAIT=0 to get it to work with
> > removing all
> > from the initscript but the "XENDOMAINS_SHUTDOWN_ALL"-section.
> >
> > what else could influence the behaviour of the xendomains initscript ?
>
> Could
>
> > it be something special with debian - I have two older xens on opensuse
>
> up an
>
> > running and there are no problems at all ? the lsb package for
>
> comatibility
>
> > is installed, but I made a minimal install of lenny in Dom0, so perhaps
> > something mandatory is missing ? the xend initscript itself works like a
> >
> > charm.
> >
> > thanks in advance,
> >
> > Holger
>
> Try XENDOMAINS_SHUTDOWN="--halt --wait".
>
>
> Matthias
>
>
>
> SOUTH PACIFIC SEEDS
> PO Box 934, GRIFFITH N.S.W. 2680. AUSTRALIA
> Phone: 02 6962 7333      Fax: 02 6964 1311
> CAUTION: The information contained in this e-mail is privileged and
> confidential. If you are reading this message and you are not the intended
> recipient, you are hereby notified that any use, dissemination,
> distribution or reproduction of all or part of the contents is prohibited.
> If you receive this message in error, please notify the sender
> immediately. Any opinions or views expressed in this message are those of
> the individual sender and may not represent those of their employer.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>