OpenStack mitaka,lbaasV2安装

安装步骤:

1.在控制节点上安装lbaasV2

yum install -y  openstack-neutron-lbaas

2.修改配置文件 /etc/neutron/neutron.conf

[defualt]
service_plugins = [existing service plugins],neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2

[service_providers]
service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default

3.修改配置文件 /etc/neutron/lbaas_agent.ini

interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver

4.更新neutron数据库

neutron-db-manage --subproject neutron-lbaas upgrade head

5.启动 lbaasV2 agent

 systemctl enable neutron-lbaasv2-agent
 systemctl start neutron-lbaasv2-agent
 systemctl restart neutron-server

6.安装dashboard for lbaasV2

git clone https://git.openstack.org/openstack/neutron-lbaas-dashboard -b stable/mitaka

cd  neutron-lbaas-dashboard
python setup.py install

cp neutron_lbaas_dashboard/enabled/_1481_project_ng_loadbalancersv2_panel.py  /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/

7.重新启动httpd

systemctl restart httpd

你可能感兴趣的:(centos,7,openstack)