4 Replies Latest reply on Mar 18, 2010 4:57 PM by parmodmehta

    Jgroups configuration

      If you have 2 jboss instances runing on two seperate machines e.g 100.2.2.1 and 100.2.3.1. how do you configure jgroups for jboss cache? thanks
        • 1. Re: Jgroups configuration

          Basically the problem is I have 4 instances of JBoss running on 4 different machines e.g. 100.1.1.1, 100.1.1.2, 100.1.1.3, and 100.1.1.4. When the application loads all I see on 4 servers.

           

          Received new cluster view: [192.168.2.2:58456|0] [192.168.2.2:58456]

           

          This suggest individual instances have not discovered each other. Before I ask sysadmins if the multicast is configured is there anything else I am missing. Here is udp snippet I am using for node discovery

           

          mcast_addr="${jgroups.udp.mcast_addr:228.10.10.10}"
          mcast_port="${jgroups.udp.mcast_port:45588}"

           

          thanks

          • 2. Re: Jgroups configuration

            I ran multicast tests suggested in section 2.8 http://www.jgroups.org/manual/html/ch02.html and found no problems. I was able to see messages on the sender and receiver.

             

            Any ideas?

             

            thanks

            • 3. Re: Jgroups configuration

              One thing I noticed when I started the servers

               

              GMS: address is 127.0.0.1:52552

               

              Does this means servers are not configured to form a cluster?

               

              thanks

              • 4. Re: Jgroups configuration

                So my question boils down to: can cache replication works outside the jboss cluster? Is it mandatory to have jboss cluster for jboss replication to work?

                 

                thanks