Deploy Haproxy 1.7.2, centos7.2haproxy
Original article published on cu:
Reference:
This article involves the installation of haproxy and simple configuration.I. Environment preparation 1. Operating System
CentOS-7-x86_64-Everything-15112. Haproxy version
As of, the haproxy stable version is 1.7.2: http://www.haproxy.o
First, HAProxy
1.haproxy Introduction
HAProxy is a free, fast, and reliable solution that provides high availability, load balancing, and proxy software based on TCP (layer fourth) and HTTP (layer seventh) applications that support virtual hosting.
Haproxy is a free and open source software written in C lan
Description
Operating system: CentOS 5.X 64-bit
Web server: 192.168.21.127, 192.168.21.128
Sites: Bbs.111cn.net and Sns.111cn.net deployed on two Web servers
To achieve the purpose:
Add two servers (main main mode) to achieve Web server load balancing through haproxy+keepalived
Architecture Planning:
Haproxy server: 192.168.21.129, 192.168.
Recently do not know why Vshere old newspaper a mistake, sometimes in the configuration of Vcenter (OVF), sometimes appear erro:vpxd must be stopped to perform this operation the error, The tip is to let me turn off the VPXD service.650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/48/59/wKiom1QHCIbAoNcDAAH2ojSOqLM276.jpg "title=" Clipboard.png "alt=" Wkiom1qhcibaoncdaah2ojsoqlm276.jpg "/>This kind of error occurs occasionally, but the new version does not know why it often occurs, and
2000 pay. So this is the first and last time, the company makes me feel more satisfied with the things. But that's what I deserve, and it's understandable.PostScriptAt this point, I have completely finished my book sales career, I guess I will not be able to go back to the future. In fact, we can see that, for the teacher's enterprise, I expressed a lot of dissatisfaction, these dissatisfaction is not my sentimental, nothing, but a reasonable, in exchange for who will feel uncomfortable.Speakin
Company ProfileHongyan electrical appliances are well-known building electrical products production, management enterprises, but also the national 863 program CIMS (Computer Integrated manufacturing System) application Engineering demonstration Enterprises, high-tech enterprises in Zhejiang Province, Zhejiang province patent demonstration Enterprises and Hangzhou informatization Pilot Enterprises.Enterprise SystemsPan-Micro OADatabase typeSQL ServerRequirements DescriptionHongyan Electric applia
and consumer service, and can accelerate the establishment of membership information management platform to Inter Act on the net beneath the platform. Within the provide chain, would finish the class Direct mode copy to upstream suppliers, in a effort to enhance the Soluti on expense. To meet the ' national brand ' tonality, the primary base for many national dress item. Hailan shops reported, Sea Orchid Property Ltd. owns "Sea Orchid House", "Eichitoo", "Clothes Baishun" and "Sheng Kainu O "4
Problem Description: Due to the implementation of Vcloud, the vcenter domain is required for the IaaS Server server account to gain access to the vcenter hardware resources, the results found in vcenter domain when the host name is not available to join the domain, After you change the vcenter hostname, you still cannot join the domain.Workaround: The test found that the Vcenter host time and ESXi host is not synchronized, after changing the vcenter host's time zone, the time and ESXi host synch
Haproxy provides high availability, load balancing, and proxies based on TCP and HTTP applications, supporting virtual hosting, which is a free, fast, and reliable solution. Haproxy is especially useful for Web sites that are heavily loaded, and often require session-hold or seven-tier processing. The haproxy runs on the current hardware and can support tens of t
Software load balancing is generally implemented in two ways: software load implementation based on the operating system and software load implementation based on third-party applications. LVS is a kind of soft load based on the Linux operating system. HAProxy is an open-source software load based on the third application. Nginx can also be used, but nginx only works on Layer 7 networks. Reference Software for details
Server load balancerGenerally, tw
Haproxy is currently a popular cluster scheduling tool, similar cluster scheduling tool has many, such as LVS and Nginx, compared to the best performance of LVS, but the construction of relatively complex, Nginx upstream module support cluster function, but the cluster node health Check function is not strong, Performance is not hapr oxy good. The official website of Haproxy is http://
Introduction and orientation of Haproxy
Haproxy provides high availability , load Balancing , and proxies based on TCP and HTTP applications to support virtual hosts , a free, fast, and reliable solution. According to official data, its maximum limit supports 10G concurrency.
Haproxy is especially useful for Web sites that are heavily loaded, which typically r
B domain name into the English site, which is almost impossible to achieve in the four-tier load balancer, And seven-tier load balancing can be based on the client access to different domain names to select the corresponding Web page for load balancing processing. Common seven-layer load balancer has haproxy, nginx and so on.Here is still a common example of TCP applications, because the load balancer to obtain the content of the message, so can only
balancer, and seven-layer negative Load balancing can be handled according to the different Web pages of the client accessing the domain name.
Common seven-tier load balancers have Haproxy, Nginx, and so on. Haproxy supports two main proxy modes: TCP is the 4 layer (mostly for mail servers, internal protocol communication servers, etc.).
In 4-tier mode, Haproxy
First, HAProxyHardware-based load balancing devices: F5,BIG-IP, etc.Software-based load balancing products: Haproxy,lvs,nginx, etc.In the software load balancing product, it is divided into system-based soft load implementation and soft load implementation based on third-party software, and LVs is a kind of soft load based on system implementation. HA Proxy is a soft load balancer based on third-party application1.
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.