Child pages
  • Clustered Servoy Application Servers on the Same Machine
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

When running multiple clustered Servoy Application Servers on the same machine, a couple of additional configuration steps are required.

Why run multiple clustered Servoy Application Servers on the same machine

Logically, is does not make sense to run multiple clustered Servoy Application Servers on the same machine, as the the goal of clustering is load balancing, scalability and failover. The only valid reason for doing so is testing purposes.

Even when not running Servoy Cluster, there are a few things to take into consideration. See Running multiple Servoy Application Servers on the same machine

Additionally, for clustered Servoy Application Servers running on the same machine, the following needs to be configured:

  • For each Servoy Application Server instance edit the start_servoy_clustered.* file located in <servoy>/application_server/terracotta: provide an unique node name for each server by adding "-Dtc.node-name=xxxxx" after "-Dtc.config=terracotta\tc-config.xml" (replace xxxxx by the unique name)
  • For each Servoy Application Server instance edit the tc-config.xml file located in <servoy>/application_server/terracotta: change the line "<logs>%(user.home)/terracotta/client-logs</logs>" to "<logs>%(user.home)/terracotta/client-logs/%(tc.node-name)</logs>"
  • No labels