Xenserver之设置Xenserver和VM机开机自动启动

  • A+
所属分类:Linux  Xenserver  虚拟化
摘要

又是根据业务需求需要让Xenserver中的虚拟机开机启动,于是我就查了下思杰的文档发现确实有解决方案的

一、设置Xenserver开机自动启动

[root@xenserver-DS-TestServer09 ~]# xe pool-list
uuid ( RO)                : b1c803a6-88cf-7b24-4f86-b0043866d3dc
          name-label ( RW): 
    name-description ( RW): 
              master ( RO): 0080dd58-9609-4c9a-b159-fefd32b53ec1
          default-SR ( RW): d843e170-df59-f615-3b8f-55fd94b07c93


[root@xenserver-DS-TestServer09 ~]# xe pool-param-set uuid=b1c803a6-88cf-7b24-4f86-b0043866d3dc other-config:auto_poweron=true
[root@xenserver-DS-TestServer09 ~]# 

二、设置虚拟机开机自动启动

[root@xenserver-DS-TestServer09 ~]# xe vm-list|tail -5
uuid ( RO)           : 2e86e111-e1b1-a59d-0c81-df4e8688a142
     name-label ( RW): Windows Server 2012 R2 2c4g (9)
    power-state ( RO): running


[root@xenserver-DS-TestServer09 ~]# xe vm-param-set uuid=2e86e111-e1b1-a59d-0c81-df4e8688a142 other-config:auto_poweron=true
[root@xenserver-DS-TestServer09 ~]# 

三、取消虚拟机开机自动启动

[root@xenserver-DS-TestServer09 ~]# xe vm-param-remove uuid=2e86e111-e1b1-a59d-0c81-df4e8688a142 param-name=other-config param-key=auto_poweron
[root@xenserver-DS-TestServer09 ~]# 

参考连接:

http://support.citrix.com/article/CTX133910

https://discussions.citrix.com/topic/371491-xenserver-65-sp1-autostart-vm-boot-order/

lookback

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: