Hi,
We have Apache-Jboss setup, where Apache webserver connects to 2 Jboss application server using mod_jk module.
In worker.properties on webserver it was defined that hits have to be eqaully distributed to both Jboss nodes with
worker.node1.lbfactor=1
worker.node2.lbfactor=1
My question here is, How we can prove that hits are getting equally distributed?
Can we have a log file on Apache webserve itself to say these many hits got redirected to node1 and node2?
One possible solution is to generate access log on both jboss nodes. but i don't want to do it, as it's not in my scope of work/
Best Regards
Mano
We can collect the information on Apache in mod jk log with following JkRequestLogFormat "%w %m %V %R %T"
where
%R | Session route name (available with 1.2.19 and up) |