阿里云-云小站(无限量代金券发放中)
【腾讯云】云服务器、云数据库、COS、CDN、短信等热卖云产品特惠抢购

MySQL集群在断网后再启动报“Unable to start missing node group”问题处理

130次阅读
没有评论

共计 972 个字符,预计需要花费 3 分钟才能阅读完成。

总所周知,MySQL 集群又名 ndb cluster,而 ndb 就是 network based database 的简称,数据库节点之间依靠网络来通信和保证数据分块间的一致性。今天由于机房交换机损坏,导致集群 4 个数据节点 (复制数为 2) 应用全部关闭。网络恢复后再启动遇到以下问题:
“2016-11-03 16:37:40 [ndbd] INFO — Unable to start missing node group! starting: 0000000000000002 (missing fs for: 0000000000000000)
2016-11-03 16:37:40 [ndbd] INFO — QMGR (Line: 1872) 0x00000002
2016-11-03 16:37:40 [ndbd] INFO — Error handler shutting down system
2016-11-03 16:37:40 [ndbd] INFO — Error handler shutdown completed – exiting
2016-11-03 16:37:41 [ndbd] ALERT — Node 1: Forced node shutdown completed. Occured during startphase 1. Caused by error 2353: ‘Insufficent nodes for system restart(Restart error). Temporary error, restart node’.”

网络搜索了一下,发现问题可能同提交的这个 bug 有关,链接 https://bugs.mysql.com/bug.php?id=22316。

  • system restart fails as you dont start all 4 nodes fast enough…
    With default setting you have 30s for allowing nodes to get in contact with each other.

实际原因为,各个节点之间启动时间差太久,造成集群数据节点数不够而不能启动起来。

最后,使用 xshell 的 To all sessions 功能发送 ndbmtd 命令,同时启动四个节点,正常恢复集群运行。

–EOF–

本文永久更新链接地址:http://www.linuxidc.com/Linux/2017-03/142083.htm

正文完
星哥说事-微信公众号
post-qrcode
 
星锅
版权声明:本站原创文章,由 星锅 2022-01-22发表,共计972字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。
阿里云-最新活动爆款每日限量供应
评论(没有评论)
验证码
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中