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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How can be defined the order of the starting of DomUs linked into /etc/xen/auto?
From: Andy Smith <andy@xxxxxxxxxxxxxx>
Date: Mon, 3 Mar 2008 05:32:38 +0000
Delivery-date: Sun, 02 Mar 2008 21:33:14 -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>
Openpgp: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc
References: <099401c87b08$2d2fc7c0$05001300@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Fri, Feb 29, 2008 at 08:20:42PM +0100, Artur Linhart - Linux communication 
wrote:
>             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?

Influencing the ordering by naming the files 000-foo.conf and
010-bar.conf and so on works for me as a blunt tool.  As others have
pointed out, just because you start domfoo before dombar does not
mean that services in domfoo will be avilable to dombar by the time
it needs them.

As these two domains could one day end up on completely different
machines, I think you will need to figure this situation into your
application as opposed to at the operating system level.

Further on this subject, starting domains from cold is quite a rare
occurence for me.  Most often I have rebooted a dom0 for a kernel
update or whatever and the clean shutdown resulted in all domains
being saved to disk.  On start-up they restore from disk, in
alphabetical order of the save files in /var/lib/xen/save/.

Influencing the order they restore in proves to be slightly more
challenging...

Cheers,
Andy

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>