[pgpool-general: 3581] Re: Watchdog config

Gervais de Montbrun gervais at silverorange.com
Tue Mar 31 21:45:58 JST 2015

Hi Mark,

I have pgpool with watchdog running as a user (not root) and everything works. I made some extra scripts for ifup, ifdown, arping and gave the user sudo access to those scripts only. The user doesn’t own the files, so the scripts can not be edited. It all seems to work (I am in testing stages now with my cluster setup).

If you run into an issue, I may be able to help.


> On Mar 31, 2015, at 3:43 AM, Mark Kirkwood <mark.kirkwood at catalyst.net.nz> wrote:
> On 31/03/15 15:57, Mark Kirkwood wrote:
>> I'm looking at setting up the watchdog to use a delegated ip. I note
>> that the docs suggest either running pgpool as root or making ifconfig
>> setuid root. I wondered if it could be done with *neither* of these
>> changes. I figured we should be able to use sudo on the ifconfig bit,
>> and setup the sudoers so that the usual pgpool user (say postgres) can
>> perform the ifconfig command.
>> Seemed to work ok (patch of config file changes attached). Is this
>> approach worth adding to the docs?
> Doh! I see that there is in fact mention of this in the docs (maybe I was looking at an older version previously), sorry! However, perhaps a more prominent mentioning, complete with examples of the modified command line(s) might be useful.
> Cheers
> mark
> _______________________________________________
> pgpool-general mailing list
> pgpool-general at pgpool.net
> http://www.pgpool.net/mailman/listinfo/pgpool-general

More information about the pgpool-general mailing list