64b6c9261e
Current folder name New folder name Book title ---------------------------------------------------------- basic-install DELETE cli-guide DELETE common common NEW admin-guide-cloud Cloud Administrators Guide docbkx-example DELETE openstack-block-storage-admin DELETE openstack-compute-admin DELETE openstack-config config-reference OpenStack Configuration Reference openstack-ha high-availability-guide OpenStack High Availabilty Guide openstack-image image-guide OpenStack Virtual Machine Image Guide openstack-install install-guide OpenStack Installation Guide openstack-network-connectivity-admin admin-guide-network OpenStack Networking Administration Guide openstack-object-storage-admin DELETE openstack-security security-guide OpenStack Security Guide openstack-training training-guide OpenStack Training Guide openstack-user user-guide OpenStack End User Guide openstack-user-admin user-guide-admin OpenStack Admin User Guide glossary NEW OpenStack Glossary bug: #1220407 Change-Id: Id5ffc774b966ba7b9a591743a877aa10ab3094c7 author: diane fleming
29 lines
1.4 KiB
XML
29 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>In order to support AMI type images within your OpenStack
|
|
installation, a directory <literal>/boot/guest</literal> needs to be
|
|
created inside Dom0. The OpenStack VM will put the kernel and ramdisk
|
|
extracted from the AKI and ARI images to this location.</para>
|
|
|
|
<para>This directory's content will be maintained by OpenStack, and its
|
|
size should not increase during normal operation. However, in case of power
|
|
failures or accidental shutdowns, some files might be left over. In order
|
|
to prevent these files from filling up Dom0's disk, it is recommended to set up
|
|
this directory as a symlink pointing to a subdirectory of the local SR.
|
|
</para>
|
|
|
|
<para>Execute the following commands in Dom0 to achieve the above mentioned
|
|
setup:
|
|
<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>
|
|
</para>
|
|
</section>
|