2 Replies Latest reply on Apr 11, 2014 3:20 AM by francesco.sclano

    How modify jgroups configuration in order to leave TCPPING and start using TCPGOSSIP?

    francesco.sclano

      Hi,

      can you please help me to modify attached jgroups configuration in order to leave TCPPING and start using TCPGOSSIP? Futhermore, how I have to configure and use GOSSIP ROUTER?

       

      Many Thanks

       

      Francesco Sclano

        • 1. Re: How modify jgroups configuration in order to leave TCPPING and start using TCPGOSSIP?
          vbchin2

          You may give this link a try. I have used TCPGOSSIP the past for clustering JBoss AS/EAP servers and it worked there but I am not sure whether it would work in your case.

           

          omment out the TCPPING and copy paste the XML snippet from the documentation. You may choose to get rid of down_thread and up_thread attributes. Also, you may have one one GossipRouter so assuming the GR IP is : 192.168.1.2 below is the sample configuration to use.

           

          <TCPGOSSIP timeout="2000" initial_hosts="192.168.1.2[12000]" num_initial_members="3"/>
          

           

          Now you need to start the GossipRouter on IP: 192.168.1.2 (for example) and on port 12000. If you do not have a binary for JGroups, you can get one from here. Once you have it, run the following command (assuming you are running it in the same folder as the jar file)

           

          java -cp jgroups-3.2.13.Final.jar org.jgroups.stack.GossipRouter -port 12000 -bindaddress 192.168.1.2
          

           

          Let me know how it goes!

          • 2. Re: How modify jgroups configuration in order to leave TCPPING and start using TCPGOSSIP?
            francesco.sclano

            Thank you very much for your support.

            Currently I'm busy with other tasks, anyway I'll give you a feedback asap.

            Thanks again.