Book Image


By : James Denton
Book Image


By: James Denton

Overview of this book

Table of Contents (17 chapters)
Learning OpenStack Networking (Neutron)
About the Author
About the Reviewers

Fundamentals of load balancing

There are three major components to a load balancer in Neutron:

  • Pool member(s)

  • Pool(s)

  • Virtual IP(s)

A pool member is a layer 4 object and is composed of the IP address of a service and the listening port of the service. For example, a pool member might be a web server with a configured IP address,, listening on TCP port 80.

A pool is a group of pool members that typically serve identical content. A pool composed of web servers, for example, may resemble the following membership:

  • Server A:

  • Server B:

  • Server C:

A virtual IP, or VIP, is an IP address that resides on the load balancer and listens for incoming connections. The load balancer then balances client connections among the members of the associated pool. A virtual IP is usually exposed to the Internet and is often mapped to a domain name.

Load balancing algorithms

In Havana, the following load balancing algorithms can be applied to a pool:

  • Round robin

  • Least connections...