Atom feed of this document
  
 

 Configure Load-Balancing-as-a-Service (LBaaS)

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.

  1. Install the agent:

    # apt-get install neutron-lbaas-agent
  2. Enable the HAProxy plug-in using the service_provider parameter in the /etc/neutron/neutron.conf file:

    service_provider = LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
  3. Enable the load balancer plugin using service_plugin in the /etc/neutron/neutron.conf file:

    service_plugins = neutron.services.loadbalancer.plugin.LoadBalancerPlugin
  4. Enable the HAProxy load balancer in the /etc/neutron/lbaas_agent.ini file:

    device_driver = neutron.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver
  5. Select the required driver in the /etc/neutron/lbaas_agent.ini file:

    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-server and neutron-lbaas-agent services.

    [Note]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.

  6. Enable Load Balancing in the Project section of the Dashboard user interface:

    Change the enable_lb option to True in the /etc/openstack-dashboard/local_settings file:

    OPENSTACK_NEUTRON_NETWORK = {'enable_lb': True,

    Apply the new settings by restarting the httpd service. You can now view the Load Balancer management options in dashboard's Project view.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...