A cluster is a group of computers interconnected through a high-speed network and managed in a single system mode; many servers are brought together to provide the same service, and it appears to the client as if there is only one server . LVS (Linux Virtual Server) is a virtual server cluster system.
Cluster
#A group of clusters interconnected by telling the network Computer group, and managed in a single system mode
Combine many servers together to provide the same service, and it will appear to the client as if there is only one server.
You can obtain relatively high gains in performance, reliability, and flexibility at a lower cost.
Task scheduling is Core technology in cluster system
Cluster purpose
Improve performance
-such as computing intensive Type applications, such as: weather forecasting, nuclear test models
Reduce costs
-Compared to million-dollar supercomputers, the price is cheaper
Improve scalability
-Just add cluster nodes
Enhance reliability
-Multiple nodes complete the same function , to avoid single points of failure.
Cluster classification
LVS (Linux Virtual Server)
LVS is the abbreviation of Linux Virtual Server, which means Linux virtual server and is a virtual server cluster system. This project was established by Dr. Zhang Wensong in May 1998. It is one of the earliest free software projects in China. LVS can be used to implement highly available and scalable network services such as Web, Mail, Cache and MediaThe ultimate goal is to use the Linux operating system and LVS cluster software to achieve a highly available and high-performance , low-cost server application cluster.LVS cluster composition
LVS terminology
-Virtual server implemented through network address translation
-When there are large concurrent accesses, the performance of the scheduler becomes a bottleneck
- Directly use routing technology to implement virtual servers
-Node servers need to configure VIP, pay attention to MAC address broadcast
-VS/TUN
-Virtual servers are implemented through tunnels
LVS currently implements 10 scheduling algorithms
There are 4 commonly used scheduling algorithms
-Round Robin
-Weighted Round Robin
-Least Connections
-Weighted Least Connections )
For more related knowledge, please visit:
PHP Chinese websiteThe above is the detailed content of What are clusters and LVS?. For more information, please follow other related articles on the PHP Chinese website!