OpenStack mitaka,lbaasV2安装

前端之家收集整理的这篇文章主要介绍了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
原文链接:https://www.f2er.com/bash/392209.html

猜你在找的Bash相关文章