----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Jean-Baptiste Laplace wrote:
> 

> Hello,
> 
> I have two box each have one Apache and one JVM running.
> There Apaches are configured to do loadbalancing between the JServ.
> 
> Now.. I need to right a utility that will query the number of active
> sessions in the JVMs... my question is how can I query a specific JVM
> once I'm in loadbalanced mode? Sessions are owned by a zone right?
> So even if I create a Zone that is not loadbalanced, I won't be able
> to get the sessions for other zones in that JVM right !?!?
> 
> Thanks for any input.

Hi Jean-Baptiste,

I already had to solve this one for load-balancing administration GUI.

2 solutions :
- have a pseudo-set/JServ & zone: (preferred solution)

##### load-balancing for clients
ApJServMount /servlet balance://set/zone
ApJServBalance set PC1
ApJServBalance set PC2

##### admin tasks (points the same zone)
ApJServMount /check-PC1 balance://pseudo1-set/zone
ApJServMount /check-PC2 balance://pseudo2-set/zone
ApJServBalance pseudo1-set PC1
ApJServBalance pseudo2-set PC2

- 2nd sol : have a look at admin GUI urls used to hit one particular
balanced host. 
==> /jserv/engine/direct/host_name/routing_id/


Jean-Luc


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to