PITR restore hot standby

Поиск
Список
Период
Сортировка
От Postgres General
Тема PITR restore hot standby
Дата
Msg-id 4291D7E6.6030305@list.coretech.ro
обсуждение исходный текст
Ответы Re: PITR restore hot standby  (Douglas McNaught <doug@mcnaught.org>)
Re: PITR restore hot standby  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-general
hello,

I am trying to setup a "hot standby" on a second machine.
I have created a "recovery.conf" file and started a restore with logs
from the primary machine. everything was OK.

now a have new transaction logs generated by the primary machine and I
want to "play" them on the secondary one. I have stopped postgres,
recreated "recovery.conf", started postgres and I get the following error:

----------------------------------------------------------------
LOG:  database system was shut down at 2005-05-23 05:19:34 PDT
LOG:  starting archive recovery
LOG:  restore_command = "/usr/cbmp/core/bin/restore_pg_tlog %f %p"
LOG:  restored log file "0000000100000008000000C4" from archive
LOG:  invalid resource manager ID 53 at 8/C4FFFEF8
LOG:  invalid primary checkpoint record
LOG:  restored log file "0000000100000008000000C4" from archive
LOG:  invalid resource manager ID 52 at 8/C4FFFEBC
LOG:  invalid secondary checkpoint record
PANIC:  could not locate a valid checkpoint record
LOG:  startup process (PID 18297) was terminated by signal 6
LOG:  aborting startup due to startup process failure
LOG:  logger shutting down
----------------------------------------------------------------

what is the procedure for creating a "hot standby" (continuously feeding
a series of WAL files created by the primary machine into the secondary
one) ?


thanks,
Razvan Radu




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

Предыдущее
От: Paolo Tavalazzi
Дата:
Сообщение: Hash join operator question
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How to recover from : "Cache lookup failed for relation "