How to implement VM automatically with Xenserver host

  
 

Workaround for VM to start automatically with the host

For Linux virtual machine 1. Set the POOL where the virtual machine is located. auto_poweronEnable the VM auto start feature on a pool :xe pool-param-set uuid=&hellip ; other-config:auto_poweron=true

2. Setting up the Linux virtual machine auto_poweronThen on each VM you want to auto start you would execute:xe vm-param-set uuid=… other-config:auto_poweron=true For the Windows
host, the above settings may not work for the Windows
host, you can attach add to your /etc/rc.local: (in the XS /etc/rc.local file) Add the following code)

sleep 20xe vm-start uuid=<vm1 uuid>

sleep 20xe vm-start uuid=<vm2 uuid>

sleep 20xe vm- Start uuid=<vm3 uuid>


uuid get xe vm-list

Copyright © Windows knowledge All Rights Reserved