Hi Esen, Seems OrientDB servers can't see each other. I suggest you to try if connections are allowed between hosts with CURL.
Lvc@ On 5 January 2015 at 07:19, Esen Sagynov <[email protected]> wrote: > Using ODB 2.0-SNAPSHOT (Jan 5, 2015). > > My nodes in Docker containers on separate physical machines cannot join to > each other. The establish a connection however eventually they refuse > joining because some conditions aren't met. > > The following are logs on Host 2: > > 2015-01-05 06:07:15:691 INFO [172.17.0.3]:2434 [orientdb] [3.3] Accepting > socket connection from /123.123.123.124:55647 [SocketAcceptor] > 2015-01-05 06:07:15:692 INFO [172.17.0.3]:2434 [orientdb] [3.3] > Established socket connection between /172.17.0.3:2434 and /123.123. > 123.124:55647 [TcpIpConnectionManager] > 2015-01-05 06:07:15:694 WARNING [172.17.0.3]:2434 [orientdb] [3.3] Wrong > bind request from Address[172.17.0.12]:2434! This node is not requested > endpoint: Address[123.123.123.124]:2434 [TcpIpConnectionManager] > > Host 1 (123.123.123.123) running ODB in a container 172.17.0.3:2434. > Host 2 (123.123.123.124) running ODB in a container 172.17.0.12:2434. > Host 3 (123.123.123.125) running ODB in a container 172.17.0.10:2434. > > Because docker on each host manages its own bridge each ODB container > doesn't see it directly. This is why in config/hazelcast.xml I specify the > IP of the host machines. > > <tcp-ip enabled="true"> > <member> 123.123.123.123:2434</member> > <member> 123.123.123.124:2434</member> > <member> 123.123.123.125:2434</member> > </tcp-ip> > > All ODB containers expose all 3 ports (2424, 2480, 2434). I can telnet and > ping. However, because each container requests a dynamic docker IP address, > each node cannot join the same cluster because host IP doesn't not match > the actual Docker IP inside the container as shown in the above error log. > > Any solutions for this? > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
