pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Kretschmer <akretschmer@spamfence.net>
To: pgsql-general@postgresql.org
Subject: Re: Replication Question
Date: Thu, 28 Jan 2016 18:04:15 +0100
Message-ID: <20160128170415.GA6483@tux> (raw)
In-Reply-To: <CACnhOf+TOnVETH+Qgh=6yCzSrDZDE7D7DMowk2TD+SaB3RQ_ig@mail.gmail.com>
References: <CACnhOf+TOnVETH+Qgh=6yCzSrDZDE7D7DMowk2TD+SaB3RQ_ig@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

Bala Venkat <akpgeek@gmail.com> wrote:

> Hi there -
> 
>            We have a set up where there is One master streaming to 3 Slaves . 
> 2 slaves are in our DR environment. One is the prod environment. 
> 
>           Wanted to make the DR as primary. I know we can make the one of the
> slave in DR to primary. If I want to keep the other slave as slave connecting
> to the new Master DR , is it possible ? or I have to set the whole streaming
> process again in DR ?  Can you please share your experience ?

should be possible, but you have to change the recovery.conf to point
out to the new master, and, of course, the new master should stream the
wals (wal_sender, proper pg_hba.conf and so on).


Andreas
-- 
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°


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



view thread (13+ messages)  latest in thread

Message-ID: <20160128170415.GA6483@tux>
Permalink:  ../20160128170415.GA6483@tux/
Also on:    postgresql.org/message-id/20160128170415.GA6483@tux

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: akretschmer@spamfence.net
  Subject: Re: Replication Question
  In-Reply-To: <20160128170415.GA6483@tux>
  References: <CACnhOf+TOnVETH+Qgh=6yCzSrDZDE7D7DMowk2TD+SaB3RQ_ig@mail.gmail.com> <20160128170415.GA6483@tux>

* 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