Installing LBaaS
The neutron-lbaas-agent
service typically runs on the network node, which in this demonstration is controller01
.
Issue the following command on the controller node to install the LBaaS agent and its dependencies, including HAProxy:
# apt-get install neutron-lbaas-agent
Configuring the Neutron LBaaS agent service
Neutron stores the LBaaS agent configuration in the /etc/neutron/lbaas_agent.ini
file. The most common configuration options will be covered in the upcoming sections.
Defining an interface driver
Like the previously installed agents, the Neutron LBaaS agent must be configured to use an interface driver that corresponds to the chosen networking driver. In this configuration, there are two options:
LinuxBridge
Open vSwitch
Update the Neutron LBaaS agent configuration file node at /etc/neutron/lbaas_agent.ini
on the controller to use one of the following drivers.
For LinuxBridge:
[DEFAULT] ... interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
For Open vSwitch...