<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div>If you set-up the two pgpool nodes in watch-dog mode then yes, the surviving pgpool node will detect when the other node is stopped (via a heartbeat mechanism).&nbsp;</div><div><br></div><div>In watchdog mode each pgpool node knows about all the others, one of them is elected as primary. The primary pgpool node acquires the VIP (virtual IP aka delegate_ip in pgpool names).&nbsp; So this is really about making pgpool itself highly available, not to be confused with postgres replication.</div><div><br></div><div>The pgpool instances can be on the same servers as postgres or they can be on other servers.</div></div><div><br></div><div>Pierre</div>
            <div><br></div><div><br></div>
            
            <div id="ydp3927c454yahoo_quoted_1291744967" class="ydp3927c454yahoo_quoted">
                <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                    
                    <div>
                        On Tuesday, March 13, 2018, 5:15:29 PM GMT+1, Alexander Dorogensky &lt;amazinglifetime@gmail.com&gt; wrote:
                    </div>
                    <div><br></div>
                    <div><br></div>
                    <div><div id="ydp3927c454yiv4548600200"><div dir="ltr"><div class="ydp3927c454yiv4548600200gmail_default" style="font-family:courier new, monospace;">Hi,</div><div class="ydp3927c454yiv4548600200gmail_default" style="font-family:courier new, monospace;"><br></div><div class="ydp3927c454yiv4548600200gmail_default" style="font-family:courier new, monospace;">I have a&nbsp;<span style="color:rgb(34,34,34);font-size:small;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-color:initial;float:none;display:inline;">primary/standby</span> configuration with streaming replication.</div><div class="ydp3927c454yiv4548600200gmail_default" style="font-family:courier new, monospace;">There's two nodes and each node has pgpool.</div><div class="ydp3927c454yiv4548600200gmail_default" style="font-family:courier new, monospace;"><br></div><div class="ydp3927c454yiv4548600200gmail_default" style="font-family:courier new, monospace;">When I kill pgpool on primary, does standby gets notified?</div><div class="ydp3927c454yiv4548600200gmail_default" style="font-family:courier new, monospace;"><br></div><div class="ydp3927c454yiv4548600200gmail_default" style="font-family:courier new, monospace;">This is not a failover scenario and the failover script doesn't get executed.</div></div></div>_______________________________________________<br>pgpool-general mailing list<br><a href="mailto:pgpool-general@pgpool.net" rel="nofollow" target="_blank">pgpool-general@pgpool.net</a><br><a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" rel="nofollow" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br></div>
                </div>
            </div></div></body></html>