BigMemory Max 4.3.1 | Product Documentation | Big Memory Max Configuration Guide | Default Settings for a Distributed Configuration | Terracotta Server Array Properties
 
Terracotta Server Array Properties
A Terracotta cluster is composed of clients and servers. Terracotta properties often use a shorthand notation where a client is referred to as "l1" and a server as "l2".
These properties are set at the top of tc-config.xml using a configuration block similar to the following:
<tc-properties>
<property name="l2.nha.tcgroupcomm.reconnect.enabled" value="true" />
<!-- More properties here. -->
</tc-properties>
See the BigMemory Max Administrator Guide for more information on the Terracotta Server Array.
Reconnection and Logging Properties
The following reconnection properties are shown with default values. These properties can be set to custom values using Terracotta configuration properties (<tc-properties>/<property> elements in tc-config.xml).
Property
Default Value
Notes
l2.nha.tcgroupcomm
.reconnect.enabled
true
Enables server-to-server reconnections.
l2.nha.tcgroupcomm
.reconnect.timeout
5000ms
l2-l2 reconnection timeout.
l2.l1reconnect.enabled
true
Enables an l1 to reconnect to servers.
l2.l1reconnect.timeout
.millis
5000ms
The reconnection time out, after which an l1 disconnects.
tc.config.getFromSource
.timeout
30000ms
Timeout for getting configuration from a source. For example, this controls how long a client can try to access configuration from a server. If the client fails to do so, it will fail to connect to the cluster.
logging.maxBackups
20
Upper limit for number of backups of Terracotta log files.
logging.maxLogFileSize
512MB
Maximum size of Terracotta log files before rolling logging starts.
HealthChecker Tolerances
The following properties control disconnection tolerances between Terracotta servers (l2 <-> l2), Terracotta servers and Terracotta clients (l2 -> l1), and Terracotta clients and Terracotta servers (l1 -> l2).
l2<->l2 GC tolerance : 40 secs, cable pull/network down tolerance : 10secs
l2.healthcheck.l2.ping.enabled = true
l2.healthcheck.l2.ping.idletime = 5000
l2.healthcheck.l2.ping.interval = 1000
l2.healthcheck.l2.ping.probes = 3
l2.healthcheck.l2.socketConnect = true
l2.healthcheck.l2.socketConnectTimeout = 5
l2.healthcheck.l2.socketConnectCount = 10
l2->l1 GC tolerance : 40 secs, cable pull/network down tolerance : 10secs
l2.healthcheck.l1.ping.enabled = true
l2.healthcheck.l1.ping.idletime = 5000
l2.healthcheck.l1.ping.interval = 1000
l2.healthcheck.l1.ping.probes = 3
l2.healthcheck.l1.socketConnect = true
l2.healthcheck.l1.socketConnectTimeout = 5
l2.healthcheck.l1.socketConnectCount = 10
l1->l1 GC tolerance : 50 secs, cable pull/network down tolerance : 10secs
l1.healthcheck.l2.ping.enabled = true
l1.healthcheck.l2.ping.idletime = 5000
l1.healthcheck.l2.ping.interval = 1000
l1.healthcheck.l2.ping.probes = 3
l1.healthcheck.l2.socketConnect = true
l1.healthcheck.l2.socketConnectTimeout = 5
l1.healthcheck.l2.socketConnectCount = 13

Copyright © 2010 - 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.