Streaming replication failed to start scenarios

Поиск
Список
Период
Сортировка
От chinnaobi
Тема Streaming replication failed to start scenarios
Дата
Msg-id 1350453506018-5728519.post@n5.nabble.com
обсуждение исходный текст
Ответы Re: Streaming replication failed to start scenarios  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Список 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 по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: 9.1/9.2 SERIALIZABLE: expected serialization failure between INSERT and SELECT not encountered
Следующее
От: Jayadevan M
Дата:
Сообщение: Replication - doubts