How does the Citrix Virtual machine self-boot set up?

Source: Internet
Author: User

for virtual machine self-booting, VMware and Citrix settings are different, and friends who have used VMware Virtualization technology should be more aware thatVMware virtual machines can be set up for virtual machine self-booting in a visual interface. And if you want the Citrix virtual machine to boot from the XenServer host is not so simple, because Citrix gives XenCenter the Visual setting operation function is very few, And do not directly move the mouse to complete the self-launch function, but this does not mean that the Citrix virtual machine does not implement the self-boot function, if you want to implement this function, you need to complete the following steps at the command line, you can implement the virtual machine self-boot.

    1. first we need to get the UUID that needs to start the virtual machine 's pool, thecommand is as follows:

[email protected]/]# XE pool-list

    1. with the previous step, you can get the corresponding UUID, and then set the pool for the virtual machine to support Auto_poweron, where the uuid is the pool uuid, as entered tab to come out, not the virtual machine UUID, the Operation command is as follows:

[email protected]/]# XE pool-param-setuuid=0e5056e9-f95f-e78b-23f3-23da41e27d31

Other-config:auto_poweron=true

    1. then we need to get the virtual machines that need to be self-booting UUID, command as follows:

[email protected]/]# XE vm-list

    1. set the virtual machine Auto_poweron, where the uuid is the virtual machine uuid, the Operation command is as follows:

[email protected]/]# XE Vm-param-set uuid=1d6fc3c5-7078-ff8e-763b-d5468e79c8d8 other-config:auto_poweron=true
    1. generally after the 4 steps above,the Windows virtual machine is still not self-booting (Linux virtual machine is definitely not a problem), you need to edit the boot configuration file /etc/rc.local , add the following code at the end

Sleep 20
Xe Vm-start uuid=214c1cf2-8b79-1511-9d29-297722a01f71

Note: Sleep means that XenServer Start - seconds and then automatically open the virtual machine
Here's UUID Replace with self-priming required Windows of the virtual machine UUID

    1. If you need to start a virtual machine more, and do not want the virtual machine to start at the same time, you can follow the following actions to set up, at the end of the boot configuration file /etc/rc.local Add the following command:

Xenserver02 virtual machine with host boot from boot

Sleep 30

Xevm-start uuid=305fa715-9a8c-e238-9b7a-31223f1f5450

Xevm-start uuid=e3a0d5f5-449a-e387-403f-53defd4d608e

Xevm-start uuid=9b9d3d0d-2905-5410-2130-710878f29d7f

Xevm-start uuid=59ef29a8-214b-dafc-ea83-0c9a3cb06d4b

Xevm-start uuid=5c611dcb-1d59-353f-2920-34dcc2909163

Sleep 60

Xevm-start uuid=09bf505d-7e0d-b70b-49b0-b2da658773f3

Xevm-start uuid=6ba9f6ad-9da3-0da1-b6fa-9d12e58d7422

Xevm-start uuid=03573c76-82f9-2413-0fdb-6b6cacaee769

Xevm-start Uuid=0940aea3-5b22-c55d-6982-e41febbd6fd7

Xevm-start uuid=bb4a731b-b6b3-1a06-a263-409687f510b7

Sleep 90

Xevm-start uuid=1dc10f52-2906-113b-71c7-9cccc895fc87

Xevm-start uuid=09d0084e-d0fe-b0b6-89fd-cc7e9a3943ed

Xevm-start uuid=1528ca4e-dfb4-de5a-bfce-b9edd0597adb

Xevm-start uuid=adf768c4-2609-3200-a9b9-79a58b42215e

Xevm-start uuid=4477552e-ce10-0192-3e1d-bb2867be6d1c

    1. Set up all virtual machines to boot automatically:

[[Email protected]/]# for i in ' Xe vm-listparams=uuid--minimal|sed ' s/,//g ';d o xe vm-param-set uuid= $i Other-config:aut O_poweron=true;done


How does the Citrix Virtual machine self-boot set up?

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.