Xenserver: setting automatic start of Xenserver and VM upon startup

Source: Internet
Author: User
Tags uuid

1. Set automatic start of Xenserver upon startup

[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 ~] #

II. Set the VM to automatically start upon startup

[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 ~] #

III. Cancel automatic startup of VM

[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 ~] #

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.