Recently want to be able to configure load balancing, in the virtual machine above, but the Internet to find a lot of information is fragmented, for people who do not know, a lot of not enough detail, recently finally done, the specific steps to write down, convenient for you to read the studyThis experiment requires the installation of Nginx if not installed, please refer to:Linux installation nginx:http:/
Build a mysql Server Load balancer and a high-availability environment and a mysql Server Load balancer
Objective: To use two hosts to achieve Mysql load balancing and redundancy, and achieve dual-master-slave mutual backup;
Environment: rhel5.8, mysql-5.0.77, keepalived-1.2
=======================================
F5 Full Name: F5-BIG-IP-GTM Global traffic manager.
is a company called F5 Networks development of the four-seven-layer switch, hardware and software bundles.
It is said to have originally used BSD systems, which are now Linux; hardware is Intel's PC architecture, plus the surrounding network and dedicated acceleration d
don ' t know even for F5, let alone we competitors), and the element with the highest value are chosen to receive the connection. This somewhat counters the weaknesses of the both of the original algorithms, but does no account for when a server was about To is overloaded–like when three requests to that Query-heavy JSP has just been submitted, but not yet hit the heavy Wo RK.
Predictive : The predictive method uses the ranking meth
/*** Lihaibo* The content of the article is based on the practice of their own work.* If there is an error, please correct me* No reprint without the consent of the author*/Planning:
F5
Big Big-IP
Intranet
192.168.100.0
255.255.255.0
External network
10.50.20.0
255.255.255.0
Virtual Server
Vs_
Load balancer dedicated devices, which are available from many companies. The use of specialized hardware equipment provided by specialized companies is very valuable to many companies with specific requirements, such as banking, telecommunications and other industries, but hardware aging speed is too fast, feel a device has not started to use, it is going to enter the recession period. I also vaguely remem
capability. However, some data shows that most vswitches no longer have a layer-4 switching capability at such a high speed, only layer-3 or layer-2 exchange is supported.
However, for most sites, the current load balancing mainly solves the bottleneck of the Web server's processing capability, rather than the network transmission capability. The total Internet connection bandwidth of many sites is less than 10 MB, only a few sites can have high-sp
the environment.
4. E-commerce Web site High-performance, highly available solutions, LVS load balancing (front-end four-tier load balancer).
5. The key point explanation of the construction process, the key step explanation.
6. This program has been used in practical production applications for many times, and can be flexibly applied.
Second, the software
requirements, in addition, line upgrades are too expensive or even difficult to implement. In this case, we can consider using the trunking technology.
Link aggregation technology (Layer 2 load balancing) uses multiple physical links as a single aggregation Logical Link. network data traffic is shared by all physical links in the aggregation Logical Link, this increases the capacity of the link logically so that it can meet the demand for increased b
balancer modifies the source address while modifying the destination IP address. Set the source address of the data packet to its own disk, that is, the source address conversion (snat ). (2) use the server load balancer server as the gateway server of the real physical server cluster.
Advantages:
(1) data distribution in the kernel process is better than distri
is a virtual IP address of keepalived. It is an external public IP address and also an IP address pointed to by DNS. Therefore, when designing the website architecture, you must apply for an external IP address from your IDC.
11. during actual project implementation, we found that LVS and nginx have excellent support for HTTPS, especially LVS, which is easier to process.
12. During LVS + keepalived and nginx + keepalived troubleshooting, both of them
At present, the global application of a wide range of load balancing equipment for the United States F5. F5 in China in the end of 2000, in the domestic industry, F5 load balancing products have become the mainstream load balancin
server load balancer: the real physical server is returned to the server load balancer. There are two methods: (1) the server load balancer modifies the source address while modifying the destination IP address. Set the source ad
PS: nginx/LVS/haproxy is currently the most widely used three load balancing software. I have implemented these software in multiple projects. I have referenced some materials and combined some of my experience in using it, to sum up.
Generally, Server Load balancer uses different technologies at different stages as the website scale increases. Specific Applica
: This article mainly introduces (summary) the advantages and disadvantages of NginxLVSHAProxy server load balancer software. For more information about PHP tutorials, see. PS: Nginx/LVS/HAProxy is currently the most widely used three load balancing software. I have implemented these software in multiple projects. I have referenced some materials and combined som
Nginx/lvs/haproxy Load Balancer software pros and consHttp://www.ha97.com/5646.htmlPs:nginx/lvs/haproxy is currently the most widely used three load balancing software, I have been implemented in a number of projects, reference to some information, combined with some of their own experience, summed up.The general use of load
Ps:nginx/lvs/haproxy is currently the most widely used three load balancing software, I have been implemented in a number of projects, reference to some information, combined with some of their own experience, summed up.The general use of load balancing is to use different technologies depending on the stage of the site's ascent. Specific application needs to be specific analysis, if it is small and medium-
Ningx acts as a Load balancer and is also a reverse proxy server. The configuration syntax is quite simple. It can be used to balance the backend servers by round robin, IP_hash, url_hash, weight, and other methods, it also supports backend server health check. In addition, it has advantages over LVS because it is based on Layer 7 Server 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.