6.4. OLAT Cluster Properties

# server port must be the one visible to the outside - usually 80
server.port=80

# server.port.ssl must is usually 443
server.port.ssl=443

# this must definitely be true in cluster mode
server.modjk.enabled=true

# the jvmRoute must match what you configure in the worker.properties
server.modjk.jvmRoute=tomcatolat01

# the internal http port is used for directly connecting to tomcat, bypassing apache
server.internal.http.port=8081


# make sure to have a db running on a host reachable by all olat nodes
db.host=

#
# more specific cluster properties
#
# cluster.mode must be set to Cluster 
cluster.mode=Cluster

# select one node in your cluster where you enable singleton services, disable it on all others
cluster.singleton.services=disabled|enabled

# used for stopping tomcat
cluster.catalinaport=8015

# the ajpport port must match the one you configure in worker.properties
cluster.ajpport=8019

# when in cluster mode every node needs an unique integer between (1-64), first node has to be node "1".
node.id=1

# jms broker url for the eventbus
jms.broker.url=failover:(tcp://activemq.host.name:61616?wireFormat.maxInactivityDuration=30000)


# the treecache.xml file name - used for Cacher
treecache.xml.file=treecache.xml

# the multicast port used by jboss treecache
multicast.port=41414