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:
-
- 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