[pgpool-general: 5016] Re: New connection to master cannot initiate when slave goes down

Piotr Gbyliczek P.Gbyliczek at node4.co.uk
Thu Sep 22 17:26:28 JST 2016


On Wednesday 21 September 2016 23:12:27 Krzysztof Mościcki wrote:
> Hello
> 
> I have problem with initiate new connection to master node through
> pgpool, when slave node goes down.
> 
> I have configuration, where is streamin replication mode, and
> failover_over_backend_error is off. System Ubuntu 14.04, Pgpool 3.5.3
> version + patch from:
> http://www.sraoss.jp/pipermail/pgpool-general/2016-July/004884.html,
> Postgres version 9.4.
> 
> I tested this on Google Cloud, when are 3 servers:
> 
> 1. Postgres master + Pgpool (ip: 10.1.0.19),
> 
> 2. Postgres slave + Pgpool (ip: 10.1.0.23),
> 
> 3. Pgpool
> 
> On second server I run "ifdown eth0", and current connections works, but
> I can't initiate new connection.

So, if I understand correctly, you are shutting down the network interface on 
server 2 and from that point that server has problem connecting to postgresql 
via pgpool ? Would that be because that server is running active pgpool and 
you connecting locally to it, which means on simulated downtime it has lost 
connection to primary database in pool (which sits on server 1, right )? 

Regards
Piotr

Piotr Gbyliczek
Solutions Engineer

Node4 Ltd Innovation House, Cafferata Way, Newark, NG24 2TN
ddi. 08454 210444 | t. 0845 421 0444
e. P.Gbyliczek at node4.co.uk



Node4 Limited is registered in England No: 04759927 and has its registered office at Millennium Way, Pride Park, Derby, DE24 8HZ
The information contained in this email is confidential and is intended for the exclusive use of the email addressee shown.
If you are not the addressee, any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited.
If you have received this mail in error, please notify our mail manager at abuse at node4.co.uk and delete it from your system.
Opinions expressed in this email are those of the individual not the company, unless specifically indicated to that effect.

This email has been scanned inbound by Node4's Email Security System.

This email message has been delivered safely and archived online by Mimecast.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20160922/a5ae2c07/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 116092209263200439.png
Type: image/png
Size: 1315 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20160922/a5ae2c07/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 116092209263200639.png
Type: image/png
Size: 16168 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20160922/a5ae2c07/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 116092209263200839.png
Type: image/png
Size: 19451 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20160922/a5ae2c07/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 116092209263201039.png
Type: image/png
Size: 17391 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20160922/a5ae2c07/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 116092209263201239.png
Type: image/png
Size: 16076 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20160922/a5ae2c07/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 116092209263201439.png
Type: image/png
Size: 16233 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20160922/a5ae2c07/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 116092209263201639.gif
Type: image/gif
Size: 18993 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20160922/a5ae2c07/attachment-0001.gif>


More information about the pgpool-general mailing list