7.2. Activating TCP default configuration files

As of 4.1, UDP is the default protocol. However, there are still TCP configuration files that are packaged in platform-extension-config.jar!/conf/platform/jgroups.

The files contain externalized variable names and default values for TCP. In case you want to use TCP instead of UDP, it is recommended that you activate those files and, if you need to, change the default settings via exo.properties. See Configuration overview for the exo.properties file.

Note that by activating this profile, you use TCP for both JCR and IDM. It is possible to activate TCP default configuration for either JCR or IDM:

When switching to use TCP instead of UDP, you need to add some properties in exo.properties:

# Assume node1 is 192.168.1.100 and node2 is 192.168.1.101. Here is configuration for node1:

exo.jcr.cluster.jgroups.tcp.bind_addr=192.168.1.100
exo.jcr.cluster.jgroups.tcpping.initial_hosts=192.168.1.100[7800],192.168.1.101[7800]

exo.idm.cluster.jgroups.tcp.bind_addr=192.168.1.100
exo.idm.cluster.jgroups.tcpping.initial_hosts=192.168.1.100[7900],192.168.1.101[7900]
Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus