Skip to content

Instantly share code, notes, and snippets.

@damionjunk
Last active December 17, 2015 13:19
Show Gist options
  • Save damionjunk/5616174 to your computer and use it in GitHub Desktop.
Save damionjunk/5616174 to your computer and use it in GitHub Desktop.
JGroups TCPPING configuration for two nodes, 'ip.address.node.1', and 'ip.address.node.2'. Obviously, replace those strings with the IP addresses of the two AWS nodes.
<subsystem xmlns="urn:jboss:domain:jgroups:1.1" default-stack="tcp">
<stack name="tcp">
<transport type="TCP" socket-binding="jgroups-tcp"/>
<protocol type="TCPPING">
<property name="timeout">30000</property>
<property name="initial_hosts">ip.address.node.1[7600],ip.address.node.2[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