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] Restarting xend - how?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Restarting xend - how?
From: Jeff Noxon <jeff@xxxxxxxxxxxxxx>
Date: Tue, 24 May 2005 15:02:46 -0500
Delivery-date: Tue, 24 May 2005 20:02:09 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42938300.3060509@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20050524152908.GA10397@xxxxxxxxxxxxxx> <42938300.3060509@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
Unfortunately, xend becomes unresponsive occasionally.  I can't have
the foresight to stop my domains to prevent this problem.  Also, the
domains need to be running!

I have just discovered that if I remove /var/lib/xend-db/*, xend can be
started again.  I also removed a lockfile.

However, I have only had limited success manipulating domains at that
point.  'xm shutdown' did not work, but destroy did, sort-of.  The domain
lingers around forever with 0 memory allocated to it.  When I start up
my domains again, I get something like this:

# xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      251    0  r----    116.8
Domain-1           1        0    1  -----      5.6
Domain-10         10        0    1  -----     11.5
Domain-11         11        0    0  -----      2.7
Domain-2           2        0    1  -----      3.7
Domain-3           3        0    0  -----      3.4
Domain-4           4        0    1  -----     20.9
Domain-5           5        0    0  -----      3.0
Domain-6           6        0    1  -----      2.9
Domain-7           7        0    0  -----      2.2
Domain-8           8        0    1  -----      3.1
Domain-9           9        0    0  -----      4.5
working-1         12       47    1  -b---      4.6    9612
working-2         13       63    0  -b---      3.0    9613
working-3         14       47    1  -b---      2.8    9614
working-4         15      127    0  -b---     10.5    9615
working-5         16       47    1  -b---      2.4    9616
working-6         17       47    0  -b---      2.2    9617
working-7         18       47    1  -b---      1.9    9618
working-8         19       47    0  -b---      2.5    9619
working-9         20       63    1  -b---      4.1    9620
working-10        21      127    0  -b---     11.3    9621
working-11        22       47    1  -b---      2.3    9622

Also, /etc/init.d/xendomains does not work anymore.  So I still need to
reboot to make things normal again.

Regards,

Jeff

On Tue, May 24, 2005 at 01:39:44PM -0600, Michael Warner wrote:
> Hey jeff,
> 
> Are you stoping all your domains beforehand. I found I can't get xend to 
> restart while domains are running. So try doing
> 
> /etc/init.d/xendomains stop
> /etc/init.d/xend restart
> /etc/init.d/xendomains start
> 
> Thats how I''ve always done it. Although if xend crashed for some reason 
> you may be stuck unless you can still ssh into each machine and shutdown 
> manually.
> 
> -Mike

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

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