Streaming replication failed to start scenarios - Mailing list pgsql-general

From chinnaobi
Subject Streaming replication failed to start scenarios
Date
Msg-id 1350453506018-5728519.post@n5.nabble.com
Whole thread Raw
Responses Re: Streaming replication failed to start scenarios  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
List 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.


pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: 9.1/9.2 SERIALIZABLE: expected serialization failure between INSERT and SELECT not encountered
Next
From: Jayadevan M
Date:
Subject: Replication - doubts