dfbc20accc
The purpose for common is to host files that are used in multiple guides. These files were only in use in the configuration reference. In addition, the content and structure of these files was not very conducive to sharing between guides. Therefore, this patch simply moves the hypervisor sections from common into the compute area of the config-reference. Should (in the future) some content from these be required in - eg Install Guide or Cloud Admin Guide, it is likely best that they are chopped apart with appropriate sections divided appropriately. backport: havana Change-Id: Ie153ccf810de2dccd32cb7b6ee3076fbac365605
35 lines
2.0 KiB
XML
35 lines
2.0 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="lxc">
|
|
<title>LXC (Linux containers)</title>
|
|
<para>LXC (also known as Linux containers) is a virtualization
|
|
technology that works at the operating system level. This is
|
|
different from hardware virtualization, the approach used by other
|
|
hypervisors such as KVM, Xen, and VMWare. LXC (as currently
|
|
implemented using libvirt in the nova project) is not a secure
|
|
virtualization technology for multi-tenant environments
|
|
(specifically, containers may affect resource quotas for other
|
|
containers hosted on the same machine). Additional containment
|
|
technologies, such as AppArmor, may be used to provide better
|
|
isolation between containers, although this is not the case by
|
|
default. For all these reasons, the choice of this virtualization
|
|
technology is not recommended in production.</para>
|
|
<para>If your compute hosts do not have hardware support for virtualization, LXC will likely
|
|
provide better performance than QEMU. In addition, if your guests need to access to specialized
|
|
hardware (e.g., GPUs), this may be easier to achieve with LXC than other hypervisors.</para>
|
|
<note><para>Some OpenStack Compute features may be missing when running with LXC as the hypervisor. See
|
|
the <link xlink:href="http://wiki.openstack.org/HypervisorSupportMatrix">hypervisor support
|
|
matrix</link> for details.</para></note>
|
|
<para>To enable LXC, ensure the following options are set in
|
|
<filename>/etc/nova/nova.conf</filename> on all hosts running the <systemitem class="service"
|
|
>nova-compute</systemitem>
|
|
service.<programlisting language="ini">compute_driver=libvirt.LibvirtDriver
|
|
libvirt_type=lxc</programlisting></para>
|
|
<para>On Ubuntu 12.04, enable LXC support in OpenStack by installing the
|
|
<literal>nova-compute-lxc</literal> package.</para>
|
|
|
|
</section>
|
|
|