pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Jungwirth <pj@illuminatedcomputing.com>
To: pgsql-general@postgresql.org
Subject: Re: archive_command not being executed
Date: Fri, 10 Nov 2017 09:26:54 -0800
Message-ID: <157fa048-8ca3-c79b-e075-53b0baaa45c5@illuminatedcomputing.com> (raw)
In-Reply-To: <MWHPR12MB193354333EEEFF37C9B510A4BF540@MWHPR12MB1933.namprd12.prod.outlook.com>
References: <MWHPR12MB193354333EEEFF37C9B510A4BF540@MWHPR12MB1933.namprd12.prod.outlook.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
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 (6+ messages)  latest in thread

Message-ID: <157fa048-8ca3-c79b-e075-53b0baaa45c5@illuminatedcomputing.com>
Permalink:  ../157fa048-8ca3-c79b-e075-53b0baaa45c5@illuminatedcomputing.com/
Also on:    postgresql.org/message-id/157fa048-8ca3-c79b-e075-53b0baaa45c5@illuminatedcomputing.com

 · 

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: pj@illuminatedcomputing.com
  Subject: Re: archive_command not being executed
  In-Reply-To: <157fa048-8ca3-c79b-e075-53b0baaa45c5@illuminatedcomputing.com>
  References: <MWHPR12MB193354333EEEFF37C9B510A4BF540@MWHPR12MB1933.namprd12.prod.outlook.com> <157fa048-8ca3-c79b-e075-53b0baaa45c5@illuminatedcomputing.com>

* 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