[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: Morten Christensen <mc-mail@xxxxxxx>
  • Date: Sat, 01 Nov 2014 16:56:05 +0100
  • Delivery-date: Sat, 01 Nov 2014 15:56:27 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>


Den 30-10-2014 20:02, Mark Benson skrev:
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 am using a vApp. Found it on
http://discussions.citrix.com/topic/300865-xenserver-60-and-autostart-vm-on-server-boot-another-solution-within-xencenter/
This post:

Wojciech Bachowski Members
  • #14

  • 5 posts

Posted 01 October 2012 - 09:51 PM

Hi Albert I have version 6.0.2 and machines are starting automatically without any problems.

You can also try to start your vms using vApp:
1. Create vApp.
2. Choose vms to vApp.
3. Choose boot order and delays between starts.
4. Use xe appliance-list name-label="name-vapp" to get uuid of vApp.
5. Use vi /etc/rc.local to open rc.local file.
6. At the end of the file past:
sleep 40
xe appliance-start uuid=uuid-vapp
7. Save file, reboot XenServer.

Now your vApp will start with XenServer and will start vms inside in chosen order.



--
Morten Christensen
_______________________________________________
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®.