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.
Hello, You should look into Octavia project: LoadBalancer as a Service. Best Regards, Romain ________________________________________ From: lejeczek <peljasz@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.
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@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?
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@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. Cheers, Thomas Goirand (zigo)
Hi,
On 26 Jul 2020, at 12:51, Thomas Goirand <zigo@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@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
Hi lejeczek, What you are describing is what a load balancer provides. The load balancing project for OpenStack is Octavia. We have a cookbook that can guide you through setting up a load balancer: https://docs.openstack.org/octavia/latest/user/guides/basic-cookbook.html We also gave an OpenStack summit presentation that is an introduction to load balancing: https://youtu.be/BBgP3_qhJ00 Load balancers provide the health monitoring and automatic redirection of network traffic. They can also provide this failover much faster than reconfiguring a floating IP. Michael On Thu, Jul 23, 2020 at 11:56 AM lejeczek <peljasz@yahoo.co.uk> wrote:
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.
participants (5)
-
CHANU ROMAIN
-
lejeczek
-
Michael Johnson
-
Slawek Kaplonski
-
Thomas Goirand