pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: CS DBA <cs_dba@consistentstate.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: D.R. Site Failover (Streaming Replication) - user access / network options
Date: Tue, 8 Mar 2016 09:48:46 -0700
Message-ID: <56DF026E.6010401@consistentstate.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Hi All;

We are assisting a client with an Oracle to PostgreSQL conversion. They 
did not have any replication with Oracle due to the version they ran, 
however moving to PostgreSQL they want to setup a local HOT Standby and 
a remote / DR Site standby. Setting up the Standby's is easy enough, 
we've setup standby's multiple times and automated failover lots of 
times as well.  We have in the past leveraged a number of approaches to 
keep a failover seamless to the app. In most DR / remote site cases 
we've recommended that the full stack be replicated so if we completely 
loose a site (or cloud region) then we switch to the secondary site, 
promote the secondary / DR site standby to a master and we're back in 
business.

I do however have a few questions related to this, I'm interested to 
find out what others have done here, in particular how do you go about 
moving end users (assuming a web app is the end user entry point) to 
point seamlessly to the secondary site?  Also how have you all dealt 
with the possible split brain issue (i.e. we fail over, then the primary 
site comes back up and existing/old connections to the old site then 
write to the old master)

Thanks in advance for your feedback....



-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (2+ messages)  latest in thread

Message-ID: <56DF026E.6010401@consistentstate.com>
Permalink:  ../56DF026E.6010401@consistentstate.com/
Also on:    postgresql.org/message-id/56DF026E.6010401@consistentstate.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: cs_dba@consistentstate.com
  Subject: Re: D.R. Site Failover (Streaming Replication) - user access / network options
  In-Reply-To: <56DF026E.6010401@consistentstate.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox