Last active
December 17, 2015 10:29
-
-
Save damionjunk/5595234 to your computer and use it in GitHub Desktop.
Working Immutant/Torquebox JGroups subsystem configuration for cluster node discovery.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<subsystem xmlns="urn:jboss:domain:jgroups:1.1" default-stack="tcp"> | |
<stack name="tcp"> | |
<transport type="TCP" socket-binding="jgroups-tcp"/> | |
<!-- Use S3_Ping because we need to discover the IPs of | |
the other nodes, and AWS doesn't have multicast. --> | |
<protocol type="S3_PING"> | |
<!-- This user works --> | |
<property name="secret_access_key"></property> | |
<property name="access_key"></property> | |
<!-- Access for this user does not seem to work --> | |
<!-- <property name="secret_access_key"></property> --> | |
<!-- <property name="access_key"></property> --> | |
<property name="location"></property> | |
</protocol> | |
<!-- <protocol type="TCPPING"> --> | |
<!-- <property name="timeout">30000</property> --> | |
<!-- <property name="initial_hosts">10.34.238.78[7600],10.245.110.71[7600]</property> --> | |
<!-- </protocol> --> | |
<protocol type="MERGE2"/> | |
<protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/> | |
<protocol type="FD"/> | |
<protocol type="VERIFY_SUSPECT"/> | |
<protocol type="BARRIER"/> | |
<protocol type="pbcast.NAKACK2"/> | |
<protocol type="UNICAST2"/> | |
<protocol type="pbcast.STABLE"/> | |
<protocol type="pbcast.GMS"/> | |
<protocol type="UFC"/> | |
<protocol type="MFC"/> | |
<protocol type="FRAG2"/> | |
<protocol type="RSVP"/> | |
</stack> | |
</subsystem> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment