Hi Grant, On Thu, Sep 20, 2012 at 07:18:30AM +1000, Grant Brown wrote: > hey > > i've been having some problems with my LVS configuration, after a few hours > its stops checking the real servers and then fails the ports. i want to > move over to haproxy but i can only find excmples of http setups. i need to > be able to load balance SMTP, POP, HTTP, and DNS
You won't do DNS with haproxy since it's for TCP-based services only. Also, you need to keep in mind that since it's a proxy, by default your servers will see its own IP address in their logs instead of the original client's. The move is not completely transparent, haproxy and LVS do not work the same way and in fact they are quite complementary. The best proof is that we install them both in our ALOHA appliances, LVS is for layer 3/4 and haproxy is for layer 7. Really, if LVS gives you satisfaction for your services, you should keep using it, especially for DNS, POP and SMTP where haproxy's added value will be quite limited. Maybe you should start by updating/replacing the daemon which runs the health checks ? We're having great success with keepalived, are you using it or something else ? Regards, Willy

