On Fri, Oct 31, 2014 at 8:50 AM, Dave Scott <dave.sc...@citrix.com> wrote:

> >> #!/bin/sh
> >> xe vm-start other-config:auto_poweron=true power-state=halted --multiple
> >>
> >> HTH,
> >> Dave
> >
> > So if I drop that somewhere like rc.local it'll boot the required VMS on
> startup if they are at the 'halted' state, for instantce?
>
> That’s right. It should work provided xapi has already been started.
>

Thanks. Yeah rc.local runs last of all after all the other init scripts on
Debian AFAIK so it's *fairly* safe.. It worked a treat

Something I noticed the dom0 takes quite a long time to finish booting up
now as one of my VMs (Debian 5 lenny) takes a while to return a 'started'
state via the xe-tools (sits at yellow in XenCenter for a wile after it's
console hits the login prompt).

Also, if I add a startup delay to one of the VMs will xapi respect this and
defer it's start-up on running this command?

-- 

Mark Benson
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to