Enable auto-start on XenServer:
1 2 |
# xe pool-list uuid ( RO) : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX |
copy the UUID and use:
1 |
# xe pool-param-set uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX other-config:auto_poweron=true |
Now XenServer supports auto-start. Let’s find the correct VM:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# xe vm-list uuid ( RO) : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX name-label ( RW): Control domain on host: XenSever_host_name power-state ( RO): running uuid ( RO) : AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA name-label ( RW): VM_host_name_1 power-state ( RO): running uuid ( RO) : BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB name-label ( RW): VM_host_name_2 power-state ( RO): running |
To auto-start the VM_host_name1, just:
1 |
# xe vm-param-set uuid=AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA other-config:auto_poweron=true |
Done, now with XenCenter, we can modify the auto-start order and delays.