diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-08-13 03:40:27 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-08-13 03:40:27 +0000 |
commit | 58c7462d982223ec47b54141ba7bca022d8f8af7 (patch) | |
tree | 95c4588ac12407d2190285fc30154e06d973f506 | |
parent | 7346ce0d1985da7973afca54858dabf8715f9d0e (diff) | |
parent | 60ad0b95db2237a52d673052bcf5583843ed2e21 (diff) | |
download | keystone-58c7462d982223ec47b54141ba7bca022d8f8af7.tar.gz keystone-58c7462d982223ec47b54141ba7bca022d8f8af7.tar.xz keystone-58c7462d982223ec47b54141ba7bca022d8f8af7.zip |
Merge "Add memcache to httpd doc."
-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. |