Re: Ultra Monkey load balancing configuration problems -- please help.
"Roxana Diaconescu" <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
Thank you for your reply. > The entire purpose of ldirectord is to monitor the health of real servers. > It is important to choose a level of check that suits your needs. Just > changing the check type to make sure the cluster works usually glosses > over the fact that ldirectord is reporting that your real server is not > functioning correctly. There is a description of the different check You are right -- my service did not handle properly simple connect checks. I changed that, then put back in the checktype=connect and it worked. It allowed me to kill servers and still get the response either form the remaining ones, or from the director. Thanks for the hint. > At this stage ldirectord does not support plugging in custom checks as > modules (someone did send me a patch, but I think I might have lost it :( > Instead you will need to modify ldirectord (which is written in perl) to > add your check. This is quite easy, look at the check_http() subroutine > for an example of how to implemente a check. O.K. For now connect is good for me, so no need yet to write a more complex one. > >> > 2) Another question: I want my real servers to listen on different > > The question was if it is possible to use different ports for services > > on real servers. As I said, it is possible with LVS ipvsadm manual > > set-up. There must be something in the ldirectord script that enforces > > the same port number. > > It is only possible to use portmaping in conjunction with NAT. > This is a restriction of LVS and is enforced by the kernel. O.K., thanks for clarifying this. Two more questions, if you do not mind -- I highly appreciate taking your time to answer. 1) I am interested in setting up a two tier configuration, where the requests are balanced between two directors and then, within each director, to the corresponding real servers. I am in the process of reading the active-active paper. Would the software coming along the paper answer this question? At a glance, it seems it would. Could I still have my own services instead of standard ones? 2) I am also interested in custom routing with LVS (i.e. Level > 4, based on request content). So far I came across KTCPVS from the LVS people and Ultra Monkey-L7. They seem to be both level 7 load balancers. How do they compare (w.r.t. major features). There is not much english documentation on the UM-L7 site -- does it come with the distribution? Many thanks, Roxana. -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.