设置mariadb-galera群集时,gcomm连接超时错误

时间:2019-05-22 10:53:15

标签: installation mariadb galera

在安装mariadb / galera时,由于gcomm连接超时错误,我无法建立群集连接。 另外我还看到gvwstate.dat文件没有被创建。

May 22 11:00:45 seliius20664.seli.gic.ericsson.se mysqld[28769]: at gcomm/src/gcomm/types.hpp:String():30
May 22 11:00:46 seliius20664.seli.gic.ericsson.se mysqld[28769]: 2019-05-22 11:00:46 0 [Note] WSREP: view((empty))
May 22 11:00:46 seliius20664.seli.gic.ericsson.se mysqld[28769]: 2019-05-22 11:00:46 0 [ERROR] WSREP: failed to open gcomm backend connection: 110: failed to reach primary view: 110 (Connection timed out)
May 22 11:00:46 seliius20664.seli.gic.ericsson.se mysqld[28769]: at gcomm/src/pc.cpp:connect():158
May 22 11:00:46 seliius20664.seli.gic.ericsson.se mysqld[28769]: 2019-05-22 11:00:46 0 [ERROR] WSREP: gcs/src/gcs_core.cpp:gcs_core_open():209: Failed to open backend connection: -110 (Connection timed out)
May 22 11:00:46 seliius20664.seli.gic.ericsson.se mysqld[28769]: 2019-05-22 11:00:46 0 [ERROR] WSREP: gcs/src/gcs.cpp:gcs_open():1458: Failed to open channel 'itinframonitoring_production_test' at 'gcomm://seliius20663,seliius20664,seliius20662': -110 (Connection timed out)
May 22 11:00:46 seliius20664.seli.gic.ericsson.se mysqld[28769]: 2019-05-22 11:00:46 0 [ERROR] WSREP: gcs connect failed: Connection timed out
May 22 11:00:46 seliius20664.seli.gic.ericsson.se mysqld[28769]: 2019-05-22 11:00:46 0 [ERROR] WSREP: wsrep::connect(gcomm://seliius20663,seliius20664,seliius20662) failed: 7
May 22 11:00:46 seliius20664.seli.gic.ericsson.se mysqld[28769]: 2019-05-22 11:00:46 0 [ERROR] Aborting
[root@seliius20664 erriamp]# cd /var/lib/mysql/
[root@seliius20664 mysql]# clear

[root@seliius20664 mysql]# ls
aria_log.00000001  galera.cache  ib_buffer_pool  ib_logfile1  multi-master.info  mysql.sock          test
aria_log_control   grastate.dat  ib_logfile0     ibdata1      mysql              performance_schema
[root@seliius20664 mysql]#

1 个答案:

答案 0 :(得分:0)

尝试

https://stackoverflow.com/a/39997953

请参阅示例MariaDB群集以了解用法,该示例使用自定义MariaDB映像,并且是创建群集的概念证明