[Pgpool-general] execute a command when one node is back?

Tomasz Chmielewski mangoo at wpkg.org
Sun Nov 15 23:38:46 UTC 2009


Tomasz Chmielewski wrote:
> When one node is gone, pgpool-ii can execute a "failover_command".
> 
> 
> After a node is recovered, pgpool-ii can execute a "failback_command".
> 
> 
> What I lack (or can't find) is something executed between those two 
> commands: a command executed when the node is back (is reachable again).
> 
> 
> Is something like this possible with pgpool-ii?

Hmm, tcpdump tells me that pgpool-ii does not try to reconnect after it 
detects a failed PostgreSQL node.

So, the only way to detect the node is back is to use i.e. a cron job 
executed every minute - am I correct?


-- 
Tomasz Chmielewski
http://wpkg.org


More information about the Pgpool-general mailing list