I’m trying to set up a cluster of two nodes on two different servers.
the default definition of multicast doesn’t seem to work - as I try to run one node ‘odb1’ on first server and ‘odb2’ on another server , and I don’t see in the logs that the cluster is contained of two nodes - I mean, on each server there’s a different cluster of one node.
I also tried to manually set the IPs - so on each server, the hazelcast network section looks like this :
<network> <port auto-increment="true">2434</port> <join> <multicast enabled="false"> <multicast-group>22.214.171.124</multicast-group> <multicast-port>2434</multicast-port> </multicast> <tcp-ip enabled="true"> <member>localhost:2434</member> <member>10.55.137.87:2434</member> </tcp-ip> </join> </network>
on each server, I put the IP of the other server as the second member.
and I run it using “docker-compose up odb1” on server1 and "docker-compose on server2.
but I get the same result - two different clusters of one node are running on each server.
I see this message in the log:
nnectionManager] odb1_1 | 2020-07-06 14:49:01:178 INFO [172.22.0.2]:2434 [orientdb] [3.10.6] Connection[id=14, /172.22.0.2:2434->/10.55.137.87:48692, endpoint=null, alive=false, type=MEMBER] closed. Reason: Wrong bind request from [172.18.0.2]:2434! This node is not the requested endpoint: [10.55.136.177]:2434 [TcpIpConnection]
what am I doing wrong here?