Re: The gap between ``Total'' and ``LbTot'' in stats page

2009-03-17 Thread FinalBSD
check it here: http://haproxy.1wt.eu/download/1.3/doc/configuration.txt 30. lbtot: total number of times a server was selected On Tue, Mar 17, 2009 at 1:56 PM, Sun Yijiang sunyiji...@gmail.com wrote: Hi you guys, I noticed that there's a huge gap between ``Total'' and ``LbTot'' numbers

Re: The gap between ``Total'' and ``LbTot'' in stats page

2009-03-17 Thread Sun Yijiang
Yeah, that's clear, thanks. I just wonder why ``LbTot'' is much smaller than ``Total''. 2009/3/17 FinalBSD final...@gmail.com check it here: http://haproxy.1wt.eu/download/1.3/doc/configuration.txt 30. lbtot: total number of times a server was selected On Tue, Mar 17, 2009 at 1:56 PM,

RE: The gap between ``Total'' and ``LbTot'' in stats page

2009-03-17 Thread John Lauro
Mine don't appear to have that much difference. Are any of the servers down, or maybe reaching their session limits? What's your retr and redis look like? From: Sun Yijiang [mailto:sunyiji...@gmail.com] Sent: Tuesday, March 17, 2009 3:18 AM To: kuan...@mail.51.com Cc: haproxy@formilux.org

Multiple Proxies

2009-03-17 Thread Scott Pinhorne
Hi All I am using haproxy to load balance/failover on a couple of my dev HTTP servers and it works really well. I would like to introduce hardware redundancy for the haproxy server, is this possible with the software? Best Regards Scott Pinhorne Tel: 0845 862 0371

RE: Multiple Proxies

2009-03-17 Thread John Lauro
Not built into Haproxy, but you can use heartbeat or keepalived along with haproxy for IP takeover on a pair of physical boxes (or VMs). From: Scott Pinhorne [mailto:scott.pinho...@voxit.co.uk] Sent: Tuesday, March 17, 2009 10:52 AM To: haproxy@formilux.org Subject: Multiple Proxies Hi

Re: Multiple Proxies

2009-03-17 Thread Joseph Hardeman
Scott, John is right, the way to do this is to use either heartbeat or keepalive and fail over a VIP to a secondary machine in case the first has issues. Make sure your haproxy files are identical and then test the failover. We use heartbeat for one of our clients and so far any time I

Re: Multiple Proxies

2009-03-17 Thread Jan-Frode Myklebust
On 2009-03-17, Joseph Hardeman jharde...@colocube.com wrote: John is right, the way to do this is to use either heartbeat or keepalive and fail over a VIP to a secondary machine in case the first has issues. Make sure your haproxy files are identical and then test the failover. I would

RE: Multiple Proxies

2009-03-17 Thread John Lauro
You need to explain a little more, as I am not understating something. Perhaps what you mean by VIP? If they share the same single VIP at the same time, then why would you use round-robin DNS? Round-robin is for multiple IP addresses...? Also, if you do a virtual IP like Microsoft Windows does

Re: Multiple Proxies

2009-03-17 Thread Jan-Frode Myklebust
On 2009-03-17, John Lauro john.la...@covenanteyes.com wrote: You need to explain a little more, as I am not understating something. Perhaps what you mean by VIP? Virtual IP address. With heartbeat, one normally has one staticly defined ip-address on the frontend interface on each server, and

Re: The gap between ``Total'' and ``LbTot'' in stats page

2009-03-17 Thread Sun Yijiang
Backend servers were down about 2 hours during the 37 hour up time. Session limits have been reached for frontend and all backend servers. Retr 138, Redis 0 for Backend. 2009/3/17 John Lauro john.la...@covenanteyes.com Mine don’t appear to have that much difference. Are any of the servers