openstack-manuals/doc/install-guide/source/environment-memcached.rst
Yushiro FURUKAWA 0019cedb4e Replace 'apt-get' to 'apt'
'apt-get' is more primitive command than 'apt'. In addition, 'apt' is
the most recommended interface.[1]

[1]https://debian-handbook.info/browse/stable/sect.apt-get.html

Change-Id: I40dd27f3856a84f936236679cd0201b079a2172e
2016-11-07 02:06:05 +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