Category Archives: XenServer

XenServer – Power on VM automatically when host starts

To set the autopower-on parameter of the VM, you need its uuid. Execute the following command on the XenServer host:


# xe vm-list
uuid ( RO) : 488u9986-f5g5-56jk-6678-223dc455hmd0
name-label ( RW): VM-Box1
power-state ( RO): running

 
Once you retreive the uuid of the VM, set the auto_poweron parameter of the virtual machine to true by executing (with your own VM uuid):


# xe vm-param-set uuid=488u9986-f5g5-56jk-6678-223dc455hmd0 other-config:auto_poweron=true

 
That’s all.