pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ray Stell <stellr@cns.vt.edu>
To: A J <s5aly@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Switchover of Master and Slave roles
Date: Tue, 7 Jun 2011 14:12:44 -0400
Message-ID: <20110607181244.GA3861@cns.vt.edu> (raw)
In-Reply-To: <693391.31715.qm@web120020.mail.ne1.yahoo.com>
References: <693391.31715.qm@web120020.mail.ne1.yahoo.com>

On Tue, Jun 07, 2011 at 09:32:31AM -0700, A J wrote:
> Hello,
> I am trying to switch the master and slave roles in a test I am doing with 
> streaming replication in 9.1 beta.
> 

http://www.postgresql.org/docs/9.1/static/warm-standby-failover.html

Once failover to the standby occurs, there is only a single server in
operation. This is known as a degenerate state. The former standby is
now the primary, but the former primary is down and might stay down. To
return to normal operation, a standby server must be recreated, either
on the former primary system when it comes up, or on a third, possibly
new, system. Once complete, the primary and standby can be considered
to have switched roles.



view thread (11+ messages)  latest in thread

Message-ID: <20110607181244.GA3861@cns.vt.edu>
Permalink:  ../20110607181244.GA3861@cns.vt.edu/
Also on:    postgresql.org/message-id/20110607181244.GA3861@cns.vt.edu

 · 

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: stellr@cns.vt.edu, s5aly@yahoo.com
  Subject: Re: Switchover of Master and Slave roles
  In-Reply-To: <20110607181244.GA3861@cns.vt.edu>

* 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