[pgpool-general: 8025] Re: Problems with delegate_ip

Bo Peng pengbo at sraoss.co.jp
Tue Feb 22 09:57:47 JST 2022


Hello,

On Mon, 21 Feb 2022 11:53:34 +0100
cen <imbacen at gmail.com> wrote:

> Hi, I have a weird problem with delegate IP
> 
> 
> I have two ubuntu 20.04 instances, 10.10.20.1/16 and 10.10.20.2/16.
> 
> I set the delegate IP to 10.10.30.211/24. After this, when master node 
> acquires the delegate IP, all dns resolution on master stops working. 
> DNS is on 10.10.30.10
> 
> I think it is because the DNS IP falls into the delegate IP range? I 
> tried to narrow the delegate IP range to /28 so it does not overlap with DNS
> 
> but then I started having weird problems with "connection refused" 
> (pgpool can be pinged via delegate IP but port is supposedly not 
> listening, even though if I check on master node it IS listening on 
> 0.0.0.0/0). Doing arping from client to master node makes the connection 
> work temporarily.
> 
> 
> Could someone shed some light on how to set the delegate IP and netmask 
> properly?

If you manually execute the commands specified in if_up_cmd and arping_cmd,
can you set the delegate IP properly?

You can specify any command in these parameters.

> _______________________________________________
> pgpool-general mailing list
> pgpool-general at pgpool.net
> http://www.pgpool.net/mailman/listinfo/pgpool-general


-- 
Bo Peng <pengbo at sraoss.co.jp>
SRA OSS, Inc. Japan
http://www.sraoss.co.jp/


More information about the pgpool-general mailing list