Skip to content

Commit b30b774

Browse files
author
David Scott
committed
Split the 'install VMs' text from the 'Xen-API Extensions'
Signed-off-by: David Scott <[email protected]>
1 parent 29ada54 commit b30b774

File tree

3 files changed

+42
-37
lines changed

3 files changed

+42
-37
lines changed

_data/navbar.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
- xen-api/vm-lifecycle.md
2424
- xen-api/snapshots.md
2525
- xen-api/consoles.md
26+
- xen-api/install-vms.md
2627
- xen-api/udhcp.md
2728
- xen-api/index.html
2829
- title: Xapi

xen-api/extensions.md

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -7,43 +7,6 @@ The XenAPI is a general and comprehensive interface to managing the life-cycles
77

88
Extensions to the XenAPI are often provided by specifying `other-config` map keys to various objects. The use of this parameter indicates that the functionality is supported for that particular release of XenServer, but *not* as a long-term feature. We are constantly evaluating promoting functionality into the API, but this requires the nature of the interface to be well-understood. Developer feedback as to how you are using some of these extensions is always welcome to help us make these decisions.
99

10-
Paravirtual Linux installation
11-
------------------------------
12-
13-
The installation of paravirtual Linux guests is complicated by the fact that a Xen-aware kernel must be booted, rather than simply installing the guest using hardware-assistance. This does have the benefit of providing near-native installation speed due to the lack of emulation overhead. XenServer supports the installation of several different Linux distributions, and abstracts this process as much as possible.
14-
15-
To this end, a special bootloader known as `eliloader` is present in the control domain which reads various `other-config` keys in the VM record at start time and performs distribution-specific installation behavior.
16-
17-
- `install-repository` - Required. Path to a repository; 'http', 'https', 'ftp', or 'nfs'. Should be specified as would be used by the target installer, but not including prefixes, e.g. method=.
18-
19-
- `install-vnc` - Default: false. Use VNC where available during the installation.
20-
21-
- `install-vncpasswd` - Default: empty. The VNC password to use, when providing one is possible using the command-line of the target distribution.
22-
23-
- `install-round` - Default: 1. The current bootloader round. Not to be edited by the user (see below)
24-
25-
### Red Hat Enterprise Linux 4.1/4.4
26-
27-
`eliloader` is used for two rounds of booting. In the first round, it returns the installer `initrd` and kernel from `/opt/xensource/packages/files/guest-installer`. Then, on the second boot, it removes the additional updates disk from the VM, switches the bootloader to `pygrub`, and then begins a normal boot.
28-
29-
This sequence is required since Red Hat does not provide a Xen kernel for these distributions, and so the XenServer custom kernels for those distributions are used instead.
30-
31-
### Red Hat Enterprise Linux 4.5/5.0
32-
33-
Similar to the RHEL4.4 installation, except that the kernel and ramdisk are downloaded directly form the network repository that was specified by the user, and switch the bootloader to `pygrub` immediately. Note that pygrub is not executed immediately, and so will only be parsed on the next boot.
34-
35-
The network retrieval enables users to install the upstream Red Hat vendor kernel directly from their network repository. An updated XenServer kernel is also provided on the `xs-tools.iso` built-in ISO image which fixes various Xen-related bugs.
36-
37-
### SUSE Enterprise Linux 10 SP1
38-
39-
This requires a two-round boot process. The first round downloads the kernel and ramdisk from the network repository and boots them. The second round then inspects the disks to find the installed kernel and ramdisk, and sets the `PV-bootloader-args` to reflect these paths within the guest filesystem. This process emulates the `domUloader` which SUSE use as an alternative to `pygrub`. Finally, the bootloader is set to `pygrub` and is executed to begin a normal boot.
40-
41-
The SLES 10 installation method means that the path for the kernel and ramdisk is stored in the VM record rather than in the guest `menu.lst`, but this is the only way it would ever work since the YAST package manager doesn't write a valid `menu.lst`.
42-
43-
### CentOS 4.5 / 5.0
44-
45-
The CentOS installation mechanism is similar to that of the Red Hat installation notes above, save that some MD5 checksums are different which `eliloader` recognizes.
46-
4710
Adding Xenstore entries to VMs
4811
------------------------------
4912

xen-api/install-vms.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Installing VMs
3+
layout: default
4+
---
5+
6+
Paravirtual Linux installation
7+
------------------------------
8+
9+
The installation of paravirtual Linux guests is complicated by the fact that a Xen-aware kernel must be booted, rather than simply installing the guest using hardware-assistance. This does have the benefit of providing near-native installation speed due to the lack of emulation overhead. XenServer supports the installation of several different Linux distributions, and abstracts this process as much as possible.
10+
11+
To this end, a special bootloader known as `eliloader` is present in the control domain which reads various `other-config` keys in the VM record at start time and performs distribution-specific installation behavior.
12+
13+
- `install-repository` - Required. Path to a repository; 'http', 'https', 'ftp', or 'nfs'. Should be specified as would be used by the target installer, but not including prefixes, e.g. method=.
14+
15+
- `install-vnc` - Default: false. Use VNC where available during the installation.
16+
17+
- `install-vncpasswd` - Default: empty. The VNC password to use, when providing one is possible using the command-line of the target distribution.
18+
19+
- `install-round` - Default: 1. The current bootloader round. Not to be edited by the user (see below)
20+
21+
### Red Hat Enterprise Linux 4.1/4.4
22+
23+
`eliloader` is used for two rounds of booting. In the first round, it returns the installer `initrd` and kernel from `/opt/xensource/packages/files/guest-installer`. Then, on the second boot, it removes the additional updates disk from the VM, switches the bootloader to `pygrub`, and then begins a normal boot.
24+
25+
This sequence is required since Red Hat does not provide a Xen kernel for these distributions, and so the XenServer custom kernels for those distributions are used instead.
26+
27+
### Red Hat Enterprise Linux 4.5/5.0
28+
29+
Similar to the RHEL4.4 installation, except that the kernel and ramdisk are downloaded directly form the network repository that was specified by the user, and switch the bootloader to `pygrub` immediately. Note that pygrub is not executed immediately, and so will only be parsed on the next boot.
30+
31+
The network retrieval enables users to install the upstream Red Hat vendor kernel directly from their network repository. An updated XenServer kernel is also provided on the `xs-tools.iso` built-in ISO image which fixes various Xen-related bugs.
32+
33+
### SUSE Enterprise Linux 10 SP1
34+
35+
This requires a two-round boot process. The first round downloads the kernel and ramdisk from the network repository and boots them. The second round then inspects the disks to find the installed kernel and ramdisk, and sets the `PV-bootloader-args` to reflect these paths within the guest filesystem. This process emulates the `domUloader` which SUSE use as an alternative to `pygrub`. Finally, the bootloader is set to `pygrub` and is executed to begin a normal boot.
36+
37+
The SLES 10 installation method means that the path for the kernel and ramdisk is stored in the VM record rather than in the guest `menu.lst`, but this is the only way it would ever work since the YAST package manager doesn't write a valid `menu.lst`.
38+
39+
### CentOS 4.5 / 5.0
40+
41+
The CentOS installation mechanism is similar to that of the Red Hat installation notes above, save that some MD5 checksums are different which `eliloader` recognizes.

0 commit comments

Comments
 (0)