Re: [ADMIN] Switchover of Master and Slave roles

2011-06-07 Thread Fujii Masao
On Wed, Jun 8, 2011 at 3:59 AM, A J wrote: > Ok. So if I understand it correctly, as far as Postgres is concerned the > 'mirror is broken'. It is a one-time cutover. > We then rely on filesystem tools (or other third party tools) to get the > original master in sync with the new master efficiently

Re: [ADMIN] Switchover of Master and Slave roles

2011-06-07 Thread Jerry Sievers
Simon Riggs writes: > On Tue, Jun 7, 2011 at 8:41 PM, Ray Stell wrote: > >> On Tue, Jun 07, 2011 at 11:59:07AM -0700, A J wrote: >>> We then rely on filesystem tools (or other third party tools) to get the >>> original master in sync with the new master efficiently and then make it >>> join as

Re: [ADMIN] Switchover of Master and Slave roles

2011-06-07 Thread Simon Riggs
On Tue, Jun 7, 2011 at 8:41 PM, Ray Stell wrote: > On Tue, Jun 07, 2011 at 11:59:07AM -0700, A J wrote: >> We then rely on filesystem tools (or other third party tools) to get the >> original master in sync with the new master efficiently and then make it >> join as >> slave. > > the doc would no

Re: [ADMIN] Switchover of Master and Slave roles

2011-06-07 Thread Ray Stell
On Tue, Jun 07, 2011 at 11:59:07AM -0700, A J wrote: > We then rely on filesystem tools (or other third party tools) to get the > original master in sync with the new master efficiently and then make it join > as > slave. the doc would not be corrupted by an additional few words that stated as

Re: [ADMIN] Switchover of Master and Slave roles

2011-06-07 Thread Kevin Grittner
A J wrote: > Ok. So if I understand it correctly, as far as Postgres is > concerned the 'mirror is broken'. It is a one-time cutover. > We then rely on filesystem tools (or other third party tools) to > get the original master in sync with the new master efficiently > and then make it join as sl

Re: [ADMIN] Switchover of Master and Slave roles

2011-06-07 Thread A J
ave. Right ? From: Kevin Grittner To: Ray Stell ; A J Cc: pgsql-admin@postgresql.org Sent: Tue, June 7, 2011 2:44:41 PM Subject: Re: [ADMIN] Switchover of Master and Slave roles A J wrote: > What does it exactly mean to 'recreate a standby server'

Re: [ADMIN] Switchover of Master and Slave roles

2011-06-07 Thread Kevin Grittner
A J wrote: > 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 r

Re: [ADMIN] Switchover of Master and Slave roles

2011-06-07 Thread Guillaume Lelarge
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 ju

Re: [ADMIN] Switchover of Master and Slave roles

2011-06-07 Thread A J
Sent: Tue, June 7, 2011 2:12:44 PM Subject: Re: [ADMIN] Switchover of Master and Slave roles 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://w

Re: [ADMIN] Switchover of Master and Slave roles

2011-06-07 Thread Ray Stell
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 on

[ADMIN] Switchover of Master and Slave roles

2011-06-07 Thread A J
Hello, I am trying to switch the master and slave roles in a test I am doing with streaming replication in 9.1 beta. To start with, I have one master (N1 node) and one slave (N2 node). I stop N1 and promote N2 as primary (by touching the trigger file). Now I wish for N1 to come back up as slave