Re: Pausing log shipping for streaming replication

From: Sameer Kumar <sameer(dot)kumar(at)ashnik(dot)com>
To: Joseph Kregloh <jkregloh(at)sproutloud(dot)com>
Cc: PostgreSQL General Discussion Forum <pgsql-general(at)postgresql(dot)org>
Subject: Re: Pausing log shipping for streaming replication
Date: 2014-12-16 00:12:50
Message-ID: CADp-Sm6P9=rv0sAKmT2YrMhT3CCkfmVy6EghvYN1GXb2jyb+bw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 16 Dec 2014 01:13, "Joseph Kregloh" <jkregloh(at)sproutloud(dot)com> wrote:
>
> Hello,
>
> I have a master multi slave streaming replication setup. One master and
two slaves. I need to do some maintenance on one of the slaves as one of
the drives died however there is some other weird things going on in that
array that I would need to investigate. So I am expecting the machine to be
down at least two hours.
>
> I remember reading that if a master cannot connect to the slave it would
hold the log file from shipping. Is there any other way to hold the file
until the slave comes back online? Would it affect both slaves not getting
their files shipped over?
>
> The good thing is that the slave in question is not serving any
connections.
>
> From what I remember emptying out the archive_command would pause log
shipping. Can the same be done by issuing a pg_stop_backup()?

Are you using streaming replication or log shipping? I believe both are
different. Can you share you archive_command and recovery.conf content?

>
> Thanks,
> -Joseph Kregloh

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message harpagornis 2014-12-16 00:54:21 Re: SSL Certificates in Windows 7 & Postgres 9.3
Previous Message Adrian Klaver 2014-12-16 00:11:34 Re: SSL Certificates in Windows 7 & Postgres 9.3