Configure LBaaS on Ubuntu 14.04


Neutron controller node:

vi /etc/neutron/neutron.conf
service_plugins=router,lbaas

[service_providers]
service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default

service neutron-server restart

Neutron Network node:
aptitude -y install neutron-lbaas-agent haproxy

vi /etc/neutron/neutron.conf
service_plugins=router,lbaas

[service_providers]
service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default

vi /etc/neutron/lbaas_agent.ini
verbose = True
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
device_driver = neutron.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver

[haproxy]
user_group = haproxy

service neutron-plugin-openvswitch-agent restart
service neutron-lbaas-agent restart

Neutron Compute Node: not needed


openstack dashboard node:
vi /etc/openstack-dashboard/local_settings.py
OPENSTACK_NEUTRON_NETWORK = {
'enable_lb': True

service apache2 restart
service memcached restart

你可能感兴趣的:(LBaaS)