2 Replies Latest reply on Feb 2, 2011 10:04 PM by pferraro

    Jboss Clustering: Migration from Multicask to Unicast

    kakkarj

      Hi All,

       

      We have 5 jboss nodes running in a clustering. The current configuration is based upon multicast.

       

       

      I'd like to add another node to the cluster and this node is on different subnet and hence has different broadcast address, thus it cannot join the cluster as "The Jboss documentation says that to set up the network for cluster "All NICs used for the JBoss cluster should have the same broadcast address"

       

      Could I achieve to join the 6 node if I use unicast? What configuration changes would I require to achieve the goal?

       

      Any help/comments would be much appreciated.

        • 1. Jboss Clustering: Migration from Multicask to Unicast
          wdfink

          Unicast is a one-to one connection between the client and the server. Here it is not possible to detect other (unknown) server exept you scan a list of IP addresses.

          It will be a bigger effort to configure it.

           

          Anyway, I do not know any configuration how to change to unicast.

          I suppose it is not implemented.

          • 2. Jboss Clustering: Migration from Multicask to Unicast
            pferraro

            Why not just switch all nodes to use a tcp-based jgroups stack?  e.g.

            ./bin/run.sh -c all -Djboss.default.jgroups.stack=tcp

             

            Since multicast is not an option, you'll need to manually edit the jgroups configuration and replace MPING with TCPPING and define the cluster members statically.  The relevant file is: $JBOSS_HOME/server/all/deploy/cluster/jgroups-channelfactory.sar/META-INF/jgroups-channelfactory-stacks.xml