Link to home
Start Free TrialLog in
Avatar of maxalarie
maxalarieFlag for Canada

asked on

Tomcat clustering

Good day,  I am quite new to  Tomcat..

I would like to know the basics of clustering application servers.. How  does it work? I read some doc on  tomcat website, but im not sure i understand..

Lets say i have a server and a  oracle database running on the same server. I decide to install  tomcat on my laptop as well , do I need an oracle client  on my laptop?  or Tomcat manages everything?  
Avatar of arnold
arnold
Flag of United States of America image

Clustering means that you have a common reference you use to access a resource.
An application has an IP resource that shifts between the nodes.
The service also is part of the cluster resources such that it only runs on the active node.

It kind of works the same as customer service/technical support.
I.e. you have one phone number to call ( Application Clustered IP). The phone system at the remote location directs the call to a person in the queue (application service resource).

One often does not want to cluster a web server but rather have the webservers configured behind loadbalancers.  This is mainly because the webservers most often read data.

You would likely have to install oracle client software on the laptop and configure it so that your tomcat pages can access the Oracle database.

ASKER CERTIFIED SOLUTION
Avatar of mrjoltcola
mrjoltcola
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial