You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Pavan Singaraju <ma...@gmail.com> on 2008/08/04 13:46:07 UTC

Manager configuration when using load balancer and clustering

Hi all,
    I have successfully configured the load balancer using Apache and
clustering in Tomcat. I have a question here for managing the container of
Tomcat using Tomcat Manager.
    If i want to do the management of the container, how can i specify the
specific web container of Tomcat 1. This is because all the requests will be
handled and forwarded by the Apache to each of the Tomcat. I know i can
provide the domain:port to access the specific container, but is there a way
to manage all the containers together??
    I know something like this may sound a little stupid because each
container is different from the other and so it could not be possible.  But
if there is a way i don't want to miss it.
    If i want to use the same, should all the 'tomcat-users.xml' be same on
all the clustered nodes?
    Please provide me with some information and insight.
Thank you in advance
--
Pavan Kumar Singaraju

Re: Manager configuration when using load balancer and clustering

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gabe,

Gabe Wong wrote:
| Hi Pavan,
| If you want to access a specific Application Server, then in Apache,
| just create individual VirtualHosts for each in addition to the LB.

If sticky servers are being used, you could always set the jvmroute on
your session id to hit a particular server. This might require you to
disable cookies on your browser or modify the JSESSIONID cookie.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiXHy8ACgkQ9CaO5/Lv0PAmcgCfSaAYjA9hmE4q1Nl4S7SmXpYU
e2wAoLLtJDg7kLPhR62IJ+yV4Pbt1Cyq
=7XPK
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Manager configuration when using load balancer and clustering

Posted by Gabe Wong <ga...@ngasi.com>.
Hi Pavan,
If you want to access a specific Application Server, then in Apache, 
just create individual VirtualHosts for each in addition to the LB.
Regards

Pavan Singaraju wrote:
> Hi all,
>     I have successfully configured the load balancer using Apache and
> clustering in Tomcat. I have a question here for managing the container of
> Tomcat using Tomcat Manager.
>     If i want to do the management of the container, how can i specify the
> specific web container of Tomcat 1. This is because all the requests will be
> handled and forwarded by the Apache to each of the Tomcat. I know i can
> provide the domain:port to access the specific container, but is there a way
> to manage all the containers together??
>     I know something like this may sound a little stupid because each
> container is different from the other and so it could not be possible.  But
> if there is a way i don't want to miss it.
>     If i want to use the same, should all the 'tomcat-users.xml' be same on
> all the clustered nodes?
>     Please provide me with some information and insight.
> Thank you in advance
> --
> Pavan Kumar Singaraju
>
>   


-- 
Regards

Gabe Wong
NGASI AppServer Manager
JAVA AUTOMATION and SaaS Enablement for Cloud Computing
http://www.ngasi.com
NEW! FREE Developer account for Hosted version on Amazon EC2


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org