Openstack installation : memcached

Had followed steps given in – Content mostly from – This is just a compilation on steps followed by me.  Minor changes may be observed as I had installed on Debian 9.6.

Previous Post : Install Message Queue on Controller Node
Next Post     : Install Identity Service - Keystone on Controller Node

The Identity service authentication mechanism for services uses Memcached to cache tokens. The memcached service typically runs on the controller node.

Install packages

root@controller:~# apt install memcached python-memcache

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:

# Specify which IP address to listen on. The default is to listen on all IP addresses
# This parameter is one of the only security measures that memcached has, so make sure
# it's listening on a firewalled interface.

Note : Default configuration would be -l – change it.

Restart memcached service

root@controller:~# service memcached restart