8bacea0a6f
* Removed plugin installation through creating a supplemental pack as the scripts used to build the pack are no longer part of compute. * Removed references to XCP, Kronos. * Amend XenServer download links. * Remove references to DevStack. * Remove boot from iso instructions as they are not tested. * Formatted the sources * Update links to XenServer 6.2 Partial-Bug: 1021224 Change-Id: I02d2906d1d5d697dfe709b4e2cc532f0f89983d9
28 lines
1.4 KiB
XML
28 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
version="5.0"
|
|
xml:id="xapi-ami-setup">
|
|
<?dbhtml stop-chunking?>
|
|
<title>Prepare for AMI type images</title>
|
|
<para>
|
|
To support AMI type images in your OpenStack installation, you must
|
|
create the <filename>/boot/guest</filename> directory on dom0. One of
|
|
the OpenStack XAPI plugins will extract the kernel and ramdisk from
|
|
AKI and ARI images and put them to that directory.
|
|
</para>
|
|
<para>
|
|
OpenStack maintains the contents of this directory and its size should
|
|
not increase during normal operation. However, in case of power
|
|
failures or accidental shutdowns, some files might be left over. To
|
|
prevent these files from filling up dom0's filesystem, set up this
|
|
directory as a symlink that points to a subdirectory of the local SR.
|
|
</para>
|
|
<para>Run these commands in dom0 to achieve this setup:</para>
|
|
<screen><prompt>#</prompt> <userinput>LOCAL_SR=$(xe sr-list name-label="Local storage" --minimal)</userinput>
|
|
<prompt>#</prompt> <userinput>LOCALPATH="/var/run/sr-mount/$LOCAL_SR/os-guest-kernels"</userinput>
|
|
<prompt>#</prompt> <userinput>mkdir -p "$LOCALPATH"</userinput>
|
|
<prompt>#</prompt> <userinput>ln -s "$LOCALPATH" /boot/guest</userinput></screen>
|
|
</section>
|