Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure LBaaS

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to configure LBaaS, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

First enable the LBaaS service in the configuration.

Neutron provides LBaaS services through lbaas plugin and lbaas agent.

Lbaas plugin runs on the control node with Neutron Server. Lbaas agent runs on network nodes.

For our experimental environment, the control node and the network node are both devstack-controller.

Configure LBaaS agent

Where Neutron configures LBaaS agent is / etc/neutron/services/loadbalancer/haproxy/lbaas_agent.ini.

Define interface_driver:

The function of interface_driver is to set the network interface driver of load balancer, and there are two options:

Linux Bridge

Interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver

Open vSwitch

Interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver

Configure LBaaS plugin

Set to enable LBaaS plugin in / etc/neutron/neutron.conf

Set service provider in / etc/neutron/neutron_lbaas.conf

As you can see from the comments, in addition to the default HAProxy,Neutron, third-party provider is also supported, such as radware,VMWareEdge.

Restart the neutron service to ensure that LBaaS is running properly.

We will practice the following LBaaS environment.

The environment is described as follows:

1. Create a Pool "web servers".

two。 The two pool member "WEB1" and "WEB2" are both instance running Ubuntu cloud image.

3. Load balancer VIP is associated with floating IP.

4. Client on the public network accesses web server through floating IP.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report