From 60ad0b95db2237a52d673052bcf5583843ed2e21 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Mon, 5 Aug 2013 16:39:48 -0400 Subject: Add memcache to httpd doc. Bug 1170455 Change-Id: Id2fc4f14d0c880160c2b6ef6c9922e23fb1cb8a6 --- doc/source/apache-httpd.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/source/apache-httpd.rst b/doc/source/apache-httpd.rst index 41437780..5bc0dbe8 100644 --- a/doc/source/apache-httpd.rst +++ b/doc/source/apache-httpd.rst @@ -87,7 +87,17 @@ Putting it somewhere else requires you set up your SELinux policy accordingly. Keystone Configuration ---------------------- -Make sure you use the ``SQL`` driver for ``tokens``, otherwise the tokens will not be shared between the processes of the Apache HTTPD server. To do that, in ``/etc/keystone/keystone.conf`` make sure you have set:: +Make sure you use either the ``SQL`` or the ``memcached`` driver for ``tokens``, otherwise the tokens will not be shared between the processes of the Apache HTTPD server. + +For ``SQL,`` in ``/etc/keystone/keystone.conf`` make sure you have set:: [token] driver = keystone.token.backends.sql.Token + +For ``memcache,`` in ``/etc/keystone/keystone.conf`` make sure you have set:: + + [token] + driver = keystone.token.backends.memcache.Token + +In both cases, all servers that are storing tokens need a shared backend. This means either that both point +to the same database server, or both point to a common memcached instance. -- cgit