首页 > 代码库 > Configure LBaaS on Ubuntu 14.04

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

本文出自 “Ilovecat(个人笔记)” 博客,请务必保留此出处http://hj192837.blog.51cto.com/655995/1427256