O'Reilly logo

Learning OpenStack High Availability by Rishabh Sharma

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Load Balancing for Active/Active Services

To avoid a single point of failure in OpenStack, we set up a two-node load balancer configuration with HAProxy, and keepalived. HAProxy provides a very consistent load balancing and high availability solution for applications, which are based on TCP and HTTP.

The two nodes monitor each other using keepalived. This is a piece of software that can be used to achieve high availability by assigning a virtual IP to two or more nodes and monitoring these nodes, and then failing over when one of the nodes goes down. The keepalived can do more than this, such as load balancing and monitoring. However, in this chapter, we'll focus on a very simple setup, that is IP failover.

In this chapter, we will cover ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required