<br><br><div class="gmail_quote">On Mon, Apr 30, 2012 at 5:00 AM, Greg Williamson <span dir="ltr"><<a href="mailto:gwilliamson39@yahoo.com" target="_blank">gwilliamson39@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
</div>There is no automatic switchover as far as I know in the streaming replication -- you have to have identify that there is a failure and intervene; the switch of a server from standby mode to active is quite fast in and of itself. Making outside systems award of the new server is trickier -- perhaps having a VIP which is the connection point to the outside world, then swap what the VIP points to when you failover to the backup server.<br>
</blockquote><div><br></div><div>A shared-IP & Pacemaker/etc is one option.</div><div><br></div><div>PgBouncer provides a connection pool across a set of replicas and deals with simple health checks - it's straightforward to setup</div>
<div><br></div><div>Rob :)</div></div>