I have 3 machines.
- 172.30.30.57 for Hazelcast management center
- 172.30.30.56 for service number 1 and
- 172.30.30.106 for service number 2
config files for these two services are:
<group>
<name>dev</name>
</group>
<management-center enabled="true">http://172.30.30.57:8080/hazelcast-mancenter-3.12.4</management-center>
<join>
<multicast enabled="false">
<multicast-group>224.2.2.3</multicast-group>
<multicast-port>54327</multicast-port>
</multicast>
<tcp-ip enabled="true">
<interface>172.30.30.106</interface>
<member-list>
<member>172.30.30.56:5701</member>
<member>172.30.30.106:5701</member>
</member-list>
</tcp-ip>
and
<group>
<name>dev</name>
</group>
<management-center enabled="true">http://172.30.30.57:8080/hazelcast-mancenter-3.12.4</management-center>
<join>
<multicast enabled="false">
<multicast-group>224.2.2.3</multicast-group>
<multicast-port>54327</multicast-port>
</multicast>
<tcp-ip enabled="true">
<interface>172.30.30.106</interface>
<member-list>
<member>172.30.30.56:5701</member>
<member>172.30.30.106:5701</member>
</member-list>
</tcp-ip>
The problem is that Hazelcast management center just shows one of them each time and they do not see each other.
how should i change the configs to have a cluster of hazelcast grouped nodes?
<network>
tag around<join>
in your Hazelcast config (not sure if you've omitted it only here for brevity or it's like that in your application as well). – emre