[Fedora-xen] Particular domU boots before anyother domU on the same host

Asrai khn asraikhn at gmail.com
Mon Feb 19 14:31:08 UTC 2007


Hi  Dan

On 2/19/07, Daniel P. Berrange <berrange at redhat.com> wrote:
>
>
> The xendomains  init script which is responsible for starting domains at
> boot time is pretty simplisitic. It simply does a wildcard on the files in
> /etc/xen/auto/*  or saved VMs in /var/lib/xen/save/* so domains will get
> started in alphabetical order based on their name. You shouldn't rely on
> this  behaviour though, because the way domains are autostarted has
> changed
> in Xen 3.0.4  which will be in Fedora 7 and I can't guarentee the startup
> ordering will be the same
>
> So if you want to ensure domains start ina  particular order, I'd not use
> the xendomains script at all. Instead just put a bunch of 'xm create'
> statements in /etc/rc.d/rc.local to follow your desired ordering exactly.


Alright then we must go for /etc/rc.d/rc.local approach, however I wonders
why xen uses the alphabetic approach when starts domains its kinda weird :)

Thanks. Askar

Regards,
> Dan.
> --
> |=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496
> -=|
> |=-           Perl modules: http://search.cpan.org/~danberr/
>               -=|
> |=-               Projects: http://freshmeat.net/~danielpb/
> -=|
> |=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B
> 9505  -=|
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20070219/d9a55d60/attachment.htm>


More information about the Fedora-xen mailing list