Re: Multiple Slave Failover with PITR

From: Sergey Konoplev <gray(dot)ru(at)gmail(dot)com>
To: Ken Brush <kbrush(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Multiple Slave Failover with PITR
Date: 2012-04-11 17:10:32
Message-ID: CAL_0b1vtGtvQnbVMCvc9xGyaB_c04AEdFrbjHS17g4dYrvjz3g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Wed, Apr 11, 2012 at 9:08 PM, Ken Brush <kbrush(at)gmail(dot)com> wrote:
> On Wed, Apr 11, 2012 at 9:50 AM, Sergey Konoplev <gray(dot)ru(at)gmail(dot)com> wrote:
>> On Wed, Apr 11, 2012 at 8:12 PM, Ken Brush <kbrush(at)gmail(dot)com> wrote:
>>>>>> 8. Copy the history file from the new master to the slave (it's the
>>>>>> most recent #.history file in the xlog directory)
>>>>
>>>> It will work in the case of archive_command presence only and I will
>>>> need to sync the whole pg_xlog content if do not have archive_command
>>>> in recovery.conf, correct?
>>>
>>> The new master will sync out the WAL logs from pg_xlog that the slaves
>>> need. The wal sender/receiver system is what I rely on for this.
>>
>> So you do not have archive_command in recovery.conf, do you?
>>
>
> Correct, I do not.

Okay, thank you. Now things are much more clean.

>
> -Ken

--
Sergey Konoplev

Blog: http://gray-hemp.blogspot.com
LinkedIn: http://ru.linkedin.com/in/grayhemp
JID/GTalk: gray(dot)ru(at)gmail(dot)com Skype: gray-hemp

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert Haas 2012-04-11 18:14:11 Re: [GENERAL] [streaming replication] 9.1.3 streaming replication bug ?
Previous Message Ken Brush 2012-04-11 17:08:38 Re: Multiple Slave Failover with PITR

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-04-11 17:23:21 Re: Last gasp
Previous Message Ken Brush 2012-04-11 17:08:38 Re: Multiple Slave Failover with PITR