Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 12CB6C4CD77 for ; Thu, 3 May 2012 05:05:28 -0300 (ADT) Received: from nm12-vm3.bullet.mail.sg3.yahoo.com ([106.10.149.3]) by magus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1SPr2T-0006HF-L8 for pgsql-admin@postgresql.org; Thu, 03 May 2012 08:05:27 +0000 Received: from [106.10.166.118] by nm12.bullet.mail.sg3.yahoo.com with NNFMP; 03 May 2012 08:05:09 -0000 Received: from [106.10.151.187] by tm7.bullet.mail.sg3.yahoo.com with NNFMP; 03 May 2012 08:05:09 -0000 Received: from [127.0.0.1] by omp1013.mail.sg3.yahoo.com with NNFMP; 03 May 2012 08:05:09 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 765877.26662.bm@omp1013.mail.sg3.yahoo.com Received: (qmail 95724 invoked by uid 60001); 3 May 2012 08:05:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.cn; s=s1024; t=1336032308; bh=qOPziqKxfq4Am4LXJvRq3ivgBDKRltBNfdPmQ4ulscM=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=zc/oKsOWJAM9J0gdmuj66FA+JAx502WcHfFHAVWwAb//LRJ451GkpqZywoxoveB33fJBowElGfhhZK/clEozD/z0anJacCx5IHlq3cfFYmnnnttHpJ+09UUKpWmH5w0nb4OqmfhJt7mgkx8JtKmE2OetrhluXv/kk9uDN8Ewg/8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=X5vjTyygkEGS3JBLqAhqrrzJOqMS9JcNGxg9+zfKB7G9a7Sv0bB7piwsm3BvI2hqLbrarvTcwnUi9t+7V2flinI+XMdBOEGojXBWcCNT4WPUbHMXljSkke0OrOCCT1m90BTc+ScIu5RZGb6cHDscR+hp+2J20lmooBZaBFIY4Ik=; X-YMail-OSG: _TWYFCoVM1l9w0Yb_20eWKGoZB0NjPXxq7RihKjrnIJeic4 N5.gp0btzxkVAKNSLp74rgt7sbYLRbcOgol2arBEhe_86UO_ETXwShiRqH2f QYxLP.ZyGCPEh31ZHX5IbEQLwCBU5lnI0Vz5TZGM3LqoWBdk7SnptWdyLfS4 1IiXVDB0OWMyxDGvKT97CuR29WuzKcgSQI7waejlgZ3Bxz7nVTYsCpgAiyQR EF7X4GdWj1DPgf417Ghju1MfGuFX.KVXqJAmA4XPpUxxkBZlZOoCeWICoabE 2B4ztXWHCmdA5rLVo5xDABy6Wgu.nol2.VyMg4Lb3v98DiCCCOLkBffxVx.5 90_vPypdBakAQYZHAmoWLmwherEEyo_4e_gdBpUk9R2OWtpzAvl1Ot.9kl0J CbBkmkORHf7_Z2lysmxarAXBOf_TWdB8uVxY0m8I5yE4PpRfuHnK_aWQCcMP zUtmTr9n8F_jIxdeoIdOvTooGw0OtLcASx6LOzSKVRqGLvxckN1BWgUhLBDA G7DcWjyLifKBf.2Hp1YJks1KeZsIp6F8fBkki.PUNONWITkp3WFuSNdC8hMr u0EJaLN0ZBCJjIg8.O2cm.ymY54niobpRU0.eaDiTF319I0ssA_gImxWnFdh LC.wl38toMKUA3iqOM7oe72fYGuIf0GCJdlrFKWwW8TzxOSHQsJLNQzgfX7Y 6hIsWvH4HKiTKCQ-- Received: from [218.241.169.34] by web15607.mail.cnb.yahoo.com via HTTP; Thu, 03 May 2012 16:05:08 CST X-Mailer: YahooMailClassic/15.0.6 YahooMailWebService/0.8.117.340979 Message-ID: <1336032308.94842.YahooMailClassic@web15607.mail.cnb.yahoo.com> Date: Thu, 3 May 2012 16:05:08 +0800 (CST) From: sgm Subject: Re: postgresql stream replication question To: =?utf-8?B?RGV2cmltIEfDnE5Ew5xa?= Cc: pgsql-admin@postgresql.org In-Reply-To: <1336030440.4812.54.camel@lenovo01-laptop03.gunduz.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="787465216-1448026976-1336032308=:94842" X-Pg-Spam-Score: -1.7 (-) X-Archive-Number: 201205/21 X-Sequence-Number: 39510 --787465216-1448026976-1336032308=:94842 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thank you sir. --- 12=E5=B9=B45=E6=9C=883=E6=97=A5=EF=BC=8C=E5=91=A8=E5=9B=9B, Devrim G=C3= =9CND=C3=9CZ =E5=86=99=E9=81=93=EF=BC=9A =E5=8F=91=E4=BB=B6=E4=BA=BA: Devrim G=C3=9CND=C3=9CZ =E4=B8=BB=E9=A2=98: Re: [ADMIN] postgresql stream replication question =E6=94=B6=E4=BB=B6=E4=BA=BA: "sgm" =E6=8A=84=E9=80=81: pgsql-admin@postgresql.org =E6=97=A5=E6=9C=9F: 2012=E5=B9=B45=E6=9C=883=E6=97=A5,=E5=91=A8=E5=9B=9B,= =E4=B8=8B=E5=8D=883:34 On Thu, 2012-05-03 at 13:47 +0800, sgm wrote: > I have successfully set up the stream replication M1--IP1, M2---IP2, > my question is if the master is down, the slave will become read and > write by trigger file, but the client will connect to the IP2,right? No. You will need something else (like Red Hat Cluster Suite) for that. Regards, --=20 Devrim G=C3=9CND=C3=9CZ Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org=C2=A0 Twitter: http://twitter.com/devrimgunduz --787465216-1448026976-1336032308=:94842 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Thank you sir.

--- 12=E5=B9=B45=E6= =9C=883=E6=97=A5=EF=BC=8C=E5=91=A8=E5=9B=9B, Devrim G=C3=9CND=C3=9CZ <= ;devrim@gunduz.org> =E5=86=99=E9=81=93=EF=BC=9A

=E5=8F=91=E4=BB=B6=E4=BA=BA: Devrim G=C3=9CND=C3=9CZ <de= vrim@gunduz.org>
=E4=B8=BB=E9=A2=98: Re: [ADMIN] postgresql stream re= plication question
=E6=94=B6=E4=BB=B6=E4=BA=BA: "sgm" <sgm277@yahoo.c= om.cn>
=E6=8A=84=E9=80=81: pgsql-admin@postgresql.org
=E6=97=A5=E6= =9C=9F: 2012=E5=B9=B45=E6=9C=883=E6=97=A5,=E5=91=A8=E5=9B=9B,=E4=B8=8B=E5= =8D=883:34

On Thu, 2012-05-03 at 13:47 +080= 0, sgm wrote:
> I have successfully set up the stream replication M1-= -IP1, M2---IP2,
> my question is if the master is down, the slave wil= l become read and
> write by trigger file, but the client will connec= t to the IP2,right?

No. You will need something else (like Red Hat C= luster Suite) for that.

Regards,
--
Devrim G=C3=9CND=C3=9CZ
Principal Syste= ms Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Dan=C4=B1=C5=9Fma= n=C4=B1/Consultant, Red Hat Certified Engineer
Community: devrim~Postgre= SQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz=
--787465216-1448026976-1336032308=:94842--