<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Wes,<div class=""><br class=""></div><div class="">Something must be awry with your configs. Can you share the watchdog relevant settings of your configs?</div><div style="orphans: 2; widows: 2;" class="">Perhaps your&nbsp;<span style="color: rgb(245, 245, 245); font-family: Monaco; background-color: rgb(0, 0, 0);" class="">heartbeat_destination0</span><span style="orphans: 2; text-align: -webkit-auto; widows: 2;" class="">&nbsp;and&nbsp;</span><span style="color: rgb(245, 245, 245); font-family: Monaco; background-color: rgb(0, 0, 0);" class="">other_pgpool_hostname0</span><span style="orphans: 2; text-align: -webkit-auto; widows: 2;" class="">&nbsp;are not set. Just a hunch. Make sure that the first is the hostname of the server you are running on and the&nbsp;“other” points to the other pgpool server.</span></div><div class=""><div apple-content-edited="true" class=""><div style="color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><br class=""></span></div><div style="color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">Cheers,<br class="">Gervais</span></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On May 18, 2015, at 5:30 PM, Wes Mitchell &lt;<a href="mailto:wes.mitchell@ericsson.com" class="">wes.mitchell@ericsson.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">

<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" class="">

<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;" class="">
<div class="">Hi,</div>
<div class=""><br class="">
</div>
<div class="">I am trying to configure pgpool-II for HA using watchdog.</div>
<div class="">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:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">2015-05-18 16:11:44: pid 26948: LOCATION: &nbsp;wd_ping.c:309</div>
<div class="">2015-05-18 16:11:44: pid 26948: FATAL: &nbsp;failed to initialize watchdog, delegate_IP "10.61.156.162" already exists</div>
</div>
<div class=""><br class="">
</div>
<div class="">And all processes then terminate.</div>
<div class=""><br class="">
</div>
<div class="">Please help me understand the proper configuration. I am setting</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>delegate_IP = ’10.61.156.162’</div>
<div class=""><br class="">
</div>
<div class="">I see that the interface is brought up and bound to that IP on the first instance, using ifconfig:</div>
<div class="">
<div class="">eth0:0 &nbsp; &nbsp;Link encap:Ethernet &nbsp;HWaddr 00:0C:29:39:17:DF</div>
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet addr:10.61.156.162 &nbsp;Bcast:10.61.156.255 &nbsp;Mask:255.255.255.0</div>
</div>
<div class=""><br class="">
</div>
<div class="">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?</div>
<div class=""><br class="">
</div>
<div class="">If you could also reply directly, I would appreciate it.</div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class="">//w</div>
</div>

_______________________________________________<br class="">pgpool-general mailing list<br class=""><a href="mailto:pgpool-general@pgpool.net" class="">pgpool-general@pgpool.net</a><br class="">http://www.pgpool.net/mailman/listinfo/pgpool-general<br class=""></div></blockquote></div><br class=""></div></body></html>