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

Re: [Xen-users] Restarting xend - how?



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


 


Rackspace

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