pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
recovery problem
2+ messages / 2 participants
[nested] [flat]

* recovery problem
@ 2006-04-19 08:51 jayati.biswas@cmcltd.com <jayati.biswas@cmcltd.com>
  2006-04-24 17:30 ` Re: recovery problem Jim C. Nasby <jnasby@pervasive.com>
  0 siblings, 1 reply; 2+ messages in thread

From: jayati.biswas@cmcltd.com @ 2006-04-19 08:51 UTC (permalink / raw)
  To: pgsql-admin

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) ?




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: recovery problem
  2006-04-19 08:51 recovery problem jayati.biswas@cmcltd.com <jayati.biswas@cmcltd.com>
@ 2006-04-24 17:30 ` Jim C. Nasby <jnasby@pervasive.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Jim C. Nasby @ 2006-04-24 17:30 UTC (permalink / raw)
  To: jayati.biswas@cmcltd.com <jayati.biswas@cmcltd.com>; +Cc: pgsql-admin

On Wed, Apr 19, 2006 at 01:51:59AM -0700, jayati.biswas@cmcltd.com wrote:
> 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) ?

Take a look at http://pgfoundry.org/projects/pgpitrha/ ; it should do
what you want (you'll have to pull files out of CVS for right now...)
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-04-24 17:30 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-04-19 08:51 recovery problem jayati.biswas@cmcltd.com <jayati.biswas@cmcltd.com>
2006-04-24 17:30 ` Jim C. Nasby <jnasby@pervasive.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox