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

The load balancing HTTP REST API

Here we consider a Python-based module to act as a web server that is running on two different instances (web_1 and web_2) on the OpenStack infrastructure. The basic index.html file running on these nodes acts as sample HTTP application.

Creating a load balancing pool

An IP pool is created, as follows, with the name Ib_pool_1:

Creating a load balancing pool

The Add Pool table dropdown menu is selected with the following data:

  • Provider = haproxy: This is the default option
  • Subnet = 10.10.10.0/24: This attribute is a subnet used to attach the instances to the subnet and for load balance
  • Protocol = HTTP: In this, we can have other protocol options also ...

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