openstack-manuals/doc/install-guide/source/environment-memcached-rdo.rst
Ivan Anfimov e303bcbb73 Use dnf instead of yum - Memcached
Installation option for RHEL 7 (EOL now) has been removed. Saved option for RHEL8/9.

Change-Id: I1372affcb8cde7232efd1a2a8d0f61925ff13a0c
Closes-Bug: #2093877
2025-01-13 11:51:08 +00:00

1.1 KiB

Memcached for RHEL and CentOS

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:

    # dnf install memcached python3-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:

      OPTIONS="-l 127.0.0.1,::1,controller"

      Note

      Change the existing line OPTIONS="-l 127.0.0.1,::1".

Finalize installation

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

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