Configure Load-Balancing-as-a-Service (LBaas) with the Open vSwitch or Linux Bridge plug-in. The Open vSwitch LBaaS driver is required when enabling LBaaS for OVS-based plug-ins, including BigSwitch, Floodlight, NEC, NSX, and Ryu.
Install the agent:
# apt-get install neutron-lbaas-agent
Enable the HAProxy plug-in using the
service_providerparameter in the/etc/neutron/neutron.conffile:service_provider = LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
Enable the load balancer plugin using
service_pluginin the/etc/neutron/neutron.conffile:service_plugins = neutron.services.loadbalancer.plugin.LoadBalancerPlugin
Enable the HAProxy load balancer in the
/etc/neutron/lbaas_agent.inifile:device_driver = neutron.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver
Select the required driver in the
/etc/neutron/lbaas_agent.inifile:Enable the Open vSwitch LBaaS driver:
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
Or enable the Linux Bridge LBaaS driver:
interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
Apply the new settings by restarting the
neutron-serverandneutron-lbaas-agentservices.![[Note]](../common/images/admon/note.png)
Upgrade from Havana to Icehouse There were changes in LBaaS server-agent communications in Icehouse so during Havana to Icehouse transition make sure to upgrade both server and agent sides before actual use of the load balancing service.
Enable Load Balancing in the section of the Dashboard user interface:
Change the
enable_lboption toTruein the/etc/openstack-dashboard/local_settingsfile:OPENSTACK_NEUTRON_NETWORK = {'enable_lb': True,Apply the new settings by restarting the
httpdservice. You can now view the Load Balancer management options in dashboard's view.

