-
1. Re: can mod_cluster check status page in context to determine node availability?
jfclere May 27, 2011 3:54 AM (in response to augustsimonelli)mod_cluster only checks that the node is working it can't check application.
Hm if you really need it you can write our own metric to achieve that.
-
2. Re: can mod_cluster check status page in context to determine node availability?
augustsimonelli May 27, 2011 4:46 AM (in response to jfclere)ahh ok ... this sounds good. (fair warning: i'm a sysadmin, not a dev, but i wanna try this, forgive me if i'm waay off).
So, i found this:
"If your question is how to create a custom LoadMetric, simply implement org.jboss.modcluster.load.metric.LoadMetric and contribute it to the set of metrics with which your org.jboss.modcluster.load.impl.DynamicLoadBalanceFactorProvider is constructed."
from Paul Ferraro (http://community.jboss.org/message/533864) ...
That's pretty much what i need to do, right? And it can query the page they give me and react?
-
3. Re: can mod_cluster check status page in context to determine node availability?
augustsimonelli May 27, 2011 5:05 AM (in response to augustsimonelli)it's easier than i'm making it, isn't it?
http://docs.jboss.org/mod_cluster/1.0.0/html/javaload.html
and i just ask the devs to maybe output their status page to an mbean?
again aplogies for the ignorance.
-
4. Re: can mod_cluster check status page in context to determine node availability?
jfclere Jun 6, 2011 1:52 AM (in response to augustsimonelli)You have to implement a LoadMetric.