[libvirt] staggered guest startup / startup order

Michael Ansel libvir at anselcomputers.com
Tue May 26 13:49:18 UTC 2009


Quick intro since this is my first post to the list: My name is
Michael Ansel, and I am third year Electrical and Computer Engineering
/ Computer Science double major at Duke University in Durham, North
Carolina. I've done a little bit of work off and on over the past
several years with virtualization on Linux, and my
project/self-inflicted torture for the summer is to put together a
stable, object-oriented wrapper for the libvirt ruby bindings so that
VM management is extremely easy from within ruby (though... I haven't
quite gotten that idea off the ground).

Anyways, enough about me and onto the issue at hand:

How hard would something like this (staggered boot order) be to
add/integrate with an optional, external config file (or as a
[true|false|1|2|3|..]. style directive in the main XML)? I'd be
interested in putting something together if it is a feasible addition
and someone can point me to the general area of the code that needs to
be changed. Also, is there an indicator in libvirt for when a domain
has finished booting, or would this boot staggering need to be time
based? Thanks!

Michael

On Tue, May 26, 2009 at 5:50 AM, Daniel Veillard <veillard at redhat.com> wrote:
> On Mon, May 25, 2009 at 11:51:07PM -0400, Gerry Reno wrote:
>> Is there a way that you can set the guests startup order and stagger
>> their startup at boot?
>
>  Hum, no. We only have the autostart flag on the domain but nothing
> about ordering of starts on a wider basis.
>
> Daniel
>
> --
> Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
> daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
> http://veillard.com/ | virtualization library  http://libvirt.org/
>
> --
> Libvir-list mailing list
> Libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
>




More information about the libvir-list mailing list