HotStandby --Advice needed

Поиск
Список
Период
Сортировка
От chinnaobi
Тема HotStandby --Advice needed
Дата
Msg-id 1337067955113-5708740.post@n5.nabble.com
обсуждение исходный текст
Ответы Re: HotStandby --Advice needed  (chinnaobi <chinnaobi@gmail.com>)
Список pgsql-general
Configured server1 to be primary archiving on and server2 as standby with
base backup(only first time) to replicate from primary. If Primary(server1)
is down standby(server2) is configured as primary and starts archiving to
the same WAL archive.

If the previous primary(Server1) comes up it will be configured as standby
and one time recovery is done using restore_command from WAL archive (This
is done to speed up streaming replication if there is huge gap).

*This switching of roles continues... Is there any problem with this
procedure ?? *

Primary server postgresql conf settings:

max_wal_senders = 5
wal_level = hot_standby
archive_mode = on
archive_command = 'copy %p $DBstreamshare\\%f'
wal_keep_segments = 32
replication_timeout = 0

Standby server postgresql conf settings:
max_standby_streaming_delay = 30s
hot_standby = on
standby recovery.conf settings:
standby_mode = 'on'
restore_command = 'copy $DBstreamshare\\%f %p'
primary_conninfo = 'host=$Primaryserver port=5432 user=postgres'



--
View this message in context: http://postgresql.1045698.n5.nabble.com/HotStandby-Advice-needed-tp5708740.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

В списке pgsql-general по дате отправления:

Предыдущее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Cannot find installers for 9.2 Beta
Следующее
От: Chris Angelico
Дата:
Сообщение: Re: Uppercase to lowercase trigger?