-
1. Re: Multiple Clusters on the same network
rhusar Nov 20, 2012 12:09 PM (in response to mandarbk)Not sure how HornetQ is handling this, but judging from AS7 clustering view point: did you specify different UDP groups (or ports) for the clusters?
-
2. Re: Multiple Clusters on the same network
mandarbk Nov 21, 2012 1:59 AM (in response to rhusar)I was able to resolve the problem, by making sure that every cluster has a unique value for [broadcast-group -- group-address] and [discovery-group -- group-address]
<broadcast-groups>
<broadcast-group name="bg-config">
<local-bind-port>9877</local-bind-port>
<group-address>224.1.22.1</group-address>
<group-port>9876</group-port>
<broadcast-period>5000</broadcast-period>
<connector-ref>
netty
</connector-ref>
</broadcast-group>
</broadcast-groups>
<discovery-groups>
<discovery-group name="dg-config">
<group-address>224.1.22.1</group-address>
<group-port>9876</group-port>
<refresh-timeout>10000</refresh-timeout>
</discovery-group>
</discovery-groups>
<cluster-connections>
<cluster-connection name="config-cluster">
<address>jms</address>
<connector-ref>netty</connector-ref>
<forward-when-no-consumers>true</forward-when-no-consumers>
<max-hops>1</max-hops>
<discovery-group-ref discovery-group-name="dg-config"/>
</cluster-connection>
</cluster-connections>