18 July 2015

XenServer: Autostart VM

Pool Auto Power On
  1. Get the UUIDs of the pool:
    xe pool-list
  2. Run the auto power on, replacing [UUID] with the UUID:
    xe pool-param-set uuid=[UUID] other-config:auto_poweron=true
Virtual Machine Power On
  1. Get the UUIDs of the VM:
    xe vm-list
  2. Run the auto power on, replacing [UUID] with the UUID:
    xe vm-param-set uuid=<UUID> other-config:auto_poweron=true
You can check the value with:
xe vm-param-get uuid=<UUID>param-name=other-config

No comments:

Post a Comment