备节点:
[omm@opengauss01 ~]$ gs_ctl query -D /opt/huawei/install/data/dn01
[2022-09-29 09:45:08.042][50178][][gs_ctl]: gs_ctl query ,datadir is /opt/huawei/install/data/dn01
HA state:
local_role : Standby
static_connections : 0
db_state : Need repair
detail_information : could not receive data from server, error: Connection reset by peer, remote datanode: (null)
sync_mode : Async
Senders info:
No information
Receiver info:
No information
在主节点查询status,结果如下:
[ Cluster State ]
cluster_state : Unavailable
redistributing : No
current_az : AZ_ALL
[ Datanode State ]
node node_ip port instance state
----------------------------------------------------------------------------------------------------
1 opengauss02 192.168.1.123 26000 6001 /opt/huawei/install/data/dn01 P Normal Normal
2 opengauss01 192.168.1.122 26000 6002 /opt/huawei/install/data/dn01 S Standby Need repair(could)
需要后续提供什么资料,尽管说话。我们是在opengauss3.0上操作,一主一备,实体机两台,CentOS 7.7
内存和CPU都足够
Kun(Winston) Hou,
Database and Computer engineering Professional.
WechatID: beyondfalcon_