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

What is the implementation mechanism of LBaaS?

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article introduces you how the implementation mechanism of LBaaS is, the content is very detailed, interested friends can use it for reference, hope to be helpful to you.

Today, we focus on how Neutron uses Haproxy to achieve responsible equilibrium.

Running ip netns on the control node, we found that Neutron created a new namespace qlbaas-xxx.

This namespace corresponds to the pool "web servers" we created.

Its naming format is qlbaas-

< pool ID>

.

You can view its settings through ip a.

VIP 172.16.100.11 is already configured on namespace interface.

The corresponding configuration for that interface can also be found in the Port list of subnet.

For each pool,Neutron, a haproxy process is started to provide load balancering functionality.

Find the haproxy process through the ps command

The haproxy configuration file is saved in / opt/stack/data/neutron/lbaas/

< pool ID>

/ conf.

View the configuration content of "web servers"

1. The HTTP address used by frontend is VIP:80

2. The HTTP addresses used by backend are 172.16.100.10 and 172.16.100.9

3. Balance method is roundrobin

These contents are consistent with our previous configuration.

About how the implementation mechanism of LBaaS is shared here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

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