云主机之负载均衡

spacer.gif

wKioL1abdraj8GxpAAHrmLOuEkk677.png

wKioL1abdrnQ6y5VAAES6YQyBCE811.png

wKioL1abdr3xpZkVAAHrbrPg5Bo335.png

wKiom1abdomhAr1aAAE5mJwY0tE030.png

wKiom1abdoyzSg7sAADY_x8R1c8636.png

[root@linux-node1 ~]# yum install openstack-neutron-lbaas python-neutron-lbaas -y

[root@linux-node1 ~]# yum install haproxy -y

[root@linux-node1 ~]# vim /etc/neutron/lbaas_agent.ini

24 interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver

31 device_driver = neutron.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver

[root@linux-node1 ~]# vim /etc/neutron/neutron.conf

77 service_plugins = router,lbaas

[root@linux-node1 ~]# systemctl restart neutron-server

[root@linux-node1 ~]# systemctl start neutron-lbaas-agent 

wKioL1abdwyR6kVIAAGEJbo0luo574.png

wKiom1abdteDF4kGAAGUkYWWhGI542.png

wKioL1abdxDjH6CrAAGRiOKh-0E308.png


你可能感兴趣的:(负载均衡,主机)