pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Isabella Ghiurea <isabella.ghiurea@nrc-cnrc.gc.ca>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: PG HA solution using DBRD
Date: Tue, 9 Nov 2010 14:12:56 -0800
Message-ID: <4CD9C768.9060308@nrc-cnrc.gc.ca> (raw)

Hi All,
I 'm testing a HA solution for a PG version 9.01 database configured 
using DBRD  for pg_xlog directory and user data /table space 
partitions.(  block disk changes are copied from master to slave )
the archive mode option is off for  both master and slaver node, when I 
power off master  without a clean PG shutdown the slave database server 
will not start. Bellow is the errror, what are my option to increase the 
checkpoint frequency  ?
archive_mode is off for both server

 database system was interrupted; last known up at 2010-11-09 08:27:02 PST
2010-11-09 13:20:03 PST [8505]: [2-1] LOG:  could not open file 
"pg_xlog/00000001000000BC00000006" (log file 188, segment 6): No such 
file or directory
2010-11-09 13:20:03 PST [8505]: [3-1] LOG:  invalid primary checkpoint 
record
2010-11-09 13:20:03 PST [8505]: [4-1] LOG:  could not open file 
"pg_xlog/00000001000000BC00000006" (log file 188, segment 6): No such 
file or directory
2010-11-09 13:20:03 PST [8505]: [5-1] LOG:  invalid secondary checkpoint 
record
2010-11-09 13:20:03 PST [8505]: [6-1] PANIC:  could not locate a valid 
checkpoint record
2010-11-09 13:20:03 PST [8499]: [2-1] LOG:  startup process (PID 8505) 
was terminated by signal 6: Aborted
2010-11-09 13:20:03 PST [8499]: [3-1] LOG:  aborting startup due to 
startup process failure
postgres@proc5-15:errorlog$   

Thank you
Isabella
                                                                  

-- 
-----------------------------------------------------------
Isabella A. Ghiurea 

Isabella.Ghiurea@nrc-cnrc.gc.ca
Canadian Astronomy Data Centre |http://www.nrc-cnrc.gc.ca/eng/services/hia/data-centre.html 
National Research Council of Canada, Herzberg Institute of Astrophysics 
5071 West Saanich Road, Victoria BC V9E 2E7, Canada
Phone: 250 363-3446 fax: 250 363-0045




view thread (3+ messages)  latest in thread

Message-ID: <4CD9C768.9060308@nrc-cnrc.gc.ca>
Permalink:  ../4CD9C768.9060308@nrc-cnrc.gc.ca/
Also on:    postgresql.org/message-id/4CD9C768.9060308@nrc-cnrc.gc.ca

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: isabella.ghiurea@nrc-cnrc.gc.ca
  Subject: Re: PG HA solution using DBRD
  In-Reply-To: <4CD9C768.9060308@nrc-cnrc.gc.ca>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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