Difference between revisions of "GSP Virtualisation with Xen"
From PDP/Grid Wiki
Jump to navigationJump to searchLine 367: | Line 367: | ||
== Autostart and restart on boot == | == Autostart and restart on boot == | ||
− | + | Through the CLI you can have XCP do it for you: | |
− | |||
− | |||
Find the pool uuid (from the GUI or with <tt>xe pool-list</tt>), and then | Find the pool uuid (from the GUI or with <tt>xe pool-list</tt>), and then | ||
Line 379: | Line 377: | ||
See also: | See also: | ||
* http://www.virtues.it/2011/10/xenserver6-vm-auto-start-feature/ | * http://www.virtues.it/2011/10/xenserver6-vm-auto-start-feature/ | ||
+ | |||
+ | PS: | ||
+ | The "ha-always-run" option is depricated, and XCP1.5 and XenServer 6 don't offer autostart. We can script it for hosts aiuth an afficity by starting all VMs who's afficility is the local host (of course apart from teh control domain. This should run some time after boot, e.g. in /rc.local, or it will continue to restart servers we shut down on purpose. And then: servers that ''should not'' autostart should not have an affinity ;-) |