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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值