Streaming replication failed to start scenarios

From: chinnaobi <chinnaobi(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Streaming replication failed to start scenarios
Date: 2012-10-17 05:58:26
Message-ID: 1350453506018-5728519.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

I have been testing streaming replication in windows with postgres 9.1.1.
For few scenario's I haven't found a solution. Please advice me.

1. Precautions before promoting standby server to primary manually
considering the dead primary server ??

2. How could we ensure the standby has received all transactions sent by
primary till the point primary server is dead. (Meaning the dead primary and
standby server are exactly same, so that the dead primary comes back it can
be turned to standby without any issues).

3. When the dead primary is switchedto standby the streaming is not
happening due to current_wal_location is ahead in the standby server is
ahead of wal_sent_location. In this case how can I start streaming without
taking a fresh base backup from current primary ??

4. When the dead primary comes back the DB still accepts data and it goes to
out of sync with the current primary and streaming won't start. Is there any
solution for this case ??

Reddy.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Streaming-replication-failed-to-start-scenarios-tp5728519.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jayadevan M 2012-10-17 06:22:57 Replication - doubts
Previous Message chinnaobi 2012-10-17 05:51:49 Re: How to avoid base backup in automated failover