[pgpool-general: 2794] Re: ask pgpool for status

Yugo Nagata nagata at sraoss.co.jp
Wed Apr 23 20:36:33 JST 2014


On Wed, 23 Apr 2014 11:37:46 +0200
Attila Heidrich <attila.heidrich at gmail.com> wrote:

> Dear guys!
> 
> What command or script do u use for asking the pgpool's current status?

I mainly use pcp_node_info, pcp_watchdog_info, and "SHOW pool_nodes".

> I have written a small wrapper for pcp. Since pcp is available on all nodes
> running pgpool2, I have setup the target IP for 217.0.0.1.
> 
> Am I right, that I should have the same result asking the same thing on all
> the nodes? Or should I use the common address, not the local one? It's a

Sorry, I'm confused and not sure what difference is. Could you show usecases?

> good way to have consistent results (mainly) all the time for sure, but
> what's recommended?
> 
> 
> regards,
> Attila


-- 
Yugo Nagata <nagata at sraoss.co.jp>


More information about the pgpool-general mailing list