1 Reply Latest reply on Apr 2, 2014 2:30 AM by rhusar

    Clustering in JBOSS AS 7 using TCP unicast

    lavin.korukanti

      Hello Folks,

       

      I am new to this JBOSS World and trying to setup a cluster in JBOSS EAP 6.1 which has the JBOSS AS7 , my requirement is as below

       

       

      Node 1                     Node 2

       

      Server 1                 Server 1

       

      Server 2                  Server 2

       

      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 ,

      I am unable to find a proper documentation for the same , Can you please guide me on this , if it not possible with the unicast , we are also fine with the multi-cast

       

      Can you please guide me on this

       

      Regards

        • 1. Re: Clustering in JBOSS AS 7 using TCP unicast
          rhusar

          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>