1985ce7ca9
As Juno will not be supported on Ubuntu 12.04 Precise, this patch changes all references to 14.04 Trusty, which will support the next 4 releases. Updated section_ubuntu_example.xml for consistency. Change-Id: Ib52513db38b17240026e6a278e8c97c0438358ec
33 lines
2.0 KiB
XML
33 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 Compute service) 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 must access specialized
|
|
hardware, such as GPUs, this might be easier to achieve with LXC than other hypervisors.</para>
|
|
<note><para>Some OpenStack Compute features might 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]
|
|
virt_type = lxc</programlisting></para>
|
|
<para>On Ubuntu, enable LXC support in OpenStack by installing the
|
|
<literal>nova-compute-lxc</literal> package.</para>
|
|
</section>
|
|
|