Files
openstack-manuals/doc/install-guide/source/environment-memcached.rst
Andreas Jaeger a00856b1a2 First Prepare for Sphinx 1.5
The new sphinx version introduces some changes that break build:

* Warns if code cannot be parsed for highlighting. Fix the code so that
  it can be parsed, this includes uncommenting "..." lines.
* :option: works only with declared options, replace useage with simple
  ``.

This change only handles a few files, more to come later.

Change-Id: I957b102a0b3fb84f494e7f50ec35fa1c26a98bb5
2017-01-11 12:48:09 +00:00

1.6 KiB

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

  1. Install the packages:

    ubuntu or debian

    # apt install memcached python-memcache

    rdo

    # yum install memcached python-memcached

    obs

    # zypper install memcached python-python-memcached

ubuntu or debian

  1. Edit the /etc/memcached.conf file and configure the service to use the management IP address of the controller node to enable access by other nodes via the management network:

    -l 10.0.0.11

    Note

    Change the existing line with -l 127.0.0.1.

Finalize installation

ubuntu or debian

  • Restart the Memcached service:

    # service memcached restart

rdo or obs

  • Start the Memcached service and configure it to start when the system boots:

    # systemctl enable memcached.service
    # systemctl start memcached.service