Haproxy Primary and Standby configuration

Source: Internet
Author: User
Tags haproxy

global    maxconn 100000    log /dev/log local0  noticedefaults    mode tcp    log global     option redispatch    retries 3    timeout connect  5s    timeout client 1210s    timeout server  1210slisten stats :8642    mode http    stats  enable    stats uri /    stats auth admin: adminfrontend bbs  bind :28000  default_backend bbsbackend bbs   balance leastconn  server bbs-app_9801 bbs-server-1:9801 weight 1  maxconn 4096 check inter 1000  server bbs-app_9801 bbs-server-2 : 9801 weight 1 maxconn 4096 check inter 1000  server bbs-mysql-master_3306  Bbs-mysql-server:3306  check inter 1000 backup


Haproxy Primary and Standby configuration

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.