Ask Your Question

Floating IP Failover

asked 2016-06-01 16:30:50 -0500

maskeda gravatar image

In theory, I have two HAProxy machines with keepalived for failover only. haproxy-01 haproxy-02

My clients need to access the UP node via for example.

Does neutron have a way to either assign to two network ports so that the UP node can always be access via or is there another wait to failover a floating ip when the UP node is DOWN?

I currently am manually creating two neutron ports with fixed-ips and they each get their own floating ip but I only need one floating ip period.

edit retag flag offensive close merge delete


Using lbaas is suitable for your purposes?

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-06-02 02:05:40 -0500 )edit

Neutron lbaas is not available as a service yet in this environment

maskeda gravatar imagemaskeda ( 2016-06-02 12:28:58 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2016-06-02 08:45:34 -0500

nathwill gravatar image

You can use allowed-address-pairs for this. Create a port for the VIP, then update the ports assigned to the instances to specify the VIP as an allowed address pair. Then configure keepalived on the instancesto manage the vip. to make it public, assign a floating ip to the vip.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-06-01 16:30:50 -0500

Seen: 656 times

Last updated: Jun 01 '16