标签:lbaas
devstack
添加下面的行到local.conf
enable_service q-lbaas
安装agent
apt-get install neutron-lbaas-agent haproxy
编辑LBaaS节点上的/etc/neutron/neutron.conf
[service_providers] service_provider = LOADBALANCER:Haproxy:neutron_lbaas.servicesloadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default local.conf
编辑LBaaS节点上的/etc/neutron/lbaas_agent.ini
[DEFAULT] interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver device_driver = neutron.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver
编辑neutron-server节点上的/etc/neutron/neutron.conf
service_plugins = neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,neutro n.services.loadbalancer.plugin.LoadBalancerPlugin
local.conf
[[local|localrc]] ADMIN_PASSWORD=root DATABASE_PASSWORD=$ADMIN_PASSWORD RABBIT_PASSWORD=$ADMIN_PASSWORD SERVICE_PASSWORD=$ADMIN_PASSWORD SERVICE_TOKEN=super-secret-admin-token DEST=/opt/stack SERVICE_DIR=$DEST/status DATA_DIR=$DEST/data LOGFILE=$DEST/logs/stack.sh.log LOGDIR=$DEST/logs # The default fixed range (10.0.0.0/24) conflicted with an address # range I was using locally. #FIXED_RANGE=127.254.1.0/24 #NETWORK_GATEWAY=127.254.1.1 # Services disable_service n-net enable_service q-svc enable_service q-agt enable_service q-dhcp enable_service q-l3 enable_service q-meta enable_service horizon enable_service q-lbaas
参考链接
https://wiki.openstack.org/wiki/Neutron/LBaaS/HowToRun
http://www.cnblogs.com/feisky/p/3853734.html
本文出自 “武陵荒草” 博客,请务必保留此出处http://penguintux.blog.51cto.com/3021117/1693192
标签:lbaas
原文地址:http://penguintux.blog.51cto.com/3021117/1693192