simple galera cluster setup problem

588 views
Skip to first unread message

l vic

unread,
May 3, 2016, 1:37:13 PM5/3/16
to codership
I am trying to setup simple 3-node cluster (10.10.10.10, 10.10.10.11, 10.10.10.12) using the article below:
http://galeracluster.com/2015/05/getting-started-galera-with-docker-part-2-2/
When i try to start 3-rd node in cluster (10.10.10.12) i see the following errors:
2016-05-03 17:07:07 1 [ERROR] WSREP: failed to open gcomm backend connection: 110: failed to reach primary view: 110 (Connection timed out)
     at gcomm/src/pc.cpp:connect():162
2016-05-03 17:07:07 1 [ERROR] WSREP: gcs/src/gcs_core.cpp:gcs_core_open():208: Failed to open backend connection: -110 (Connection timed out)
2016-05-03 17:07:07 1 [ERROR] WSREP: gcs/src/gcs.cpp:gcs_open():1379: Failed to open channel 'my_wsrep_cluster' at 'gcomm://10.10.10.10': -110 (Connection timed out)
2016-05-03 17:07:07 1 [ERROR] WSREP: gcs connect failed: Connection timed out
2016-05-03 17:07:07 1 [ERROR] WSREP: wsrep::connect(gcomm://10.10.10.10) failed: 7
2016-05-03 17:07:07 1 [ERROR] Aborting

2016-05-03 17:07:07 1 [Note] WSREP: Service disconnected.
2016-05-03 17:07:08 1 [Note] WSREP: Some threads may fail to exit.
2016-05-03 17:07:08 1 [Note] Binlog end
2016-05-03 17:07:08 1 [Note] mysqld: Shutdown complete
Seems like the third node fails to connect to primary node ( 10.10.10.10) but why?
Any ideas? Thanks...

Philip Stoev

unread,
May 3, 2016, 2:32:03 PM5/3/16
to l vic, codership
Hello,

Please check that SELinux is disabled and that there is no firewall that is
blocking connections between the nodes.

Philip Stoev
--
You received this message because you are subscribed to the Google Groups
"codership" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to codership-tea...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

l vic

unread,
May 3, 2016, 2:40:36 PM5/3/16
to codership, lvic...@gmail.com
SeLinux disabled, so is firewall

Philip Stoev

unread,
May 3, 2016, 3:01:42 PM5/3/16
to l vic, codership, lvic...@gmail.com
What docker command lines are you using?

l vic

unread,
May 3, 2016, 3:48:16 PM5/3/16
to codership, lvic...@gmail.com
docker run -d -p 3306:3306 -p 4567:4567 -p 4444:4444 -p 4568:4568 --name nodec galera:erkules --wsrep-cluster-address=gcomm://10.10.10.10 --wsrep-node-address=10.10.10.12

l vic

unread,
May 3, 2016, 3:49:03 PM5/3/16
to codership
docker run -p 3306:3306 -p 4567:4567 -p 4444:4444 -p 4568:4568 --name nodec galera:erkules --wsrep-cluster-address=gcomm://10.10.10.10 --wsrep-node-address=10.10.10.12
Reply all
Reply to author
Forward
0 new messages