Ask Your Question
0

Floating IP Failover

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

maskeda gravatar image

In theory, I have two HAProxy machines with keepalived for failover only.

10.10.10.5 haproxy-01 10.10.10.6 haproxy-02

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

Does neutron have a way to either assign 8.8.8.8 to two network ports so that the UP node can always be access via 8.8.8.8 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

Comments

Using lbaas is suitable for your purposes?

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

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

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

2 answers

Sort by ยป oldest newest most voted
0

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 485 times

Last updated: Jun 01 '16