This content has been marked as final.
Show 1 reply
-
1. Re: Clustering in JBOSS AS 7 using TCP unicast
rhusar Apr 2, 2014 2:30 AM (in response to lavin.korukanti)I am new to this JBOSS World
Welcome and enjoy the ride.
and trying to setup a cluster in JBOSS EAP 6.1 which has the JBOSS AS7 , my requirement is as below
You cannot combine different versions within one cluster if that is what you mean. You can combine them in a domain which is about management, i.e. you can manage different server versions from the domain.
now i need to cluster server 1 on Node 1 with the Server 1 on Node2 & server 2 on Node 1 with the Server 2 on Node2 using TCP unicast ,
Switch the default stack from udp to tcp (note that the tcp stack still uses udp multicasting for node discovery):
<subsystem xmlns="urn:jboss:domain:jgroups:2.0" default-stack="tcp"> <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_ALL"/> <protocol type="VERIFY_SUSPECT"/> <protocol type="pbcast.NAKACK2"/> <protocol type="UNICAST3"/> <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="pbcast.NAKACK2"/> <protocol type="UNICAST3"/> <protocol type="pbcast.STABLE"/> <protocol type="pbcast.GMS"/> <protocol type="MFC"/> <protocol type="FRAG2"/> <protocol type="RSVP"/> </stack> </subsystem>