I am trying to get a set up going with mod_cluster (mod_cluster-1.2.6.Final-windows-amd64) as the load balancer on one machine (LBMachine) and 2 JBoss (jboss-as-7.1.1.Final) instances clustered on another machine (JBMachine). I initially set up the clustered with the proxy-list attribute, and everything worked successfully.
I then wanted to set up the load balancer discovery using multicast. I have found Advertize.java which just checks for the multicast packets, and I am receiving the multicast packets on the JBMachine. I also have a wireshark capture that has the multicast packet attached. However, for some reason, JBoss does not seem to be processing the multicast message. I have attached my server configuration and pasted important parts here. Also attached httpd.conf and pasted important parts.
<socket-binding name="modcluster" port="0" multicast-address="184.108.40.206" multicast-port="23364"/>
<subsystem xmlns="urn:jboss:domain:modcluster:1.0"> <mod-cluster-config advertise-socket="modcluster"> <dynamic-load-provider> <load-metric type="busyness"/> </dynamic-load-provider> </mod-cluster-config> </subsystem>
JBoss console when I start JBoss shows this:
08:39:14,950 INFO [org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl] (MSC service thread 1-15) Listening to proxy advertisements on 224.0.1.
Also, netstat -ano shows this:
UDP 0.0.0.0:23364 *:* 1028
Here is my http.conf section:
Allow from all
Allow from all
Obviously I feel everything is set up correctly, which is why I am here. Am I missing anything in the setup? I am leaning this being a bug in JBoss.
Thanks in advance for the help. I am fairly new to JBoss configuring, so if more information is needed, dont hesitate to ask.