Multicast not being processed
sdyarnell Mar 28, 2014 10:19 AMI 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:
<socket-binding name="modcluster" port="0" multicast-address="224.0.1.105" multicast-port="23364"/>
Subsystem:
<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.
105:23364
Also, netstat -ano shows this:
UDP 0.0.0.0:23364 *:* 1028
Here is my http.conf section:
<IfModule manager_module>
Listen 134.86.108.244:6666
ManagerBalancerName mycluster
<VirtualHost 134.86.108.244:6666>
<Location />
Order deny,allow
Allow from all
</Location>
KeepAliveTimeout 300
MaxKeepAliveRequests 0
ServerAdvertise On
AdvertiseFrequency 5
#AdvertiseSecurityKey secret
AdvertiseGroup 224.0.1.105:23364
EnableMCPMReceive
<Location /mod_cluster_manager>
SetHandler mod_cluster-manager
Order deny,allow
Allow from all
</Location>
</VirtualHost>
</IfModule>
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.
SDY
-
capture.pcapng.zip 832 bytes
-
standalone-ha.xml 19.3 KB
-
httpd.conf.zip 6.2 KB