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] domu does not starts after dom0 reboot

On Mon, May 3, 2010 at 11:14 AM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
>> Did the 3 domUs restarted, or are they completely unaware that dom0
>> was rebooted? My guess is it's the second.
> I could not get your second suggestion.
> DomU's did restart or not I am not clear I was able to SSH into the
> three 3DomUs immediately after Dom0 was in a position to give me an
> SSH login.
> I am accessing all Dom0 and DomU's by ssh only.

If you access your domU and run "uptime", it's possible that domU's
uptime is higher than dom0s. This might happen because domUs can be
migrated and save-restored.

> [2010-04-29 06:38:17 3305] DEBUG (XendCheckpoint:235) [xc_restore]:
> /usr/lib/xen-3.2-1/bin/xc_restore 4 4 1 2 0 0 0
> [2010-04-29 06:38:17 3305] INFO (XendCheckpoint:373) xc_domain_restore
> start: p2m_size = 80800
> [2010-04-29 06:38:17 3305] INFO (XendCheckpoint:373) Reloading memory
> pages:   0%
> [2010-04-29 06:38:21 3305] INFO (XendCheckpoint:373) ERROR Internal
> error: Error when reading page (type was 0)

This looks similar to the logs I get when xend tries to a restore an
incomplete-saved domain.

On RHEL, check /etc/sysconfig/xendomains (might be present on other
distros as well), there's a line

XENDOMAINS_SAVE=/var/lib/xen/save

that will save domUs on dom0 shutdown on that directory. I prefer to
simply comment-it-out to tell xend to shutdown domUs instead of saving
them.

You can start by checking if that file exists, or see if your distro
has /etc/init.d/xendomains (or similar) and see what config file it
uses.

-- 
Fajar

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