Citrix : XenServer auto-starting VMs

preview_player
Показать описание
In XenServer 6, Citrix took away the ability from the GUI to autostart virtual machines. It could interfere with HA. But what if you don't use HA. You may only have a couple of servers and don't want HA but want to auto-start a VM. The command line comes to your rescue.
First enable autostart on the pool
xe pool-param-set uuid=UUID other-config:auto_poweron=true
now the VM
xe vm-param-set uuid=UUID other-config:auto_poweron=true
and voila, you are reday to go.....
Рекомендации по теме
Комментарии
Автор

I know this is a long shot, but does anyone know a command to view the current config? I would like to see what each of my VMs are configured for before making changes.

bentwookie
Автор

thanks it works!, but this there a command that every time i create a vm it auto starts without running that command

christopherkevinlee