How to Setup Auto-Start Virtual Machines in XenServer 6.x


In XenServer versions 6.x, the direct GUI ability to auto-start a Virtual Machine on the startup of XenServer was removed. This tutorial guide on How to Setup Auto-Start Virtual Machines in XenServer 6.x.

Setting the XenServer to allow Auto-Start

  • Gather the UUID’s of the pools you wish to auto-start.
  • To get the list of the pool’s on your XenServer type[bash]xe pool-list[/bash]
  • Copy the UUID of the pool. If you have just one server, it will still have a pool UUID as noted in the following screenshot:

  • Then type the following command to set the pool or server to allow auto-start: [bash]xe pool-param-set uuid=UUID other-config:auto_poweron=true[/bash]


    Note
    : *Replacing UUID with the UUID of the XenServer or pool.*

Setting the Virtual Machines to Auto-Start

  • Gather the UUID’s of the Virtual Machine you want to auto-start by typing: [bash]xe vm-list[/bash]


    Note
    : This generates a list of Virtual Machines in your pool or server and their associated UUID’s.

  • Copy the UUID of the Virtual Machines you want to auto-start, and type the following command for each Virtual Machine to auto-start: [bash]xe vm-param-set uuid=UUID other-config:auto_poweron=true[/bash]


    Note
    : *Replace UUID with the UUID of the Virtual Machine to auto-start.*


About NhocConan

A super lazy guy who tries to write tech blog entries in English.He is lazy, so he can only write when he is in a good mood or when he is tired of coding.

Leave a comment

Your email address will not be published. Required fields are marked *