xenserver 6 设置虚拟机开机自动启动
2012-05-14 12:07:46 来源:WEB开发网核心提示:# 查看所有的pool# xe pool-list uuid ( RO) : 9fc399f4-1b20-f69e-432e-1ffe5d76e343 name-label ( RW): vhost-01 name-description ( RW):
# 查看所有的pool
# xe pool-list
uuid ( RO) : 9fc399f4-1b20-f69e-432e-1ffe5d76e343
name-label ( RW): vhost-01
name-description ( RW):
master ( RO): b993099e-e035-482c-bdd3-8e4ba06c3d38
default-SR ( RW): <not in database>
# 设置 pool的自动启动
# xe pool-param-set uuid=9fc399f4-1b20-f69e-432e-1ffe5d76e343 other-config:auto_poweron=true
# 查看所有的虚拟机
# xe-vmlist
# 设置单台虚拟机的自动启动
# xe vm-param-set uuid=5c61cabf-e78a-0a59-6914-a01a6c898633 other-config:auto_poweron=true
# 设置所有虚拟机开机自动启动
# for i in `xe vm-list params=uuid --minimal|sed 's/,/ /g'`;do xe vm-param-set uuid=$i other-config:auto_poweron=true;done
更多精彩
赞助商链接
