Explains how to enable Sakai to use a Terracotta server for distributed caching. Requires Sakai 10.0 or better.
TBD
- Download Terracotta 3.7.6 (works with older version of ehcache, currently 2.6.6, in Sakai):
- Get a license for the free version:
- Untar the Terracotta files ({TERRACOTTA_DIR})
- In the {TERRACOTTA_DIR} directory
- copy the license key file from #2 here
- create a tc-config.xml file based on:
Code Block language bash {TERRACOTTA_DIR}/config-samples/tc-config-express-reference.xml
- sample tc-config.xml
- To start terracotta:
Code Block language bash {TERRACOTTA_DIR}/bin/start-tc-server.sh -n <NAME_OF_SERVER>
- (OPTIONAL) To start the dev console monitor:
Code Block language bash {TERRACOTTA_DIR}/bin/dev-console.sh