from:http://yuhongchun.blog.51cto.com/1604432/697466
Now the trend of Web site development on the use of Network Load balancing with the increase of site size according to different stages to use different technologies:One is the hardware to carry out, the common hardware has more expensive NetScaler, F5, Radware and array and other commercial load
Three major software load balancer comparisons (LVS, Nginx, HAproxy)(Information from the network, made part of the supplementary instructions)LVS:1. Strong anti-load capability, high performance, can reach F5 60%, low memory and CPU resource consumption2. Work in the Networ
arise-the login cannot be successful. Because there is no session hold, the load balancer may forward the 2nd request to the other server.(5) Forwarding Protocol protocol. There are generally TCP and UDP two types.2, Real server real_server. That is, the server pool. The value of the real_server includes the IP address and port number.(1) Weight weight. The weight value is a number, the greater the value,
I used nginx to implement the website load balancing test. In windows, IIS performs load measurement.
If your website traffic (pv) is getting higher and higher, and one server is no longer able to withstand the traffic pressure, increase the number of WEB servers for load.
Website load can be achieved by buying hardw
protocol are: DNS,NTP,ICP, video, audio streaming protocol and so on.LVS has no limitations on real server's operating system, and real server can run on any TCP/IP-enabled operating system, including Linux, Unix (such as FreeBSD, Sun Solaris, HP UNIX, etc.), mac/ OS, Windows, and more.3.5 Open Source SoftwareThe LVS cluster software is a free software issued under the GPL (GNU public License) license, so
same time realize the reasonable balance of load, Enables the application to have an extremely high-load service capability that supports millions of concurrent connection requests. If you configure a Gigabit network card, using Vs/tun or VS/DR scheduling technology, the entire cluster system throughput can be as high as 1gbits/s, such as the configuration of gigabit network cards, the maximum throughput o
, video, audio streaming protocol and so on.LVS has no limitations on real server's operating system, and real server can run on any TCP/IP-enabled operating system, including Linux, Unix (such as FreeBSD, Sun Solaris, HP UNIX, etc.), mac/ OS, Windows, and more.3.5 Open Source SoftwareThe LVS cluster software is a free software issued under the GPL (GNU public License) license, so the user can obtain the so
1 overviewIn order to guarantee the stable operation of the bastion host-instruction channel, it is necessary to implement the load balance of instruction channel, and study to determine the use of LVS software.LVS is the abbreviation for Linux virtual server, that is, the Linux server, the official site is: www.linuxvirtualserver.org2 LVS ArchitectureLVS set up server cluster to achieve load balancing has
that can monitor the state of the system. Graphic Monitor is browser-based, so the status of the system can be monitored either locally or offsite. For security reasons, the browser through the HTTPS (secure HTTP) protocol and identity authentication, before the system monitoring, and system configuration and management.Advantages1, open source, free2, can find some related technical resources on the Internet3, with software
. Instead of executing the LVS script we configured above, because Ldirectord will automatically call Ipvsadm to create the LVS routing table, we have described above using the IPVSADM command line to configure LVS in order to give readers a deeper understanding of IPVSADM implementation details and implementation mechanisms.If you are configuring LVS through the Piranha tool, you do not need to use the Ldirectord,piranha tool for the system process is pluse, this process will also automatically
for failure and then shuts down the connection service for this node.Now restart the service that starts the real Server1 node, and then observe the log output of the Pluse service:Nov 16:49:41 LVs nanny[7158]: making 192.168.60.132:80 availableThe nanny daemon automatically detects that the real Server1 service has been activated and re-makes the node available for connection within the set detection time.This article is from the "Technical Achievement Dream" blog, please be sure to keep this
Haproxy + Apache for Linux Server Load balancer Software
Haproxy provides high availability, Server Load balancer, and reverse proxy Based on TCP and HTTP applications, especially for websites with extremely high loads that usually require session persistence or layer-7 proc
Linux load Balancer software LVS II (Installation article)2011-04-26 16:01:47Tags: LVS installation configuration Linux LVS Leisure Linux high AvailabilityOriginal works, allow reprint, please be sure to use hyperlinks in the form of the original source of the article, author information and this statement. Otherwise, the legal liability will be investigated. htt
.[Email protected] ~]# ipvsadm-a-t 192.168.60.200:80-r 192.168.60.132:80–g[Email protected] ~]# ipvsadm-a-t 192.168.60.200:80-r 192.168.60.144:80–gThe above two settings indicate that two new real server records are added to the virtual server 192.168.60.200, two real server IPs are 192.168.60.132 and 192.168, respectively. 60.144, Parameter "-G" Specifies that the operating mode of the virtual server is the direct route mode, which is the DR mode.After this is set up, when the user accesses the
192.168.60.132:80–g[Email protected] ~]# ipvsadm-a-t 192.168.60.200:80-r 192.168.60.144:80–gThe above two settings indicate that two new real server records are added to the virtual server 192.168.60.200, two real server IPs are 192.168.60.132 and 192.168, respectively. 60.144, Parameter "-G" Specifies that the operating mode of the virtual server is the direct route mode, which is the DR mode.After this is set up, when the user accesses the 192.168.60.200 80 service, LVS assigns the request to
automatically start the System Service)
Only for the Current User, on port 8080, when startedManually (Only for the Current User to install, use port 8080, manually start)
Select the first port. (check whether port 80 of the local machine is not in use)
After entering the information, click "next"
5. Go to the "Setup Type" page, including Typical (installed by default) and Custom (Custom installation). select Custom and click "Next"
6. go to the Custom Setup page, click Apacche HTTP Server 2.
information becomes as follows: ldirectord|32454] quiescent Real server:192.168.60.132:80 (192.168.60.200:80) (Weight set to 0) This log output is to set the weight of the failed node 192.168.60.132 to 0 without removing the host from the LVS routing table, at which point the connected client will become unreachable, but the new connection will not be assigned to this node. If you restart the real Server1 service, Ldirectord will be able to automatically detect that the node has been activat
, which is the VIP address above, is shared by the director server and all real servers,If there is an ARP request VIP address, the Director server responds with all real servers, and the problem occurs.Therefore, the real server needs to be prevented from responding to ARP requests.Third, configure the Tomcat service on the real server, slightly. To build an HTML file in 192.18.8.5, the contents are:This is the test pageFrom server 192.168.8.5To build an HTML file in 192.18.8.6, the contents ar
and server systems by protecting Server clusters from various types of DoS attacks.
The advent of the Internet has brought a lot of new applications and services: Web, DNS, FTP, SMTP and so on. Fortunately, it is very easy to differentiate and process the Internet traffic. Because the Internet has a large number of clients requesting specific services, and each client can be identified by IP addresses, this makes it feasible to distribute the load
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.