Setting up Servoy Cluster involves the following steps:
- Installation of multiple Servoy Application Servers (see Installing the Application Server):
To create a cluster of Servoy Application Servers, multiple Servoy Application Servers are required. The installation procedure for the individual Servoy Application Server instances is identical to the procedure for Servoy Application Servers that are not part of a Servoy Cluster.
All Servoy Application Servers within a Servoy Cluster have to run the same version of Servoy, but can run on different platforms, if required.
To make Servoy Application Server instances work with Servoy Cluster a couple of configuration steps are required. Those will be discussed in step 5.
Note that all Servoy Application Server instances that will be part of a Servoy Cluster need to connect to 1 set of databases. Therefore, it is not efficient to install the bundled PostgreSQL database engine (when using the bundled PostgreSQL as database engine) with each instance of the Servoy Application Server.
- Download Terracotta:
The Servoy Application Server comes pre-installed with the integration for Terracotta. Terracotta itself must be downloaded and installed separately.
- Installation of Terracotta on each machine running a Servoy Application Server:
On each machine that runs a Servoy Application Server, Terracotta needs to be installed as well. One of the Terracotta instances needs to act as Terracotta Server (see next step).
- Configuration of one Terracotta instance as Terracotta Server:
One of the Terracotta instances needs to act as Terracotta Server. Optionally, the Terracotta Server instance can be installed on a dedicated machine that does not run a Servoy Application Server.
- Configuration of each Servoy Application Servers to work with Servoy Cluster:
To make each Servoy Application Server instance work with the Servoy Cluster, the configuration of the integration bundled with the Servoy Application Servers needs to be updated.
Before installing Servoy Cluster make sure to obtain a Servoy Cluster license from Servoy.
Use the same versions of Terracotta, Servoy and Java inside a cluster.