2 Replies Latest reply on Jan 26, 2010 3:56 PM by brian.stansberry

    Two clusters on the same Linux server

    ejb3workshop

      I would like to run two independent clusters on the same Redhat Linux Server. I have unzipped the Jboss (4.2.3) distribution into two separate directories (/apps/Cluster/T1 and /apps/Cluster/T2), however during startup they still seem to be communicating.

       

      Startup Commands

      ./run.sh -c all -b 192.168.2.41 -u 233.0.0.166 -g ClusterOne -Djboss.bind.address=192.168.2.41

      ./run.sh -c all -b 192.168.2.56 -u 233.0.0.173 -g ClusterTwo -Djboss.bind.address=192.168.2.56

       

      Messages reported during startup

       

      12:53:47,721 WARN  [UDP] discarded message from different group "ClusterTwo-SFSBCache" (our group is "ClusterOne-SFSBCache"). Sender was 192.168.2.56:58630

      12:53:49,738 WARN  [UDP] discarded message from different group "ClusterTwo-EntityCache" (our group is "ClusterOne-EntityCache"). Sender was 192.168.2.56:37419

      12:54:09,753 WARN  [UDP] discarded message from different group "Tomcat-ClusterTwo" (our group is "Tomcat-ClusterOne"). Sender was 192.168.2.56:50439

       

      In my production environment this prevents the JBM postoffice to startup on both clusters. I have also tried running one of the instances on a different server and this did not cause any issues. Also on Windows this worked successfully. I tried both using physical network interfaces (eth0 eth1) as well as alias adaptors (eth0 and eth0:1) with the same result.

      Any suggestions on what else I could try to get this working or why the clusters insist on communicating with each other.