terracotta #0
Description
Distributed HA caching/storage platform for Java.
.
Terracotta provides out of the box clustering for a number of well known Java
frameworks, including EHCache, Hibernate and Quartz as well as clustering
for J2EE containers.
- Tags:
- applications ›
Overview
Distributed HA caching/storage platform for Java.
Terracotta provides out of the box clustering for a number of well known Java frameworks, including EHCache, Hibernate and Quartz as well as clustering for J2EE containers.
The Open Source version of Terracotta allows for one active server and multiple hot standby servers. Mirror groups, authentication and other features require a paid license and are not currently supported by this charm.
Usage
To deploy a Terracotta service:
juju deploy terracotta
Then, expose the service, so you can access it from outside:
juju expose terracotta
Add one or more hot standby units:
juju add-unit terracotta
Units within a service will automatically configure themselves to have one active server and one or more hot standby servers.
The Terracotta Developer Console can be used to view performance metrics amongst other monitoring tools. Download and extract the Terracotta Open Source tarball and run 'bin/dev-console.sh'. Specify one of your units as the host and port 9520. For cloud based deployments, you can use a port forwarded ssh tunnel if you add the internal IP of the unit as an alias for localhost in your '/etc/hosts' file.
Contact Information
Terracotta
Configuration
- dist-md5
- (string) MD5 distribution hash.
- 92c6456f1641b7662b4dedec15eaf3f4
- dist-url
- (string) Distribution URL.
- http://d2zwv9pap9ylyd.cloudfront.net/terracotta-3.6.2.tar.gz
- java-opts
- (string) Java options for Terracotta JVM.
- -Xms1024M -Xmx1024M
- persistent-storage
- (boolean) Use persistent, disk backed storage, or temporary storage.
- True