floating IP - HA, kind of - how ?

Slawek Kaplonski skaplons at redhat.com
Mon Jul 27 07:56:22 UTC 2020


Hi,

> On 26 Jul 2020, at 12:51, Thomas Goirand <zigo at debian.org> wrote:
> 
> On 7/25/20 11:07 AM, lejeczek wrote:
>> 
>> 
>> On 23/07/2020 20:01, CHANU ROMAIN wrote:
>>> Hello,
>>> 
>>> You should look into Octavia project: LoadBalancer as a Service.
>>> 
>>> Best Regards,
>>> Romain
>>> ________________________________________
>>> From: lejeczek <peljasz at yahoo.co.uk>
>>> Sent: Thursday, July 23, 2020 8:51 PM
>>> To: OpenStack Discuss
>>> Subject: floating IP - HA, kind of - how ?
>>> 
>>> hi guys,
>>> 
>>> A novice here so go easy on me please.
>>> I wonder - is there a mechanism in openstack, a built-in
>>> feature where a floating IP could be juggled between
>>> guests/instances dynamically - would you know?
>>> What comes to mind is something like HA/pacemaker, something
>>> where business logic operates around condition and actions.
>>> I cannot make is simpler than such an example - instance_A
>>> has floating_IPa but if something "bad" happens to it then
>>> floating_IPa moves to instance_B - can something like that
>>> be handled by openstack's tooling or goes outside its realm
>>> and can only be worked out however anybody would do it
>>> individually?
>>> 
>>> many thanks, L.
>> Would what you suggest be achievable, doable by a non-admin?
> 
> As long as Octavia is installed, yes. If not, then you can achieve what
> Octavia does using VRRP ports sharing a floating IP (which you wouldn't
> assign, just reserve). That's in fact more or less what Octavia does.

IIRC Octavia is not using Neutron’ Floating IP but it creates additional port with fixed IP address and uses this IP to move it between keepalived instances.
If You want to do that, please remember to add this additional IP address to allowed address pair in ports connected to Your VMs. Please also be aware of bug [1] which causes some problems with such setup when DVR is used.

> 
> Cheers,
> 
> Thomas Goirand (zigo)

[1] https://bugs.launchpad.net/neutron/+bug/1774459

— 
Slawek Kaplonski
Principal software engineer
Red Hat




More information about the openstack-discuss mailing list