Re: How to failover from Primary to Standby and Set the old Primary as a new Standby - Mailing list pgsql-general

From John R Pierce
Subject Re: How to failover from Primary to Standby and Set the old Primary as a new Standby
Date
Msg-id 523B5F5F.8080109@hogranch.com
Whole thread Raw
In response to Re: How to failover from Primary to Standby and Set the old Primary as a new Standby  (Vick Khera <vivek@khera.org>)
Responses Re: How to failover from Primary to Standby and Set the old Primary as a new Standby  (Michael Nolan <htfoot@gmail.com>)
List pgsql-general
On 9/19/2013 1:29 PM, Vick Khera wrote:

On Thu, Sep 19, 2013 at 11:31 AM, ascot.moss@gmail.com <ascot.moss@gmail.com> wrote:
I use PG 9.2.4 with streaming replication.  What will be the manual procedure to failover from Primary to Standby and Set the old Primary as a new standby?

From what I understand, you start over by setting up the old primary as a new standby from scratch.

if you use rsync for the base backup of new master to old, it should go fairly quickly as relatively few files should have changed assuming not much time has elapsed.



-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast

pgsql-general by date:

Previous
From: Vick Khera
Date:
Subject: Re: How to failover from Primary to Standby and Set the old Primary as a new Standby
Next
From: Michael Nolan
Date:
Subject: Re: How to failover from Primary to Standby and Set the old Primary as a new Standby