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

opengauss 1.0.0 主备搭建:[GAUSS-51607] : Failed to start instance. Error: Please check the gs_ctl log for failure details.问题处理

原创 姜殿斌 恩墨学院 2020-07-09
5294

在搭建 openGauss-1.0.0-CentOS-64bit主备机群的时候,执行:
gs_install -X /opt/software/openGauss/clusterconfig.xml
【遇到问题】:


[FAILURE] node2.localdomain:
Using omm:dbgrp to install database.
Using installation program path : /opt/gaussdb/app_0bd0ce80
$GAUSSHOME points to /opt/gaussdb/app_0bd0ce80, no need to create symbolic link.
Traceback (most recent call last):
File “/opt/huawei/wisequery/script/local/Install.py”, line 645, in
functionDictg_opts.action
File “/opt/huawei/wisequery/script/local/Install.py”, line 588, in startCluster
dn.start(self.time_out)
File “/opt/huawei/wisequery/script/local/…/gspylib/component/Kernel/Kernel.py”, line 87, in start
+ " Error: Please check the gs_ctl log for "
Exception: [GAUSS-51607] : Failed to start instance. Error: Please check the gs_ctl log for failure details.
【分析问题】:
检查集群状态: gs_om -t status --detail
[ Cluster State ]
cluster_state : Degraded
redistributing : No
current_az : AZ_ALL
[ Datanode State ]

node node_ip instance state | node node_ip instance state

1 node1.localdomain 192.168.0.11 6001 /gaussdb/data/db1 P Primary Normal | 2 node2.localdomain 192.168.0.12 6002 /gaussdb/data/db1 S Standby Need repair(System)

发现node2节点 Need repair
【解决问题】
在node2节点上,执行gs_ctl build -D /gaussdb/data/db1 -b full
再次查看集群状态:
[omm@node1 openGauss]$ gs_om -t status --detail
[ Cluster State ]

cluster_state : Normal
redistributing : No
current_az : AZ_ALL

[ Datanode State ]

node node_ip instance state | node node_ip instance state

1 node1.localdomain 192.168.0.11 6001 /gaussdb/data/db1 P Primary Normal | 2 node2.localdomain 192.168.0.12 6002 /gaussdb/data/db1 S Standby Normal
[omm@node1 openGauss]$
Standby Normal,问题解决。
在此感谢@多米爸比的支持!

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

评论