Hello,

I have this hardware solution

+ One HTTP/HTTPS balancer.
+ four serves 
 - Two Apaches (A1 and A2).
 - Mod_JK loadbalancer. (software)
 - Two Tomcats (T1 and T2). (CLUSTERED)

We want to use, for example, manager application.

Example: www.test.org/manager


But I would like to know in wich tomcat the session I am. Even I would like 
having something to force go to one of two Tomcat Servers.

I have tought two options:

OPTION 1: Use an HTTP port.
www.test.org:8081/manager for tomcat1
www.test.org:8082/manager for tomcat2

But I dislike it. I don´t want any application was servered in other por that 
not is 80 (HTTP).


OPTION 2: Use two xml archives.
CATALINA_HOME/conf/Catalina/www.test.org/manager1.xml
CATALINA_HOME/conf/Catalina/www.test.org/manager2.xml
And in apache 
JkMount /manager1 tomcat1
JkMount /manager2 tomcat2

but I dislike this option too because I don´t want to be creating two xmls 
archives in each Host that want to use with the application. Even must be too 
many application like manager (probe, host-manager, admin....)


ANY SOLUTIONs?


Regards
---------------------------------------------------------------------
 
Carlos García Gómez
Sistemas de Información y Comunicaciones
Fundación Integra. http://www.f-integra.org
 
Teléfono: +34 968 355161
Fax:      +34 968 355131
Correo:   carlos.gar...@f-integra.org
 
----------------------------------------------------------------------
 
Este mensaje y los posibles documentos adjuntos al mismo son confidenciales y 
dirigidos exclusivamente a los destinatarios de los mismos. Si por un error de 
transmisión, o equivocación en la dirección de envío, usted ha recibido este 
mensaje y no es el destinatario de la información, por favor, notifíqueselo
al remitente y borre este mensaje, sin usar, informar, distribuir, imprimir, 
copiar o difundir el mensaje, total o parcialmente, por ningún medio. Gracias.

Reply via email to