Child pages
  • Clustered Servoy Application Servers on the Same Machine

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Note
titleWhy 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.

See Running multiple Servoy Application Servers on the same machine for the standard steps to take when running multiple Servoy Application Servers on one 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>"