Linux Server Load balancer cluster system solution

Source: Internet
Author: User
Linux Server Load balancer cluster system solution-Linux Enterprise Application-Linux server application information. For details, refer to the following section. 1. Introduction to Linux virtual servers

Linux Virtual Server (LVS) is a high-availability Server Load balancer cluster system. The system can provide Load Capacity proportional to the number and performance of server nodes, effectively improving service throughput, reliability, redundancy, adaptability, and high performance and price ratio. At the same time, LVS is also an effective way to achieve high-end server performance using low-end devices.

Linux Virtual Server (LVS) is built on a cluster composed of a director server and several real-Server instances. Real-server is responsible for providing services. The master server controls the real-server Based on the specified scheduling algorithm. The cluster structure is transparent to users. The client only communicates with a single IP address (virtual IP address of the cluster system). That is to say, from the client perspective, only one server exists here.

Real-server provides many services, such as ftp, http, dns, telnet, nntp, and smtp. The master Server controls the Real-Server. When a client sends a service request to LVS, Director uses a specific scheduling algorithm to specify a Real-Server to respond to the request. The client only responds to the Load Balancer IP address (virtual IP address, VIP.

   Ii. Advantages

* Increase throughput: to achieve higher throughput, the overhead of adding real-servers in LVS only increases linearly. If we choose to replace a higher-performance server to achieve a considerable throughput, the overhead is much larger, and the replaced old server will cause a waste of resources.

* Redundancy: if a real-server in LVS stops the service due to upgrade or other reasons, the termination and restoration of the service will not interrupt the service of the entire LVS client.

* Adaptability: whether the throughput needs to change gradually (due to changes in daily transactions) or quickly (due to sudden changes in transactions), the increase or decrease in the number of servers is transparent to the client.

   Iii. Structure Diagram



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // linux.ccidnet.com/col/attachment/2006/10/865177.jpg'); ">



The traditional "Client/Server" relationship is still applicable in LVS because:

* The IP addresses of all servers are mapped to one IP address (VIP). The client can only see this IP address.
* All servers regard it as directly related to the client.
Basic settings of an LVS
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.