Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 24602125F9C9 for ; Thu, 19 Apr 2012 07:47:39 -0300 (ADT) Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SKotn-0005Me-0L for pgsql-admin@postgresql.org; Thu, 19 Apr 2012 10:47:39 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SKota-000718-4s for pgsql-admin@postgresql.org; Thu, 19 Apr 2012 03:47:26 -0700 Date: Thu, 19 Apr 2012 03:47:26 -0700 (PDT) From: videanuadrian To: pgsql-admin@postgresql.org Message-ID: <1334832426.97159.YahooMailClassic@web160205.mail.bf1.yahoo.com> 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> Subject: Re: How to auto swtich the roles of primary and standby MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_41283_14313327.1334832446145" X-Pg-Spam-Score: 0.9 (/) X-Archive-Number: 201204/101 X-Sequence-Number: 39437 ------=_Part_41283_14313327.1334832446145 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable so, just to make sure that i understand:=20 after the master failed, the slave become the new master, the you have chan= ged postgresql.conf from master to slave and viceversa and restarted the ol= d master as slave ? --- On Thu, 4/19/12, jenopob [via PostgreSQL] wrote: From: jenopob [via PostgreSQL] Subject: Re:Re: How to auto swtich the roles of primary and standby To: "videanuadrian" Date: Thursday, April 19, 2012, 5:34 AM =09hi=C2=A0we did a new shell script named recovery_config_chage.sh at stan= dby server.the script I wanted to change the fail down postgres master conf= ig ,let it start as standby serverand build the communication with the form= er standby now is master server,then started it by remotestart.sh=C2=A0=C2= =A0the above hopes to help you something=C2=A0At 2012-04-17 13:42:50,"videa= nuadrian=C2=A0[via=C2=A0PostgreSQL]"=C2=A0<[hidden email]> wrote: =20 =09Hi there,=20 i have the exact same problem. Did you find a solution for this ? thanks, Adrian Videanu =09 =09 =09 =09 =09 =09=09If you reply to this email, your message will be added to the discuss= ion below: =09=09http://postgresql.1045698.n5.nabble.com/How-to-auto-swtich-the-roles-= of-primary-and-standby-tp4546630p5645680.html =09 =09 =09=09 =09=09To unsubscribe from How to auto swtich the roles of primary and stand= by, click here. =09=09NAML =09 =09 =09 =09 =09 =09 =09=09If you reply to this email, your message will be added to the discuss= ion below: =09=09http://postgresql.1045698.n5.nabble.com/How-to-auto-swtich-the-roles-= of-primary-and-standby-tp4546630p5650704.html =09 =09 =09=09 =09=09To unsubscribe from How to auto swtich the roles of primary and stand= by, click here. =09=09NAML =09 -- View this message in context: http://postgresql.1045698.n5.nabble.com/How-t= o-auto-swtich-the-roles-of-primary-and-standby-tp4546630p5651436.html Sent from the PostgreSQL - admin mailing list archive at Nabble.com. ------=_Part_41283_14313327.1334832446145 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: quoted-printable
so, just to make sure that i understand:
= after the master failed, the slave become the new master, the you have chan= ged postgresql.conf from master to slave and viceversa and restarted the ol= d master as slave ?

--- On Thu, 4/19/12, jenopob [via PostgreSQL]= <[hidden email]>= wrote:

From: jenopob [via PostgreSQL] = <[hidden email]>
Subj= ect: Re:Re: How to auto swtich the roles of primary and standby
To: "vid= eanuadrian" <[hidden email]= >
Date: Thursday, April 19, 2012, 5:34 AM

=09
hi
 
we did a new shell sc= ript named recovery_config_chage.sh at standby server.
the script= I wanted to change the fail down postgres master config ,let it start as s= tandby server
and build the communication with the former standby= now is master server,then started it by remotestart.sh 
&nb= sp;
the above hopes to help you something
 
<= div id=3D"yiv748628468divNeteaseMailCard">
At 2012-04-17 13= :42:50,"videanuadrian [via PostgreSQL]" <[hidden email]> wrote:
=09Hi there,=20
i have the exact same problem. Did you find a solution for this ?
thanks,
Adrian Videanu =09 =09
=09
=09
=09
=09=09
If you reply to this email, your me= ssage will be added to the discussion below:
=09=09http://postgresql.1045698.n5.nabble.com= /How-to-auto-swtich-the-roles-of-primary-and-standby-tp4546630p5645680.html= =09
=09
=09=09 =09=09To unsubscribe from How to auto swtich the roles of primary and stand= by, click here. =09=09NAML =09


=09 =09
=09
=09
=09
=09=09
If you reply to this email, your me= ssage will be added to the discussion below:
=09=09http://postgresql.1045698.n5.nabble.com= /How-to-auto-swtich-the-roles-of-primary-and-standby-tp4546630p5650704.html= =09
=09
=09=09 =09=09To unsubscribe from How to auto swtich the roles of primary and stand= by, click= here.
=09=09NAML =09
=09

View this message in context: Re:Re: How to auto swtich the roles of primary and standby
Sent from the PostgreSQL - admin mailing list archive at Nabble= .com.
------=_Part_41283_14313327.1334832446145--