Hi ben, On 2006-08-24T12:00, ben wrote: > I just spent more time than I would have liked to searching for info > on providing HA/LB via CARP (and possibly other tools) for individual > services (such as http) rather than IP addresses. I was surprised to > find just about nothing on the topic since it seems like something > people would want to use CARP for. > > For example, lets say I have two machines set up as web servers, > sharing an IP address and load balanced with CARP. The httpd on one > host dies but it's interface is fine. CARP doesn't do load balancing you need pf on a third machine. man 4 carp & pf faq
> Doesn't that mean CARP has no effect and approximately half the > requests going to the virtual host ip address will timeout? That > sucks. CARP doesn't provide watchdog services. This topic (service watchdog) has been discused recently. > I'm guessing you can configure ifstated to run curl or something every > few seconds to monitor the httpd and respond by taking the CARP > interface down or rig up some hoc shell script to do roughly the same > thing. Right? Why don't bring up the service back? If you want to cut of the machine you have to use the third (pf) machine. hth, Marcus.

