openstack-manuals/doc/install-guide/source/environment-memcached-obs.rst
Nicolas Bock b0092b4893
Update install instructions for memcached
The OBS install instructions for memcached incorrectly instructed the
user to configure memcached to listeon on the localhost address. It
should be configured to use the management IP address of the
controller.

Change-Id: Ia978c025232a80e46cbb12e2ea5fad63c6ad2167
Closes-Bug: #1742884
2018-01-12 09:44:09 -07:00

1.1 KiB

Memcached for SUSE

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:

    # zypper install memcached python-python-memcached
  2. Edit the /etc/sysconfig/memcached file and complete the following actions:

    • 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:

      MEMCACHED_PARAMS="-l 10.0.0.11"

      Note

      Change the existing line MEMCACHED_PARAMS="-l 127.0.0.1".

Finalize installation

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

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