On 2/6/07, Rob Bugh <[EMAIL PROTECTED]> wrote:
I currently have the following load balancing configuration: Apache with mod_jk and 2 Tomcat servers and Apache acts as the load balancer for the two Tomcat servers. I'm concerned about the single point of failure with Apache, however. Is there an alternate configuration that, for instance, allows me to have more than one Apache server balancing the Tomcat servers?
If you /need/ real-time redundancy/failover, you want dedicated load balancer hardware. If your budget doesn't cover that, here's the bargain way(tm): Set up two servers with Apache httpd, call 'em X and Y. X is configured with the Web server's public IP address. A cron job on Y pings or gets a test page every N seconds from X. If that fails (or depending on how trigger-happy you want to be, fails for some # of attempts) then the cron job on Y ifconfigs the box to respond to the IP of X. (You can criss-cross this if you're using round-robin-DNS.) Hacky zero-dollar failover, and duct tape left over :-) FWIW! -- Hassan Schroeder ------------------------ [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]