Multicast not working in hazelcast

367 views
Skip to first unread message

puvane...@gmail.com

unread,
Apr 1, 2015, 10:18:39 AM4/1/15
to haze...@googlegroups.com
Hi,

I have two hazelcast instances with same config provided below which are running on two different VMs. These two instance are not forming the cluster using multicast join. I have tried with iperf tool which is connecting properly. I have started the hazelcast instance in one VM and tried to connect with iperf from another vm. This iperf tool is able to connect multicast ip and port. Can you please help me to find out why multicast join is not working in hazelcast.

  • Started hazelcast instance in one VM
  • Command run on another VM
    •    ./iperf –c 226.5.8.148 -p 58941 -u

Config:
<hazelcast
xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.2.xsd"

<group>
<name>poc-local1</name>
<password>poc-local1</password>
</group>

<network>
<port auto-increment="true" port-count="100">5701</port>
<outbound-ports>
<!-- Allowed port range when connecting to other nodes. 0 or * means use 
system provided port. -->
<ports>0</ports>
</outbound-ports>
<join>
<multicast enabled="true">
<!-- add multicast ip here between 224.1.1.0 and 224.1.2.255 for local, 
must be same for all local setting -->
<multicast-group>226.5.8.148</multicast-group>
<!-- add port must be same for all the local settings -->
<multicast-port>58941</multicast-port>
</multicast>
</join>
</network>
</hazelcast>

Jean Luc

unread,
Apr 1, 2015, 8:01:53 PM4/1/15
to haze...@googlegroups.com
Can you post the log?

Note that multicast is only used for discovery. The actual connection is done through TCP so it can be that multicast works, but the subsequent connection doesn't. The log should clarify which is the case.



--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at http://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/5ce49be6-7975-4751-862a-85faa504cf37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages