<div dir="ltr"><div>Hello Bo,</div><div><br></div><div>Sorry for the late reply, but after doing some testing, this works exactly as we needed. Thanks so much for the feedback!</div><div><br></div><div>Regards,</div><div>Steeve</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 26, 2023 at 12:00 AM Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
If you are using Pgpool-II 4.3 or later, you can use<br>
"dynamic cluster membership" to remove the DOWN node from the cluster<br>
to ensure the cluster has quorum and VIP is available.<br>
<br>
[dynamic cluster membership]<br>
<a href="https://www.pgpool.net/docs/latest/en/html/runtime-watchdog-config.html#CONFIG-WATCHDOG-CLUSTER-MEMBERSHIP" rel="noreferrer" target="_blank">https://www.pgpool.net/docs/latest/en/html/runtime-watchdog-config.html#CONFIG-WATCHDOG-CLUSTER-MEMBERSHIP</a><br>
<br>
However, using the dynamic cluster membership has an associated risk of<br>
causing a split-brain. So it is strongly recommended to carefully review<br>
if the setup requires the dynamic cluster membership and consider using<br>
conservative values for related settings.<br>
<br>
On Tue, 25 Jul 2023 21:35:41 -0600<br>
Steeve Boulanger <<a href="mailto:sboulanger29@gmail.com" target="_blank">sboulanger29@gmail.com</a>> wrote:<br>
<br>
> Greetings,<br>
> <br>
> We recently had a scenario where 2 nodes out of 3 became unavailable, and<br>
> we were left with a single node (Primary). As a result, the delegate IP was<br>
> not assigned to the Leader /Primary node due to loss of quorum (from my<br>
> understanding). Since all our applications are configured to use the<br>
> delegate IP, we experience an unplanned outage.<br>
> <br>
> My question is: is there a way to avoid an outage in this specific case? ie<br>
> only a single node available? Or in other words, is it possible to have<br>
> pgpool assign the delegate IP, even when it doesn't have a quorum?<br>
> <br>
> Regards,<br>
> Steeve<br>
<br>
<br>
-- <br>
Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>><br>
SRA OSS LLC<br>
TEL: 03-5979-2701 FAX: 03-5979-2702<br>
URL: <a href="https://www.sraoss.co.jp/" rel="noreferrer" target="_blank">https://www.sraoss.co.jp/</a><br>
</blockquote></div></div>