Such documentation does not exists because such configuration does not exists. What do you exactly mean b=y &quot;active/active&quot; in this case?<br><br><br><div class="gmail_quote">On Sun, Jun 5, 2011 at 11:31 PM, Sachin Gokhale <span dir="ltr">&lt;<a href="mailto:sysadmin@indicussoftware.com">sysadmin@indicussoftware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Where I get active/active setup document for postgres? I searched on<br>
clusterlabs site...but didn&#39;t get any help.<br>
<font color="#888888"><br>
sachin<br>
</font><div><div></div><div class="h5"><br>
On Fri, 20 May 2011 08:12:09 -0600<br>
Serge Dubrouski &lt;<a href="mailto:sergeyfd@gmail.com">sergeyfd@gmail.com</a>&gt; wrote:<br>
<br>
&gt; On Fri, May 20, 2011 at 7:56 AM, Daniel Bozeman &lt;<br>
&gt; <a href="mailto:daniel.bozeman@americanroamer.com">daniel.bozeman@americanroamer.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Sachin,<br>
&gt; &gt;<br>
&gt; &gt; Check out pgpool-II (<a href="http://pgpool.projects.postgresql.org/" target="_blank">http://pgpool.projects.postgresql.org/</a>). Using<br>
&gt; &gt; pgpool, you can use postgres 9.0 streaming replication to set up a master<br>
&gt; &gt; server and a hot-standby which can accept read-only queries. pgpool will<br>
&gt; &gt; automatically send read-only transactions to the hot-standby, while writes<br>
&gt; &gt; will be sent to the master database and replicated to the standby using<br>
&gt; &gt; postgres streaming replication. Pgpool will also manage failover and online<br>
&gt; &gt; recovery of your postgres instances. You can then use Pacemaker to make<br>
&gt; &gt; pgpool and a virtual IP pointing to it highly available.<br>
&gt; &gt;<br>
&gt; &gt; That being said, implementing a reliable active/passive cluster with<br>
&gt; &gt; Pacemaker is not trivial. I am currently using LSB to manage pgpool, but I<br>
&gt; &gt; plan to write my own OCF resource or test/modify the one provided with the<br>
&gt; &gt; older pgpool-ha project.<br>
&gt; &gt;<br>
&gt;<br>
&gt; Depends on what you call  active/passive. Active/Passive can be easily<br>
&gt; implemented with DRBD replication and there is at least 2 HOW-TO documents<br>
&gt; on clusterlabs web site. Streaming replication is more like Active/Active<br>
&gt; and this one isn&#39;t trivial at all. And not because of Pacemaker but because<br>
&gt; of the way how Streaming replication is implemented in PostgreSQL. If it was<br>
&gt; close to Oracle DataGuard for example it would be much easier.<br>
&gt;<br>
&gt;<br>
&gt; &gt; Take care,<br>
&gt; &gt;<br>
&gt; &gt; Daniel<br>
&gt; &gt;<br>
&gt; &gt; On May 20, 2011, at 7:37 AM, Serge Dubrouski wrote:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Thu, May 19, 2011 at 11:07 PM, Sachin Gokhale &lt;<br>
&gt; &gt; <a href="mailto:sysadmin@indicussoftware.com">sysadmin@indicussoftware.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt; Hello,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I have two nodes active/passive cluster created using documentation from<br>
&gt; &gt;&gt; clusterlabs. Replication is working fine on my setup. I am using this<br>
&gt; &gt;&gt; for Postgresql database.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; But, I am getting how I configure or test Faileover scenario &amp; how can I<br>
&gt; &gt;&gt; add load balancing feature for my Postgres database.<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt; Do you need read only load balancing or read/write? First one is possible<br>
&gt; &gt; with PGSQL hot-standby databases, second one isn&#39;t possible in PGSQL AFAIK.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Looking for your kine help.<br>
&gt; &gt;&gt; Thanks in advance.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Regards,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Sachin<br>
&gt; &gt;&gt; ******************************************************<br>
&gt; &gt;&gt; Sachin  N. Gokhale<br>
&gt; &gt;&gt; System Administrator<br>
&gt; &gt;&gt; &lt;<a href="mailto:sysadmin@indicussoftware.com">sysadmin@indicussoftware.com</a>&gt;<br>
&gt; &gt;&gt; Indicus Software Pvt. Ltd.<br>
&gt; &gt;&gt; 28&#39; Varshanand Society.<br>
&gt; &gt;&gt; Sinhgad Road Pune - 411038<br>
&gt; &gt;&gt; Tel. No. -  91-20-24341287/88<br>
&gt; &gt;&gt; Fax No. - 91-20-24341289<br>
&gt; &gt;&gt; ******************************************************<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; &gt;&gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; &gt;&gt; Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; &gt;&gt; Bugs:<br>
&gt; &gt;&gt; <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Serge Dubrouski.<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; &gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt; &gt;<br>
&gt; &gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; &gt; Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; &gt; Bugs:<br>
&gt; &gt; <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
&gt; &gt; <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
&gt; &gt;<br>
&gt; &gt; Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
&gt; &gt; Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
&gt; &gt; Bugs:<br>
&gt; &gt; <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Serge Dubrouski.<br>
<br>
******************************************************<br>
Sachin  N. Gokhale<br>
System Administrator<br>
&lt;<a href="mailto:sysadmin@indicussoftware.com">sysadmin@indicussoftware.com</a>&gt;<br>
Indicus Software Pvt. Ltd.<br>
28&#39; Varshanand Society.<br>
Sinhgad Road Pune - 411038<br>
Tel. No. -  91-20-24341287/88<br>
Fax No. - 91-20-24341289<br>
******************************************************<br>
<br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Serge Dubrouski.<br>