By santu
I need a Virtual Private IP for an failover setup of pgpool-II. How do I get Vitual Private IP? I want to setup a cluster of 2 pgpool-II instance and my app should access it with common identity through private communication how do I achieve that if Virtual Private IP is not available.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
In a cloud environment, you may not be able to use a traditional Virtual Private IP. Though on DigitalOcean, you can use a Floating IP for situations like this. With pgpool-II you can provide a script that will be executed as the failover happens. In this script, you can assign the Floating IP from one instance to the other. This simple Python script or the DigitalOcean command line client could be used in your failover script to move a Floating IP.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.