Question

Floating IP is assigned to other droplet but is not accessible

Posted February 14, 2020 518 views
High Availability

Hi,

I have two nodes in DO running pgpool. I have assigned floating IP to one of the nodes in DO.I have configured my pgpool to use the floating IP. After starting pgpool on master node, I can see using ifconfig that my floating ip is attached to master node and my application which uses the floating IP to connect, runs fine.

After I shutdown my pgpool services on master node, I can see that floating ip is assigned to the second/standby node but my application is not able to connect to the IP.

If I do not use my application and try directly from command line then also it does not connect. Is the Floating IP bound to only one Droplet?

Thanks,
Nikhil

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hello,

Just came across this question. What I could suggest is to set your service bind address to 0.0.0.0, that way when the Floating IP changes your service should still be accessible.

Best,
Bobby