Centos 6.0 System Keepalived+haproxy realize httpd simple load balancing

Source: Internet
Author: User
Tags centos haproxy

This paper Centos6.0

Haproxy provides high availability, load balancing, and proxies based on TCP and HTTP applications to support virtual hosts, a free, fast, and reliable solution. Haproxy is especially useful for Web sites that are heavily loaded, which typically require session maintenance or seven-tier processing. Haproxy is running on the current hardware and can support tens of thousands of concurrent connections altogether. and its operating mode makes it easy and secure to integrate into your current architecture while protecting your Web server from being exposed to the network.

Here are two haproxy responsible for backstage control, using keepalived to achieve hot standby; Here's the point:

It's disgusting.

role; host name; IP;

Haproxy1; Node1 192.168.244.147

Haproxy2; Node2 192.168.244.148

S1 (WEB1); Lv1 192.168.244.149

S2 (WEB2); Lv2 192.168.244.150

Haproxy's two servers provide vip:192.168.244.200

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.