
[root@pg1 ~]# pcs status --full
Cluster name: cluster_pg01
Stack: corosync
Current DC: pg3 (3) (version 1.1.21-4.el7-f14e36fd43) - partition with quorum
Last updated: Thu Mar 10 18:58:17 2022
Last change: Thu Mar 10 18:58:14 2022 by hacluster via crmd on pg1
3 nodes configured
5 resources configured
Online: [ pg1 (1) pg2 (2) pg3 (3) ]
Full list of resources:
vipm (ocf::heartbeat:IPaddr2): Started pg1
vips (ocf::heartbeat:IPaddr2): Started pg3
Master/Slave Set: pgsql-master [pgsql]
pgsql (ocf::heartbeat:pgsql): Slave pg3
pgsql (ocf::heartbeat:pgsql): Master pg1
pgsql (ocf::heartbeat:pgsql): Slave pg2
Masters: [ pg1 ]
Slaves: [ pg2 pg3 ]
Node Attributes:
* Node pg1 (1):
+ master-pgsql : 1000
+ pgsql-data-status : LATEST
+ pgsql-master-baseline : 00000000130000A0
+ pgsql-status : PRI
* Node pg2 (2):
+ master-pgsql : -INFINITY
+ pgsql-data-status : DISCONNECT
+ pgsql-status : HS:alone
* Node pg3 (3):
+ master-pgsql : -INFINITY
+ pgsql-data-status : DISCONNECT
+ pgsql-status : HS:alone
Migration Summary:
* Node pg3 (3):
* Node pg1 (1):
* Node pg2 (2):
Fencing History:
PCSD Status:
pg1: Online
pg2: Online
pg3: Online
Daemon Status:
corosync: active/disabled
pacemaker: active/disabled
pcsd: active/enabled
[root@pg1 ~]#
pgsql-data-status 这个状态一直是disconnect
这个是哪个地方的问题?如何解决