James Pifer
2009-May-14 11:59 UTC
[Xen-users] should restarting xend restart all the domU''s?
I had an issue late yesterday where some windows domU''s were down. The person who "owns" those domUs let windows updates install and then restart, which they failed to restart. When I tried to manually restart them I was getting can''t allocate memory errors. In the past I''ve had can''t allocate memory errors when trying to bring up a new domU. Restarting virt-manager usually clears that. This time it did not help. So I restarted xend. Only problem is it restarting all the domUs that were running ok. 1) Is that the expected behavior? (restarting xend restarts all domUs) 2) Is there anything else I should have checked or done for the memory error besides restarting xend? System is sles10sp2, ocfs2 storage, xen-3.2.0_16718_18-0.3. Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-May-14 12:40 UTC
Re: [Xen-users] should restarting xend restart all the domU''s?
On Thu, May 14, 2009 at 6:59 PM, James Pifer <jep@obrien-pifer.com> wrote:> So I restarted xend. Only problem is it restarting all the domUs that > were running ok. > > 1) Is that the expected behavior? (restarting xend restarts all domUs)Not on RHEL5 or opensolaris, restarting xend on those platforms doesn''t restart running domUs. Not sure about sles though. You probably have something like this on your domU (ubuntu-pv is my domU name) # xm list -l ubuntu-pv | grep xend (on_xend_start start) (on_xend_stop shutdown) Try changing it to (on_xend_stop ignore)> > 2) Is there anything else I should have checked or done for the memory > error besides restarting xend?What was the error? Usually temporarily ballooning down dom0 (or other running domUs) manually is enough. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Pifer
2009-May-14 13:06 UTC
Re: [Xen-users] should restarting xend restart all the domU''s?
On Thu, 2009-05-14 at 19:40 +0700, Fajar A. Nugraha wrote:> On Thu, May 14, 2009 at 6:59 PM, James Pifer <jep@obrien-pifer.com> wrote: > > So I restarted xend. Only problem is it restarting all the domUs that > > were running ok. > > > > 1) Is that the expected behavior? (restarting xend restarts all domUs) > > Not on RHEL5 or opensolaris, restarting xend on those platforms > doesn''t restart running domUs. Not sure about sles though. > > You probably have something like this on your domU (ubuntu-pv is my domU name) > > # xm list -l ubuntu-pv | grep xend > (on_xend_start start) > (on_xend_stop shutdown)This does appear to be the case. If I change these settings then restart the server (which doesn''t happen very often of course) the domU''s would need to be shut down manually before shutdown/restart of dom0? Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users