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

Re: [Xen-users] How can be defined the order of the starting of DomUs linked into /etc/xen/auto?



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


 


Rackspace

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