Hi Thomas,
By default, Cellar will use:
- Unicast (UDP): it's always enabled by default
- Multicast (TCP) if you have in the hazelcast.xml:
<multicast enabled="true">...</multicast>
- Static IP address definition. Here you have to use the interfaces (IP
addresses) where the nodes are located.
So if you have nodeA on 192.169.134.2 and nodeB on 192.168.134.3, you
should have the following in the hazelcast.xml:
<tcp-ip enabled="true">
<interface>192.168.134.2</interface>
<interface>192.168.134.3</interface>
</tcp-ip>
NB: you can use regex on the interface.
Regards
JB
On 08/06/2014 11:28 AM, Walzer, Thomas wrote:
Hi everyone,
could anyone please share a working hazelcast.xml for a non-multicast cellar
cluster?
I cannot use multicast and tried to configure tcp. I tried (almost) every
permutation...
I use cellar 2.3.2. The nodes appear in cluster:node-list.
However my cluster:node-ping(s) time out. Networking is fine (I can telnet to
other_node 5701 on each node).
My configuration:
NodeA
<tcp-ip enabled=„true“>
<member>HostnameNodeA</member>
<member>HostnameNodeB</member>
<interface>IPofNodeA<interface>
</tcp-ip>
-----
NodeB
<tcp-ip enabled=„true“>
<member>HostnameNodeA</member>
<member>HostnameNodeB</member>
<interface>IPofNodeB<interface>
</tcp-ip>
multicast is disabled on both nodes, rest is default-config.
I asked here (and not on hazelcast mailinglist) because I assume someone here
did it already (asookazian2?).
Thanks, Thomas.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com