Advanced: JGroups Cluster Configuration

Joe Hegarty edited this page Apr 26, 2016 · 3 revisions

Overview

By default Orbit leverages JGroups and Infinispan to cluster servers together. The default Orbit configuration uses UDP Multicast based on the cluster name but can be customized where required.

Configuring JGroups

Cloud providers (such as AWS) often do not provide UDP multicast support. In these scenarios TCPPing is one possible alternative if the server addresses (IP or hostname) are known ahead of time.

In order to provide these alternate configurations, it is possible to write a custom JGroups configuration file and add it the the classpath.

classpath:/conf/jgroups.xml

When using maven this will be: src/main/resources/conf/jgroups.xml