...
In order for a Servoy Application Server to be part of a Servoy Cluster the Servoy Application Server needs to have a Servoy cluster License installed. The license must be installed on the Servoy Application Server before it is started/added to the cluster.
The Terracotta integration bundled with the Servoy Application Server installation contains two files that require modification. They need to be configured to find both the local Terracotta instance and the Terracotta Server instance that acts as server.
The configuration for Terracotta is stored in the tc-config.xml file in the <servoy>/application_server/terracotta directory .To change the configuration, is the configuration file for the Terracotta instance and is used by the start_servoy_clustered.bat/sh to launch both the Terracotta instance (if not already started) and the Servoy Application Server.
The tc-config.xml file contains a settting that needs to be pointed to the hostname/IP address of the Terracotta Server instance:
...
The changes This change to tc-config.xml need needs to be made to all instances of Terracotta that will be part of the cluster.
Note | ||
---|---|---|
| ||
When using a dedicated machine to run the Terracotta instance that will act as Terracotta serverServer, the tc-config.xml also needs to copied to the same directory where the start_terracotta_server.bat/start_terracotta_server.sh file was copied in the previous step |
Note | ||
---|---|---|
| ||
The Terracotta configuration can be further tuned if required by editing the tc-config.xml. See the official Terracotta documentation for more information. |
Starting a Servoy Application Server instance as part of a cluster is done by executing the The start_servoy_clustered.* file located in the <servoy>application_server/terracotta directory . This file needs to be edited to point to the local installation of Terracotta. Open the file is used to start a Servoy Application Server instance as part of a cluster. Wiki Markup
This file needs to be edited to point to the local installation of Terracotta:
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
This change to start_servoy_clustered.* needs to be made to all instances of Terracotta that will be part of the cluster.