<div dir="ltr"><div><div><div><div><div><div><div>Hi guys!<br><br></div>I am confused about the procedures to recover a node. <br><br><a href="https://www.pgpool.net/docs/latest/en/html/runtime-online-recovery.html">https://www.pgpool.net/docs/latest/en/html/runtime-online-recovery.html</a><br><br></div>It is triggered by manually sending `pcp_recovery` on the current master server to the current master pgpool. I totally understand that the first stage is to evoke the postgres replication process to copy data from the current master to the new replica. <br><br></div>But here are 2 questions: <br><br></div>1) Since the 2nd step requires there is no real client (aside from other pgpool's healthcheck ones) , is it possible to start the 2nd stage? especially for snapshot mode<br><br>
<span style="color:rgb(0,0,255)"><b>Note: </b> There is a restriction in the online recovery in
<a href="https://www.pgpool.net/docs/latest/en/html/runtime-config-running-mode.html#GUC-REPLICATION-MODE">native replication mode</a>. <span style="color:rgb(255,0,0)">If
<span class="gmail-PRODUCTNAME">Pgpool-II</span> itself is installed
on multiple hosts, online recovery does not work correctly</span>,
because <span class="gmail-PRODUCTNAME">Pgpool-II</span> has to stop all
the clients during the 2nd stage of online recovery.
If there are several <span class="gmail-PRODUCTNAME">Pgpool-II</span> hosts,
only one of them will have received the online recovery command and will
block the connections from clients.</span><br><br></div>2) After the 2nd stage, pgpool goes to pgpool_remote_start scripts to finish the recovery procedures. But
pgpool_remote_start only starts the postgres on the replica server, while it does not do anything to the pgpool on that server at all. <br><br>How to start the pgpool server? Just start it or take some registration procedure to let the master pgpool welcome it into the whole pgpools' cluster?<br><br></div>Thanks in advance,<br></div> Zhaoxun<br><div><div><div><div><br></div></div></div></div></div>