<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Thanks a lot, very usefull and detailed manual. My config (at least at this moment) is simplier - I have only one instance of pgpool and 1 master and 1 standby.</div><div dir="ltr"><br></div><div dir="ltr">You wrote &quot;pgpool execute the failover_command in case there is a failure of the master or a failure of one of the standby (at least when health checks are used). In the failover script you will usually wants to check (based on the arguments) what to do: if the failing host is the current primary then you would promote the standby otherwise the script does nothing&quot;.</div><div dir="ltr"><br></div><div>Imagine, that stand-by node is failed. If pgpool does nothing -&gt; in this case we haveĀ failed redundancy -&gt; pgpool thinks that we have stand-by node in reserve -&gt; however stand-by node is down and there is no reserve.</div><div><br></div><div>So, maybe, the best way will be use such tools as Zabbix for monitoring and use PgPool only for 2 things:</div><div>1) connection pooling</div><div>2) switching to standby on master failure</div></div></div></div>