pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: videanuadrian <videanuadrian@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: How to auto swtich the roles of primary and standby
Date: Thu, 19 Apr 2012 03:47:26 -0700 (PDT)
Message-ID: <1334832426.97159.YahooMailClassic@web160205.mail.bf1.yahoo.com> (raw)
In-Reply-To: <348c54fa.6443.136c8731742.Coremail.jenopob@126.com>
References: <1309678517759-4546630.post@n5.nabble.com>
	<1334641370515-5645680.post@n5.nabble.com>
	<348c54fa.6443.136c8731742.Coremail.jenopob@126.com>

so, just to make sure that i understand: 
after the master failed, the slave become the new master, the you have changed postgresql.conf from master to slave and viceversa and restarted the old master as slave ?

--- On Thu, 4/19/12, jenopob [via PostgreSQL] <ml-node+s1045698n5650704h68@n5.nabble.com> wrote:

From: jenopob [via PostgreSQL] <ml-node+s1045698n5650704h68@n5.nabble.com>
Subject: Re:Re: How to auto swtich the roles of primary and standby
To: "videanuadrian" <videanuadrian@yahoo.com>
Date: Thursday, April 19, 2012, 5:34 AM



	hi we did a new shell script named recovery_config_chage.sh at standby server.the script I wanted to change the fail down postgres master config ,let it start as standby serverand build the communication with the former standby now is master server,then started it by remotestart.sh  the above hopes to help you something At 2012-04-17 13:42:50,"videanuadrian [via PostgreSQL]" <[hidden email]> wrote:
 

	Hi there, 

i have the exact same problem. Did you find a solution for this ?

thanks,

Adrian Videanu
	
	

	

	
	
		If you reply to this email, your message will be added to the discussion below:
		http://postgresql.1045698.n5.nabble.com/How-to-auto-swtich-the-roles-of-primary-and-standby-tp454663...
	
	
		
		To unsubscribe from How to auto swtich the roles of primary and standby, click here.

		NAML
	


	
	

	

	
	
		If you reply to this email, your message will be added to the discussion below:
		http://postgresql.1045698.n5.nabble.com/How-to-auto-swtich-the-roles-of-primary-and-standby-tp454663...
	
	
		
		To unsubscribe from How to auto swtich the roles of primary and standby, click here.

		NAML
	

--
View this message in context: http://postgresql.1045698.n5.nabble.com/How-to-auto-swtich-the-roles-of-primary-and-standby-tp454663...
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.

view thread (5+ messages)  latest in thread

Message-ID: <1334832426.97159.YahooMailClassic@web160205.mail.bf1.yahoo.com>
Permalink:  ../1334832426.97159.YahooMailClassic@web160205.mail.bf1.yahoo.com/
Also on:    postgresql.org/message-id/1334832426.97159.YahooMailClassic@web160205.mail.bf1.yahoo.com

 · 

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: videanuadrian@yahoo.com
  Subject: Re: How to auto swtich the roles of primary and standby
  In-Reply-To: <1334832426.97159.YahooMailClassic@web160205.mail.bf1.yahoo.com>

* 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