暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

万里数据库GreatDB集中式故障诊断:组复制问题处理-5

原创 Dbb 2024-03-01
466

启动失败问题

参数配置问题-2

  • 没有配置 group_replication_local_address 变量

greatdb> start group_replication;
ERROR 3096 (HY000): The START GROUP_REPLICATION command failed as there was an error when initializing the group communication layer.

执行启动命令,同样没有提示关键的错误信息。此时,同样查看错误日志,会发现如下错误信息,其中最关键的是第一行的错误,表示 group_replication_local_address参数没有正确配置。

[ERROR] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Invalid hostname or IP address () assigned to the parameter local_node!'
[ERROR] [MY-011674] [Repl] Plugin group_replication reported: 'Unable to initialize the group communication engine'
[ERROR] [MY-011637] [Repl] Plugin group_replication reported: 'Error on group communication engine initialization'
[Note] [MY-011649] [Repl] Plugin group_replication reported: 'Requesting to leave the group despite of not being a member'
[ERROR] [MY-011718] [Repl] Plugin group_replication reported: 'Error calling group communication interfaces while trying to leave the group'

注意:在组复制集群中,每个节点需要单独配置 group_replication_local_address,该参数为 hostname/ip 和 port 的组合,其中 port 为组复制的端口号,而不是 greatdb 服务进程的端口号。参数的格式为 [ipv6]:port ,或者 ipv4:port 或者 hostname:port。其中,hostname/ip需要能够被集群其它节点正常访问。

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

文章被以下合辑收录

评论