openstack-manuals/doc/install-guide/source/environment-memcached-ubuntu.rst
malikobaid11 3ab47c1862 Fix Memcache install for Ubuntu in Installation guide
Adjust for python3.

Closes-Bug: #1923511
Change-Id: I8934920d2555d3e88696208d2327b4711e8199d8
2021-07-19 05:45:59 +00:00

1.1 KiB

Memcached for Ubuntu

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:

For Ubuntu versions prior to 18.04 use:

# apt install memcached python-memcache

For Ubuntu 18.04 and newer versions use:

# apt install memcached python3-memcache
  1. 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:

    -l 10.0.0.11

    Note

    Change the existing line that had -l 127.0.0.1.

Finalize installation

  • Restart the Memcached service:

    # service memcached restart