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

Re: [Xen-API] Autostart with XCP on Debian 7


  • To: xen-api@xxxxxxxxxxxxx
  • From: Mark Benson <md.benson@xxxxxxxxx>
  • Date: Fri, 31 Oct 2014 10:12:33 +0000
  • Delivery-date: Fri, 31 Oct 2014 10:13:04 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

On Fri, Oct 31, 2014 at 8:50 AM, Dave Scott <Dave.Scott@xxxxxxxxxx> 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@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

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