Add memcache to httpd doc.

Bug 1170455

Change-Id: Id2fc4f14d0c880160c2b6ef6c9922e23fb1cb8a6
This commit is contained in:
Adam Young 2013-08-05 16:39:48 -04:00 committed by Morgan Fainberg
parent 55ca347e25
commit 60ad0b95db
1 changed files with 11 additions and 1 deletions

View File

@ -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.