Re: archive_command not being executed

From: Paul Jungwirth <pj(at)illuminatedcomputing(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: archive_command not being executed
Date: 2017-11-10 17:26:54
Message-ID: 157fa048-8ca3-c79b-e075-53b0baaa45c5@illuminatedcomputing.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/10/2017 09:10 AM, Eric D wrote:
> I have a standby db server (SB1) that will soon become the master. SB1
> is set up with streaming replication from the current master. I'm
> trying to set up a third server (SB2) as a slave/standby to SB1, so that
> when SB1 becomes the master, there will be a standby for it. First step
> is to get WAL files shipped from SB1->SB2.

Oh this has happened to me before. :-) On SB1 you need to set
archive_mode to always (not on). Otherwise it is ignored when running as
a standby.

Btw just in case you are using Ansible here is an unmerged PR for the
postgres role: https://github.com/ANXS/postgresql/pull/254

Paul

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adam Brusselback 2017-11-10 20:32:18 Postgres 10.1 fails to start: server did not start in time
Previous Message Eric D 2017-11-10 17:10:29 archive_command not being executed