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/
Home Products Support Community News


[Xen-users] Re: domUs don't boot correctly to end

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: domUs don't boot correctly to end
From: Mike Fröhner <mikefroehner@xxxxxx>
Date: Mon, 23 May 2011 11:28:44 +0200
Delivery-date: Mon, 23 May 2011 02:30:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <D59CCFED8EFDFE43BC5C42E3B7156AF78A624E28C0@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <ird88s$br2$1@xxxxxxxxxxxxxxx> <D59CCFED8EFDFE43BC5C42E3B7156AF78A624E28C0@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: mikefroehner@xxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10
I do nearly the same with delay of 2. Perhaps I should increase the delay. Thanks for info, so I am not alone.

Am 23.05.2011 11:22, schrieb James Dingwall:
since I upgraded from xen-2.6.34-r1 / xen-4.0.0 to xen-2.6.38 /
xen-4.1.0 on gentoo, I got the problem, that if I boot many domU in a
short time (like 10 domU in 5 seconds) some of them won't start the
login-shell after initing local. It is also not possible to access them
via ssh. At my last test, 3 of 9 domU got that problem. After "xm
destroy domU" and "xm start domU" again they booted correctly and
started the login-shell.

I didn't have exactly these symptoms but I found that starting so many domUs at 
once could cause problems because of such heavy disk i/o.  I fixed this by 
modifying /etc/init.d/xendomains and adding a sleep after the xl create.  Diff 
is below and should apply cleanly assuming it doesn't get corrupted.  If you 
want a longer delay between the domU starts then define BOOTDELAY=XX in 


$ diff -u /usr/portage/app-emulation/xen-tools/files/xendomains.initd-r2 
--- /usr/portage/app-emulation/xen-tools/files/xendomains.initd-r2      
2011-04-05 22:25:03.000000000 +0100
+++ /etc/init.d/xendomains      2011-05-15 15:34:18.820083366 +0100
@@ -58,9 +58,9 @@
                 if ! is_running ${name} ; then
                         ebegin "  Starting domain ${name}"
                         if using_screen ; then
-                               ${screen_cmd} screen -t ${name} xl create 
${dom} -c
+                               ${screen_cmd} screen -t ${name} xl create 
${dom} -c ; sleep ${BOOTDELAY:=5}
-                               xl create --quiet ${dom}
+                               xl create --quiet ${dom} ; sleep ${BOOTDELAY:=5}
                         eend $?
This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp

Xen-users mailing list

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