pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Lelarge <guillaume@lelarge.info>
To: A J <s5aly@yahoo.com>
Cc: Ray Stell <stellr@cns.vt.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: Switchover of Master and Slave roles
Date: Tue, 07 Jun 2011 20:40:03 +0200
Message-ID: <1307472003.2027.1.camel@laptop> (raw)
In-Reply-To: <264025.13168.qm@web120005.mail.ne1.yahoo.com>
References: <693391.31715.qm@web120020.mail.ne1.yahoo.com>
	<20110607181244.GA3861@cns.vt.edu>
	<264025.13168.qm@web120005.mail.ne1.yahoo.com>

On Tue, 2011-06-07 at 11:33 -0700, A J wrote:
> >>To return to normal operation, a standby server must be recreated,
> either on the former primary system when it comes up<<
> 
> 
> What does it exactly mean to 'recreate a standby server' ? Can I not
> use the datafiles on the former primary and just let it sync and get
> the incremental from the new primary ? Do I have to remove all the
> data files from the former primary and get all the datafiles through
> rsync (or other similar manner) from the new primary ?
> 
> 

Don't remove them. This way, rsync will only send the changed files.



-- 
Guillaume
  http://blog.guillaume.lelarge.info
  http://www.dalibo.com




view thread (11+ messages)  latest in thread

Message-ID: <1307472003.2027.1.camel@laptop>
Permalink:  ../1307472003.2027.1.camel@laptop/
Also on:    postgresql.org/message-id/1307472003.2027.1.camel@laptop

 · 

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: guillaume@lelarge.info, s5aly@yahoo.com, stellr@cns.vt.edu
  Subject: Re: Switchover of Master and Slave roles
  In-Reply-To: <1307472003.2027.1.camel@laptop>

* 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