Terracotta 10.15 | Ehcache API Developer Guide | Clustered Caches | Starting the Terracotta Server
 
Starting the Terracotta Server
Information on how to start the Terracotta Server is contained in the Terracotta Server Administration Guide. See the section Starting and Stopping the Terracotta Server for details.
The snippet below defines two offheap resources named primary-server-resource and secondary-server-resource having sizes 128MB and 96MB respectively:
offheap-resources=primary-server-resource:128MB,secondary-server-resource:96MB
This can be defined either in the config properties file or during server startup.
The rest of the document explains in detail how you can configure cache managers and caches to consume the server's off-heap resources.
Assuming that you have the clustered Ehcache kit available locally, start with extracting the ehcache-clustered kit. Change to your extracted directory and then execute the start-tc-server script located under $KIT_DIR/server/bin to start the Terracotta Server.
Activate the cluster using the activate command of the config tool located under $KIT_DIR/tools/bin.
Note:
You will need to have JAVA_HOME point to a Java 8 installation while starting the Terracotta Server.
Check for the below INFO log to confirm if the server started successfully,
Terracotta Server instance has started up as ACTIVE node on 0:0:0:0:0:0:0:0:9410
successfully, and is now ready for work.