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

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


  • To: Mark Benson <md.benson@xxxxxxxxx>
  • From: Dave Scott <Dave.Scott@xxxxxxxxxx>
  • Date: Thu, 30 Oct 2014 21:07:04 +0000
  • Accept-language: en-GB, en-US
  • Cc: "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • Delivery-date: Thu, 30 Oct 2014 21:07:18 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AQHP9HSLWtX55JcYXUuJEGtVPxMOGZxJEToA
  • Thread-topic: [Xen-API] Autostart with XCP on Debian 7

Hi,

> On 30 Oct 2014, at 19:02, Mark Benson <md.benson@xxxxxxxxx> wrote:
> 
> Hi,
> 
> Having a hard time here setting up VMs to auto-poweron on Debain 7/XAPI. I've 
> done the following:
> 
> xe pool-set-param uuid=<pool uuid> other-config=auto_poweron:true
> 
> and
> 
> xe vm-set-param uuid=<vm uuid> other-config=auto_poweron:true
> 
> but on reboot it isn't spinning the VM up automatically.
> 
> Any other suggestions? I googled for a goo 30 mins on it today and couldn't 
> find any alternative suggestions :\

I believe the auto_poweron key is supposed to be interpreted by a startup 
script, something like:

#!/bin/sh
xe vm-start other-config:auto_poweron=true power-state=halted --multiple

HTH,
Dave
_______________________________________________
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®.