KingbaseES V8R6集群运维案例之---repmgrd服务pause状态

案例说明:
KingbaseES V8R6集群repmgrd服务被pause,触发pause的原因分析、

适用版本:
KingbaseES V8R6

一、问题现象
如下图所示,集群节点的repmgrd服务处于pause状态:(正常应该为running)

二、问题分析

1、switchover日志分析

集群在执行‘repmgr standby switchover’时,会有暂停及启动repmgrd服务的操作,如下图所示,switchover 的debug日志:

2、repmgrd服务pause原因
当switchover失败,将导致repmgrd服务暂停后,没有被启动,需要人工参与启动服务,如下图所示:

三、问题解决
如下所示,手工启动repmgrd服务:

[kingbase@node201 bin]$ ./repmgr service unpause
[NOTICE] node 2 (node2) unpaused

[kingbase@node201 bin]$ ./repmgr service status
 ID | Name  | Role    | Status    | Upstream | repmgrd | PID   | Paused? | Upstream last seen
----+-------+---------+-----------+----------+---------+-------+---------+--------------------
 1  | node1 | primary | * running |          | running | 29144 | no      | n/a
 2  | node2 | standby |   running | node1    | running | 19576 | no      | 0 second(s) ago
posted @   天涯客1224  阅读(33)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· DeepSeek 开源周回顾「GitHub 热点速览」
点击右上角即可分享
微信分享提示