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:
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.
Install the packages required to provide the load balancer services using a package manager such as
yum
orapt
on the Network node, as follows:openstack@controller:~$ sudo apt-get install python-neutron-lbaas neutron-lbaas-agent haproxy
Open the
neutron.conf
configuration file using your desired editor. For example, the command for the vi editor will be as...