diff options
author | Adam Young <ayoung@redhat.com> | 2013-08-05 16:39:48 -0400 |
---|---|---|
committer | Morgan Fainberg <m@metacloud.com> | 2013-08-09 16:33:17 -0700 |
commit | 60ad0b95db2237a52d673052bcf5583843ed2e21 (patch) | |
tree | b44c543717d90b64698d7bf109ac046e668784cd | |
parent | 55ca347e2527249aab82a3e98afed06f95490b7c (diff) | |
download | keystone-60ad0b95db2237a52d673052bcf5583843ed2e21.tar.gz keystone-60ad0b95db2237a52d673052bcf5583843ed2e21.tar.xz keystone-60ad0b95db2237a52d673052bcf5583843ed2e21.zip |
Add memcache to httpd doc.
Bug 1170455
Change-Id: Id2fc4f14d0c880160c2b6ef6c9922e23fb1cb8a6
-rw-r--r-- | doc/source/apache-httpd.rst | 12 |
1 files changed, 11 insertions, 1 deletions
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. |