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

Linux command: one of the linux cluster series-LVS type resolution

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

Share

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

The main advantages of cluster system are:

High scalability:

High availability: one node in the cluster fails and its tasks can be transferred to other nodes. It can effectively prevent single point failure.

High performance: load balancing clusters allow the system to access more users at the same time.

Cost-effective: high-performance systems can be constructed with cheap hardware that meets industry standards

Cluster type:

The three most common types of clusters:

Load balancing Cluster: LB (load balancing)

Hardware load balancing (Hardware): 1, F5Magee big IP 2, Citrix,Netscaler 3, A10

Software load balancing (Software): 1. Layer 4 device LVS

Layer 7 device: reverse proxy nginx (http,smtp,pop3,imap) haproxy (http,tcp (mysql,smtp))

High availability Cluster: HA (High Availability)

High performance is also called science cluster: HP (High Performance)

LVS:Linux Virtual Server (layer 4 routing device)

Type:

NAT: address translation type

DR: direct routin

TUN: tunnel

CIP:client IP client IP VIP:virtual IP virtual IP

DIP:Director IP Director IP RIP:real server IP Real Server IP

NAT:

1. Cluster nodes and Director must be in the same IP network

2. RIP (real server IP) is usually a private address and is only used for communication between cluster nodes.

3. Director is located between client and real server and is responsible for handling all incoming and outgoing communications

4. Real server must point the gateway to DIP

5. Support port mapping

6. Real server can use any OS.

7. In large-scale application scenarios, director is easy to become a system bottleneck.

DR:

1. The cluster node and director must be in the same physical network.

2. RIP can use public network address to realize convenient remote management and monitoring.

3. Director is only responsible for processing inbound requests, and the response message is sent directly to the client by real server.

4. Real server cannot point the gateway to DIP

5. Port mapping is not supported

TUN:

1. Cluster nodes can span Internet

2. RIP must be a public network address

3. Director is only responsible for processing inbound requests, and the response message is sent directly to the client by real server.

4. Real server cannot point the gateway to DIP

5. Only OS that supports tunneling can be used in real server.

6. Port mapping is not supported

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