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] How can be defined the order of the starting of DomUs li

Subject: Re: [Xen-users] How can be defined the order of the starting of DomUs linked into /etc/xen/auto?
From: Sadique Puthen <sputhenp@xxxxxxxxxx>
Date: Sun, 02 Mar 2008 23:40:50 +0530
Cc: Xen-Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 02 Mar 2008 10:12:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <099401c87b08$2d2fc7c0$05001300@xxxxxxxxxxxxxxxxxxxxxxxxx>
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: <099401c87b08$2d2fc7c0$05001300@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (X11/20080226)
Artur Linhart - Linux communication wrote:

Hello,

I use Xen 3.1.0 for longer time, but I still have one problem – how could I define the order of the starting of the DomU instances which are automatically restored/started if the DOm0 starts?

Thics can be important – for example, I want to start the database before tomcat starts, I want to start tomcat before load balancer... etc.

I have truied to name the links in the /etc/xen/auto/ in some waz which I wanted this will be started (something like 000-database, 100-webserver, 200=loadbalancer) but this did not helped to me.


Guests may start in the order that you specified, but there is no
guarantee that the database service on 000-database would be started
before the web service on 100-webserver and the loadbalancer service on
200-loadbalancer after the webservice on 10-webservice. Xendomain
service just starts guests in the order specified and guests are started
in the background, so time of the start up of services in the guest may
vary.

You may try adjusting the value of "XENDOMAINS_CREATE_USLEEP" in
/etc/sysconfig/xendomains to a sensible value to get the result that you
expected. Probably 3 minutes or 4 minutes.

--Sadique

Does anybody know, what could be the solution for it or from which source just the starting process takes the order of the startings?

Thanx in advance,

Archie


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



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

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