[Linux-HA] HA proxy start
Dejan Muhamedagic
dejanmm at fastmail.fm
Mon Jan 19 06:02:22 MST 2009
Hi,
You need to find a more appropriate forum: heartbeat isn't
haproxy.
Thanks,
Dejan
On Fri, Jan 16, 2009 at 07:23:13PM +0530, kiran sarvabhotla wrote:
> 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
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
More information about the Linux-HA
mailing list