Hi,<br> thanks, I just installed the pgpool-II 3.2 version. Maybe I am not understanding but when I issue the following commands it tells me master and slave :<br><br>postgres=# SHOW pool_nodes;<br> node_id |    hostname     | port | status | lb_weight |  role  <br>
---------+-----------------+------+--------+-----------+--------<br> 0       | 192.168.10.1 | 5432 | 2      | 0.500000  | master<br> 1       | 192.168.10.2 | 5432 | 2      | 0.500000  | slave<br>(2 rows)<br><br>I have not configured the master slave mode. What it will do If i add number third. ?<br>
<br>K<br><br><div class="gmail_quote">On Wed, Sep 19, 2012 at 1:07 PM, Lazáro Rubén García Martínez <span dir="ltr">&lt;<a href="mailto:lgarciam@vnz.uci.cu" target="_blank">lgarciam@vnz.uci.cu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
My recomendation is: Don´t wait to pgpool be available in the repos, install it from the source code and the latest stable version.<br>
<br>
The stable version can be downloaded from this address:<br>
<br>
<a href="http://git.postgresql.org/gitweb/?p=pgpool2.git;a=shortlog;h=refs/heads/V3_2_STABLE" target="_blank">http://git.postgresql.org/gitweb/?p=pgpool2.git;a=shortlog;h=refs/heads/V3_2_STABLE</a><br>
<br>
When a node is detached, pgpool executes a failover, after failover it execute the command especidied in the property follow_master_command:<br>
<br>
follow_master_command: This parameter specifies a command to run in master/slave streaming replication mode only after a master failover.<br>
<br>
If you need to know when the pg server was down you can configure this property or this failover_commnad, with mail commnad. Another alternative is installing nagios and checks the pg service periodicaly.<br>
<br>
<br>
If one server was down, you can recover this server performing an online recovery.<br>
<br>
Looks this link:<br>
<br>
<a href="http://www.pgpool.net/pgpool-web/contrib_docs/simple_sr_setting2/index.html" target="_blank">http://www.pgpool.net/pgpool-web/contrib_docs/simple_sr_setting2/index.html</a><br>
<div class="im"><br>
<br>
Regards.<br>
________________________________________<br>
From: Khapare Joshi [<a href="mailto:khapare77@gmail.com">khapare77@gmail.com</a>]<br>
</div>Sent: Wednesday, September 19, 2012 4:53 AM<br>
<div class="im">To: Lazáro Rubén García Martínez<br>
Subject: Re: [pgpool-general: 1014] pgpool-ha<br>
<br>
</div>Thanks<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Sep 18, 2012 at 4:33 PM, Lazáro Rubén García Martínez &lt;<a href="mailto:lgarciam@vnz.uci.cu">lgarciam@vnz.uci.cu</a>&lt;mailto:<a href="mailto:lgarciam@vnz.uci.cu">lgarciam@vnz.uci.cu</a>&gt;&gt; wrote:<br>
&gt;This sound cool. So, you configured two pgpool II server with watchdog ?  Can you share the configuration  ? that would be good. I installed pgpool-II from postgres repo and pgpool-II 3.2 is not available yet. I hope this will be available there too.<br>

<br>
I have 4 servers, 2 servers with postgresql and 2 servers with pgpool, in each pgpool servers runs the watchdog for the high availability of pgpool-II.<br>
<br>
<br>
Ok, if one of the postgres server (backend) fails/down, how would you know ? do you get alert or is there a way to monitor. And, let say your backed number 2 down/unavailable etc - then you fixed the backed number two, how would you put back online without restarting Pgpool or taking service down ? If we just put the backend 2 - then this postgres server has old data. How would you address such scenario ? any idea ?<br>

<br>
<br>
<br>
When does pgpool-II 3.2 will be available in postges repo  ? does anybody know ?<br>
<br>
<br>
KH<br>
<br>
</div></div><div class="HOEnZb"><div class="h5">________________________________<br>
Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!<br>
<a href="http://www.antiterroristas.cu" target="_blank">http://www.antiterroristas.cu</a><br>
<a href="http://justiciaparaloscinco.wordpress.com" target="_blank">http://justiciaparaloscinco.wordpress.com</a><br>
<br>
Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!<br>
<a href="http://www.antiterroristas.cu" target="_blank">http://www.antiterroristas.cu</a><br>
<a href="http://justiciaparaloscinco.wordpress.com" target="_blank">http://justiciaparaloscinco.wordpress.com</a><br>
</div></div></blockquote></div><br>