PDA

View Full Version : Ultra Monkey for multiple services?


dhammala
18th August 2006, 22:28
I was reading the Howto guides by Falko on High Availability for MySQL and Apache and a few questions came up. One of which is this: Is it possible for two Ultra Monkey boxes (read one pair/one load balancer) to manage the load for both services? Is this advisable or should each service have its own load balancer boxes?

We are working on creating a redundant, available setup for a LAMP application. Of course I am wanting to use minimum equipment where possible. Our application provides web, dns, smtp, imap an pop3 services and the web application is driven via MySQL. It would make sense to me that a pair of Ultra Monkey boxes could load balance all of that traffic to their respective servers, but is this advisable? Can it be configured to do that? At what point does network load become a problem?

Thanks for your time.

falko
19th August 2006, 15:29
Yes, that should be possible. I think you have to change /etc/ha.d/ldirectord.cf and add more resources there (one stanza for Apache, one for MySQL).