<div class="xam_msg_class">
<div style="font: normal 13px Arial; color:rgb(0, 0, 0);"><div>At Fist Hallo to everybody.</div><div>&nbsp;</div><div>I'm installed a distribute architecture with 2 pgpool (3.1.3) server and 2 postgress (9.0.5) server, (at this moment only one pgpool server is active because I'm not configure pgpool HA yet).<br>I was starting a failover test but my first try was unsuccesfuly at the recover stage and I manually configure old master&nbsp; to standby server.</div><div>Now I have backend server 1 master and&nbsp; backend server 0 standby, but the failover_command sample script assume 0 as master and 1 as slave so the script do nothing.</div><div>I want to customize script without this assumption and my question is: can I query pgpool to kwon who is the actually the master node?&nbsp; </div><div>If I can do it the failover script can know who is the master and so also if the master is backend 1 it can start failover touching the trigger file on right node</div><div>&nbsp;</div><div>Sorry for my bad English.</div><div>&nbsp;</div><div>Italo <br></div></div>
</div>