-
1. Re: Runtime Parameters for UDP Clustering
rhusar Jul 2, 2013 8:20 AM (in response to janus1822)UDP is the default stack, you can find parameters to tune on the JGroups wiki
http://www.jgroups.org/manual-3.x/html/protlist.html#UDP
(Note that you have to use AS7 specific xml configuration.)
-
2. Re: Runtime Parameters for UDP Clustering
erasmomarciano Jul 2, 2013 8:34 AM (in response to janus1822)Hi
You check domain.xml or standalone-full-ha.xml
you will find
<subsystem xmlns="urn:jboss:domain:jgroups:1.1" default-stack="udp">
<stack name="udp">
<transport type="UDP" socket-binding="jgroups-udp"/>
<protocol type="PING"/>
<protocol type="MERGE2"/>
<protocol type="FD_SOCK" socket-binding="jgroups-udp-fd"/>
<protocol type="FD"/>
<protocol type="VERIFY_SUSPECT"/>
<protocol type="BARRIER"/>
<protocol type="pbcast.NAKACK"/>
<protocol type="UNICAST2"/>
<protocol type="pbcast.STABLE"/>
<protocol type="pbcast.GMS"/>
<protocol type="UFC"/>
<protocol type="MFC"/>
<protocol type="FRAG2"/>
<protocol type="RSVP"/>
</stack>
<stack name="tcp">
<transport type="TCP" socket-binding="jgroups-tcp"/>
<protocol type="MPING" socket-binding="jgroups-mping"/>
<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.NAKACK"/>
<protocol type="UNICAST2"/>
<protocol type="pbcast.STABLE"/>
<protocol type="pbcast.GMS"/>
<protocol type="UFC"/>
<protocol type="MFC"/>
<protocol type="FRAG2"/>
<protocol type="RSVP"/>
</stack>
-
3. Re: Runtime Parameters for UDP Clustering
pdegave Aug 19, 2013 8:23 AM (in response to janus1822)Jboss by default use udp
A) For Udp make use of following :
<stack name="udp">
<transport type="UDP" socket-binding="jgroups-udp"/>
<protocol type="PING"/>
<protocol type="MERGE3"/>
<protocol type="FD_SOCK" socket-binding="jgroups-udp-fd"/>
<protocol type="FD"/>
<protocol type="VERIFY_SUSPECT"/>
<protocol type="pbcast.NAKACK"/>
<protocol type="UNICAST2"/>
<protocol type="pbcast.STABLE"/>
<protocol type="pbcast.GMS"/>
<protocol type="UFC"/>
<protocol type="MFC"/>
<protocol type="FRAG2"/>
<protocol type="RSVP"/>
</stack>
B) For tcp make use of following : If u want to use TCP then make default stack change to <subsystem xmlns="urn:jboss:domain:jgroups:1.1" default-stack="udp"> to <subsystem xmlns="urn:jboss:domain:jgroups:1.1" default-stack="tcp">
<stack name="tcp">
<transport type="TCP" socket-binding="jgroups-tcp" diagnostics-socket-binding="jgroups-diagnostics"/>
<protocol type="TCPPING">
<property name="initial_hosts">10.10.10.10[7600],10.10.10.10[7600]</property>
<property name="num_initial_members">2</property>
<property name="port_range">0</property>
<property name="timeout">2000</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.NAKACK"/>
<protocol type="UNICAST2"/>
<protocol type="pbcast.STABLE"/>
<protocol type="pbcast.GMS"/>
<protocol type="UFC"/>
<protocol type="MFC"/>
<protocol type="FRAG2"/>
</stack>
-
4. Re: Runtime Parameters for UDP Clustering
nazia24 Sep 16, 2013 3:15 AM (in response to janus1822)Hi Senthil,
you can specify the runtime parameter for udp clustering as
./standalone.sh -c standalone-ha.xml -Djboss.default.multicast.address=234.x.x.x
or
./standalone.sh -c standalone-ha.xml -u 10.10.10.10
-u <value>, -u=<value> Set system property jboss.default.multicast.address to the given value