Re: repmgr and archive_mode - Mailing list pgsql-general

From Adrian Klaver
Subject Re: repmgr and archive_mode
Date
Msg-id 201107290640.31744.adrian.klaver@gmail.com
Whole thread Raw
In response to Re: repmgr and archive_mode  (Raghavendra <raghavendra.rao@enterprisedb.com>)
List pgsql-general
On Friday, July 29, 2011 1:23:55 am Raghavendra wrote:
> On Fri, Jul 29, 2011 at 1:42 PM, Toby Corkindale <
>
> toby.corkindale@strategicdata.com.au> wrote:
> > Hi,
> > In the repmgr README, it suggests configuration should include:
> >
> > archive_mode = on
> > archive_command = 'cd .'
> >
> > Could someone explain why we need archive_mode enabled? In my own testing
> > of Pg's streaming replication, I've found it to work without this
> > enabled.
>
> AFAIK, enabling 'archive_mode' parameter turns the cluster into Archive-log
> Mode and generates a copy of WAL segements to ARCHIVE destination.
>
> Strange to know that Streaming replication done without this parameter,
> could you share the output of the below command in the PRIMARY cluster.

Not really, it just means that the WAL segments are not stored once they leave
the the primary. Think of it as a |.


>
> show archive_mode
> show archive_command
>
> ---
> Regards,
> Raghavendra
> EnterpriseDB Corporation
> Blog: http://raghavt.blogspot.com/

--
Adrian Klaver
adrian.klaver@gmail.com

pgsql-general by date:

Previous
From: Rohan Malhotra
Date:
Subject: Queries related to checkpoints
Next
From: Tom Lane
Date:
Subject: Re: How to implement autostart of postgres?