Hi all,

I tried to configure a 2 node cluster (courtesy
http://www.howtoforge.com/high-availability-load-balancer-haproxy-heartbeat-fedora8)...Heartbeatis
working fine.I checked it as per the instructions. It is not showing
shared ip of other lb when one is alive and heartbeat service is starting
well. But the problem is when i start ha proxy service. It is showing the
following error.

Starting haproxy: [ALERT] 015/191034 (15631) : Starting proxy webfarm:
cannot bind socket...on both load balancers

Details:
Webserver ip's xxx.xx.x.4 and xxx.xx.x.5
Load balancer Ip's xxx.xx.x.3 and xxx.xx.x.9
shared ip xxx.xx.x.10

My haproxy.cfg

global
        log 127.0.0.1   local0
        log 127.0.0.1   local1 notice
        #log loghost    local0 info
        maxconn 4096
        #debug
        #quiet
        user haproxy
        group haproxy

defaults
        log     global
        mode    http
        option  httplog
        option  dontlognull
        retries 3
        redispatch
        maxconn 2000
        contimeout      5000
        clitimeout      50000
        srvtimeout      50000

listen webfarm xxx.xx.x.10:80
       mode http
       balance roundrobin
       option httpclose
       option forwardfor
       cookie SERVERID insert indirect
       option httpchk HEAD /check.txt HTTP/1.0
       server webA xxx.xx.x.4:80 cookie A check
       server webB xxx.xx.x.5:80 cookie B check



So I have checked each file thoroughly and I followed the instructions
neatly. How can start haproxy in my system??? with out any error.

regards
kiran
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to