e39304d4ae
The PDF build does not include content multiple times if the same file is included in a toctree more than once. That means we need to restructure the guide to handle the common parts differently. This approach merges some of the previously split sections back together using inline prose to indicate where minor variations apply for different operating systems but retaining separate files for cases where the differences are significant. Change-Id: I5d9ff549b05ca4ce54486719d70858589b8fcfa3 Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
55 lines
971 B
ReStructuredText
55 lines
971 B
ReStructuredText
Ubuntu Memcached
|
|
~~~~~~~~~~~~~~~~
|
|
|
|
The Identity service authentication mechanism for services uses Memcached
|
|
to cache tokens. The memcached service typically runs on the controller
|
|
node. For production deployments, we recommend enabling a combination of
|
|
firewalling, authentication, and encryption to secure it.
|
|
|
|
Install and configure components
|
|
--------------------------------
|
|
|
|
#. Install the packages:
|
|
|
|
|
|
.. code-block:: console
|
|
|
|
# apt install memcached python-memcache
|
|
|
|
.. end
|
|
|
|
|
|
|
|
|
|
|
|
2. Edit the ``/etc/memcached.conf`` file and configure the
|
|
service to use the management IP address of the controller node.
|
|
This is to enable access by other nodes via the management network:
|
|
|
|
.. code-block:: none
|
|
|
|
-l 10.0.0.11
|
|
|
|
.. end
|
|
|
|
.. note::
|
|
|
|
Change the existing line that had ``-l 127.0.0.1``.
|
|
|
|
|
|
|
|
|
|
Finalize installation
|
|
---------------------
|
|
|
|
|
|
* Restart the Memcached service:
|
|
|
|
.. code-block:: console
|
|
|
|
# service memcached restart
|
|
|
|
.. end
|
|
|
|
|