[pgpool-general: 3722] Re: Questions about watchdog

Gervais de Montbrun gervais at silverorange.com
Tue May 19 07:13:15 JST 2015


Hi Wes,

Something must be awry with your configs. Can you share the watchdog relevant settings of your configs?
Perhaps your heartbeat_destination0 and other_pgpool_hostname0 are not set. Just a hunch. Make sure that the first is the hostname of the server you are running on and the “other” points to the other pgpool server.

Cheers,
Gervais

> On May 18, 2015, at 5:30 PM, Wes Mitchell <wes.mitchell at ericsson.com> wrote:
> 
> Hi,
> 
> I am trying to configure pgpool-II for HA using watchdog.
> I am running into the following issue: if I specify the delegate_IP parameter on both pgpool hosts, then whichever one is brought up second fails:
> 
> 2015-05-18 16:11:44: pid 26948: LOCATION:  wd_ping.c:309
> 2015-05-18 16:11:44: pid 26948: FATAL:  failed to initialize watchdog, delegate_IP "10.61.156.162" already exists
> 
> And all processes then terminate.
> 
> Please help me understand the proper configuration. I am setting
> delegate_IP = ’10.61.156.162’
> 
> I see that the interface is brought up and bound to that IP on the first instance, using ifconfig:
> eth0:0    Link encap:Ethernet  HWaddr 00:0C:29:39:17:DF
>           inet addr:10.61.156.162  Bcast:10.61.156.255  Mask:255.255.255.0
> 
> Is there some setting to tell pgpool process that it is master or standby? How do I set delegate_IP so that failover will bring up the IP on the promoted machine?
> 
> If you could also reply directly, I would appreciate it.
> 
> Thanks,
> //w
> _______________________________________________
> pgpool-general mailing list
> pgpool-general at pgpool.net
> http://www.pgpool.net/mailman/listinfo/pgpool-general

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20150518/acdc481e/attachment.html>


More information about the pgpool-general mailing list