Hello Team,
I am new to PG and PGPOOL. we have a production environment in which recently while doing DR drill activity , pgpool failover has been triggered. What I see from the logs is during health check for node 0 from node 1 it failed and subsequently raised failover request. Now which password it uses? pgpool.conf and pool_passwd has same password for pgpool user.
Below is the log snippet from server2
Aug 28 01:36:51 kpgpgsdbdr02 pgpool[106683]: [19-1] 2024-08-28 01:36:51: pid 106683: ERROR: failed to authenticate
Aug 28 01:36:51 kpgpgsdbdr02 pgpool[106683]: [19-2] 2024-08-28 01:36:51: pid 106683: DETAIL: invalid authentication message response type, Expecting ‘R’ and received ‘E’
Aug 28 01:36:51 kpgpgsdbdr02 pgpool[106683]: [20-1] 2024-08-28 01:36:51: pid 106683: LOG: health check failed on node 0 (timeout:0)
Aug 28 01:36:51 kpgpgsdbdr02 pgpool[106683]: [21-1] 2024-08-28 01:36:51: pid 106683: LOG: received degenerate backend request for node_id: 0 from pid [106683]
Aug 28 01:36:51 kpgpgsdbdr02 pgpool[104529]: [26-1] 2024-08-28 01:36:51: pid 104529: LOG: failover request from local pgpool-II node received on IPC interface is forwarded to master watchdog node “kpgpgpdbdr02:5432 Linux kpgpgpdbdr02”
Aug 28 01:36:51 kpgpgsdbdr02 pgpool[104529]: [26-2] 2024-08-28 01:36:51: pid 104529: DETAIL: waiting for the reply…
Aug 28 01:36:51 kpgpgsdbdr02 pgpool[106683]: [22-1] 2024-08-28 01:36:51: pid 106683: LOG: degenerate backend request for 1 node(s) from pid [106683], will be handled by watchdog
could you please help me with which password it is using and where is it?