Hi Willy
I checked the cfg files for both HAProxy and heartbeat, and they're the same where they are supposed to be. You we're right about the SYSLOGD="-r" setting. I didn't know I had to do that. I've attached a new copy of the haproxy.log file I started when I restarted both LB1 and LB2 servers. It shows from the time it works at 08:54, till it stops at 09:14. The log is from LB1, and the same log on LB2 shows "May 16 09:14:58 lb2 -- MARK --" when I couldn't get back into the stats. I still can get to my test local web site even after the stats go away.
Tom
-----Original Message-----
From: Willy Tarreau [mailto:w#1wt.eu]
Sent: Saturday, May 16, 2009 12:18 AM
To: Tom Potwin
Cc: haproxy#formilux.org
Subject: Re: New HAProxy user keeps loosing connection
On Fri, May 15, 2009 at 05:03:07PM -0400, Tom Potwin wrote:
> I don't think I'm going to be much help there. I'm connected to the
> Internet through a wireless broadband right now. I connect to my
> network through a VPN connection. The server just sees me as a local
address.
>
> I had it working for a short time, and I saved what showed up on
> syslog for the time it stared to work, to the moment it stopped. The
> last entry is at
> 16:17:01 when it was still working. It stopped working at about 16:30,
> but nothing showed in any of the logs. Except again for the entry in
> the apache error. I'm attaching the syslog copy here showing just the
> time I talked about. I don't know if that helps, but please know that
> I really appreciate all the help.
Well, unfortunately there is no haproxy log here. Are you sure that your syslogd listens to the UDP socket ? (check for the "-r" option). However, in the logs heartbeat is saying that it switches to node lb2 and that lb1 goes standby. So most likely your second click is handled by lb2, and maybe that one does not have exactly the same config options. You should compare the configs.
Regards,
Willy
This archive was generated by hypermail 2.2.0 : 2009/05/16 16:00 CEST