Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aOpza-0005aM-Bf for pgsql-general@arkaria.postgresql.org; Thu, 28 Jan 2016 17:04:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aOpzZ-0003U0-Uy for pgsql-general@arkaria.postgresql.org; Thu, 28 Jan 2016 17:04:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aOpzY-0003Qw-R7 for pgsql-general@postgresql.org; Thu, 28 Jan 2016 17:04:20 +0000 Received: from mailout01.ims-firmen.de ([213.174.32.96]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aOpzV-0003kz-L5 for pgsql-general@postgresql.org; Thu, 28 Jan 2016 17:04:20 +0000 Received: from mailin01.ims-firmen.de ([192.168.1.141]) by mailout01.ims-firmen.de with esmtp (envelope-from ) id 1aOpzT-0006ML-iy for pgsql-general@postgresql.org; Thu, 28 Jan 2016 18:04:15 +0100 Received: from [79.204.136.8] (helo=a-kretschmer.de) by mailin01.ims-firmen.de with esmtpsa (TLSv1:AES256-SHA:256) (envelope-from ) id 1aOpzT-0007kN-2Y for pgsql-general@postgresql.org; Thu, 28 Jan 2016 18:04:15 +0100 Received: from kretschmer by a-kretschmer.de with local (Exim 4.69) (envelope-from ) id 1aOpzT-0001o3-AZ for pgsql-general@postgresql.org; Thu, 28 Jan 2016 18:04:15 +0100 Date: Thu, 28 Jan 2016 18:04:15 +0100 From: Andreas Kretschmer To: pgsql-general@postgresql.org Subject: Re: Replication Question Message-ID: <20160128170415.GA6483@tux> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-OS: Debian/GNU Linux - weil ich es mir Wert bin! X-GPG-Fingerprint: EE16 3C01 7B9C 10F7 2C8B 3B86 4DB3 D9EE 7F45 84DA X-Message-Flag: "Windows" is not the answer. "Windows" is the question and the answer is "no"! X-Lugdd: Gerd Kube X-Info: My name is root. Just root. And I am licensed to kill -9 User-Agent: Mutt/1.5.18 (2008-05-17) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org Bala Venkat 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