Book Image

OpenStack Networking Cookbook

Book Image

OpenStack Networking Cookbook

Overview of this book

Table of Contents (19 chapters)
OpenStack Networking Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Installing and configuring the Neutron load balancer service plugin


This recipe shows you how to install and configure the Load Balancer as a Service (LBaaS) plugin in Neutron.

The reference implementation of LBaaS in Neutron uses HAProxy along with the network namespace.

Getting ready

For this recipe, you will need the following information:

  • The login credentials to the Controller and Network node

How to do it…

The following steps will show you how to install the load balancer service with Neutron:

  1. With the appropriate credentials, SSH into the node where the Neutron server is running. In our setup, it will be the Controller and Network node.

  2. Install the packages required to provide the load balancer services using a package manager such as yum or apt on the Network node, as follows:

    openstack@controller:~$ sudo apt-get install python-neutron-lbaas neutron-lbaas-agent haproxy
    
  3. Open the neutron.conf configuration file using your desired editor. For example, the command for the vi editor will be as...