6c185febf6
Update environment configuration for Mitaka. 1) Change SQL database configuration file name to something less clunky. 2) Improve consistency of SQL database configuration among distributions. 3) Change RDO to use the PyMySQL library. 4) Add pre-release package repositories for testing purposes. Remove after release of Mitaka packages. 5) Move Memcached content from keystone because all services use it, but in a different way than in Liberty. Implements: bp installguide-mitaka Change-Id: Ie904f9b4f745ac287d9aef12e3348e1582766229
1.4 KiB
1.4 KiB
Memcached
The Identity service authentication mechanism for services uses Memcached to cache tokens. For production deployments, we recommend enabling a combination of firewalling, authentication, and encryption to secure it.
Install and configure components
Install the packages:
ubuntu
# apt-get install memcached python-memcache
rdo
# yum install memcached python-memcached
obs
# zypper install memcached python-python-memcached
ubuntu
Edit the
/etc/memcache/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 memcache 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