Re: Using old master as new replica after clean switchover

From: RSR999GMAILCOM <rsr999(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Using old master as new replica after clean switchover
Date: 2019-02-21 18:26:37
Message-ID: CAPYMTmio8_gTimX8e7FHiBVijqPVy7rrrB5vTDt9ZGDmBF4eLg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Is there any link where the required setup and the step by step procedure
for performing the controlled switchover are listed?

Thanks
Raj

On Tue, Feb 19, 2019 at 4:44 PM Michael Paquier <michael(at)paquier(dot)xyz> wrote:

> On Tue, Feb 19, 2019 at 04:27:02PM -0800, RSR999GMAILCOM wrote:
> > So wanted to clarify if this procedure really requires the WAL archive
> > location on a shared storage ?
>
> Shared storage for WAL archives is not a requirement. It is perfectly
> possible to use streaming replication to get correct WAL changes.
> Using an archive is recommended for some deployments and depending on
> your requirements and data retention policy, still you could have
> those archives on a different host and have the restore_command of the
> standbyt in recovery or the archive_command of the primary save the
> segments to it. Depending on the frequency new WAL segments are
> generated, this depends of course.
> --
> Michael
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2019-02-21 18:34:05 Re: [PROPOSAL] Shared Ispell dictionaries
Previous Message Tom Lane 2019-02-21 18:08:00 Re: [PROPOSAL] Shared Ispell dictionaries