Configure Linux VM boot from the optical drive in XenServer

Source: Internet
Author: User

Configure Linux VM boot from the optical drive in Xenserver

Http://docs.vmd.citrix.com/XenServer/6.2.0/1.0/en_gb/reference.html

HVM-boot-policy
The boot policy for HVM guests. Either BIOS Order or an empty string.

HVM-boot-params
The order key controls the HVM guest boot order,
Represented as a string where each character is a boot method:
D for the CD/DVD, c for the root disk, and n for network PXE boot. The default is dc.

HVM-boot-policy = "BIOS order" [root @ xenserver ~] # Xe vm-list uuid (RO): Drawing name-label (RW): ora63_momo1 power-state (RO): runninguuid (RO): a854ab3b-8bed-47c8-af06-83ca8ac44c62 name-label (RW ): control domain on host: xenserver power-state (RO): running [root @ xenserver ~] # [Root @ xenserver ~] # Xe vm-list params = all uuid = "5192aa43-0911-5382-f9d0-7de12eae448b"
Uuid (RO): 5192aa43-0911-5382-f9d0-7de12eae448b
Name-label (RW): ora63_momo1
Name-description (RW ):
User-version (RW): 1
Is-a-template (RW): false
Is-a-snapshot (RO): false
Snapshot-of (RO): <not in database>
Snapshots (RO ):
Snapshot-time (RO): 19700101T00: 00: 00Z
Snapshot-info (RO ):
Parent (RO): <not in database>
Children (RO ):
Is-control-domain (RO): false
Power-state (RO): halted
Memory-actual (RO): 2147483648
Memory-target (RO): <expensive field>
Memory-overhead (RO): 18874368
Memory-static-max (RW): 2147483648
Memory-dynamic-max (RW): 2147483648
Memory-dynamic-min (RW): 2147483648
Memory-static-min (RW): 536870912
Suspend-VDI-uuid (RW): <not in database>
Suspend-SR-uuid (RW): 67cc7dcd-ea09-13c5-3a19-a6581d224e72
VCPUs-params (MRW ):
VCPUs-max (RW): 1
VCPUs-at-startup (RW): 1
Actions-after-shutdown (RW): Destroy
Actions-after-reboot (RW): Restart
Actions-after-crash (RW): Restart
Console-uuids (SRO ):
Platform (MRW): nx: true; acpi: 1; apic: true; pae: true; viridian: true
Allowed-operations (SRO): changing_dynamic_range; changing_shadow_memory; changing_static_range; make_assist_template; destroy; export; start_on; start; clone; copy; snapshot
Current-operations (SRO ):
Blocked-operations (MRW ):
Allowed-VBD-devices (SRO): <expensive field>
Allowed-VIF-devices (SRO): <expensive field>
Possible-hosts (RO): <expensive field>
HVM-boot-policy (RW ):
HVM-boot-params (MRW ):
HVM-shadow-multiplier (RW): 1.000
PV-kernel (RW ):
PV-ramdisk (RW ):
PV-args (RW): graphical utf8
PV-legacy-args (RW ):
PV-bootloader (RW): pygrub
PV-bootloader-args (RW ):
Last-boot-CPU-flags (RO): vendor: GenuineIntel; features: 0408e3bd-bfebfbff-00000001-20100800
Last-boot-record (RO): <expensive field>
Resident-on (RO): <not in database>
Affinity (RW): f3620fb2-e940-4fd1-b003-b49c3a704450
Other-config (MRW): vgpu_pci:; base_template_name: Oracle Enterprise Linux 6 (64-bit); install-repository: cdrom; linux_template: true; mac_seed: enabled; rhel6: true; install-methods: cdrom, nfs, http, ftp
Dom-id (RO):-1
Recommendations (RO ): <restrictions> <restriction field = "memory-static-max" max = "137438953472"/> <restriction field = "vcpus-max" max = "16"/> <restriction property = "number-of-vbds" max = "7"/> <restriction property = "number-of-vifs" max = "7"/> </restrictions>
Xenstore-data (MRW): vm-data:
Ha-always-run (RW) [DEPRECATED]: false
Ha-restart-priority (RW ):
Blobs (RO ):
Start-time (RO): 19700101T00: 00: 00Z
Install-time (RO): 20130711T14: 39: 50Z
VCPUs-number (RO): 0
VCPUs-utilisation (MRO): <expensive field>
OS-version (MRO): <not in database>
PV-drivers-version (MRO): <not in database>
PV-drivers-up-to-date (RO): <not in database>
Memory (MRO): <not in database>
Disks (MRO): <not in database>
Networks (MRO): <not in database>
Other (MRO): <not in database>
Live (RO): <not in database>
Guest-metrics-last-updated (RO): <not in database>
Cooperative (RO) [DEPRECATED]: <expensive field>
Tags (SRW ):
Appliance (RW): <not in database>
Start-delay (RW): 0
Shutdown-delay (RW): 0
Order (RW): 0
Version (RO): 0
Generation-id (RO): 2179547399178184110: 238488794479818564
[Root @ xenserver ~] #

[Root @ xenserver ~] # Xe vm-list params = all uuid = "5192aa43-0911-5382-f9d0-7de12eae448b"> vmlist1.log

[Root @ xenserver ~] # Xe vm-param-set uuid = 5192aa43-0911-5382-f9d0-7de12eae448b HVM-boot-policy = "BIOS order"
[Root @ xenserver ~] # Xe vm-list params = all uuid = "5192aa43-0911-5382-f9d0-7de12eae448b"> vmlist2.log
[Root @ xenserver ~] #
[Root @ xenserver ~] # Diff vmlist1.log vmlist2.log
38c38
<HVM-boot-policy (RW ):
---
> HVM-boot-policy (RW): BIOS order
[Root @ xenserver ~] #
[Root @ xenserver ~] # Xe vm-param-set uuid = 5192aa43-0911-5382-f9d0-7de12eae448b HVM-boot-params: order = "dc"
[Root @ xenserver ~] #
[Root @ xenserver ~] # Xe vm-list params = all uuid = "5192aa43-0911-5382-f9d0-7de12eae448b"> vmlist3.log
[Root @ xenserver ~] #
[Root @ xenserver ~] # Diff vmlist1.log vmlist3.log
38, 39c38, 39
<HVM-boot-policy (RW ):
<HVM-boot-params (MRW ):
---
> HVM-boot-policy (RW): BIOS order
> HVM-boot-params (MRW): order: dc
[Root @ xenserver ~] #

[Root @ xenserver ~] # Diff vmlist2.log vmlist3.log
39c39
<HVM-boot-params (MRW ):
---
> HVM-boot-params (MRW): order: dc
[Root @ xenserver ~] #

Go to Xencenter and you can see that you can select the startup option...

Recommended reading:

How does XenServer add local storage?

Enable and configure the SNMP service for Citrix XenServer

Install XS-Tools (XenServer) in CentOS/Linux)

XenServer Tutorial: How to Implement hot migration

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.