Вы находитесь на странице: 1из 1

C:\Users\Valter Soares\Dropbox\Docs\Howto\Citrix Xen\Auto_Start.

txt

segunda-feira, 29 de junho de 2015 13:54

Setting the XenServer to allow Auto-Start


Gather the UUIDs of the pools you wish to auto-start.
To get the list of the pools on your XenServer, run xe pool-list
Copy the UUID of the pool. If you have just one server, it will still have a pool UUID as
noted in the following
User-added image
Then type the following command to set the pool or server to allow auto-start:
xe pool-param-set uuid=UUID other-config:auto_poweron=true
Note: Replacing UUID with the UUID of the XenServer or pool.
Setting the Virtual Machines to Auto-Start
Gather the UUIDs of the Virtual Machine you want to auto-start by running xe vm-list.
Note: This generates a list of Virtual Machines in your pool or server and their associated
UUIDs.
Copy the UUID of the Virtual Machines you want to auto-start, and run the following command
for each Virtual Machine to auto-start:
xe vm-param-set uuid=UUID other-config:auto_poweron=true
Note: Replace UUID with the UUID of the Virtual Machine to auto-start.
------------------------------------------------------------------------------------I have version 6.0.2 and machines are starting automatically without any problems.
You can also try to start your vms using vApp:
1. Create vApp.
2. Choose vms to vApp.
3. Choose boot order and delays between starts.
4. Use xe appliance-list name-label="name-vapp" to get uuid of vApp.
5. Use vi /etc/rc.local to open rc.local file.
6. At the end of the file past:
sleep 40
xe appliance-start uuid=f75fc39a-71a5-2c13-21c3-dd62588f7ae4
7. Save file, reboot XenServer.
Now your vApp will start with XenServer and will start vms inside in chosen order.

-1-

Вам также может понравиться