tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javier_esp...@hna.honda.com
Subject Re: Does Tomcat support clustering for automatic fail over?
Date Thu, 05 Nov 2015 16:01:27 GMT
Thank you Stephen and Mike for your responses.

Javier EspaƱa
Sr. Technical Analyst
Honda North America
Information Services Division
ISD Applications

(310) 972-4152
Email: javier_espana@hna.honda.com
www.honda.com

***Beginning May 18, 2015 my Phone number changed
Please update your contact information.
Thank you.***





From:	Stephen Booth <s.booth@ed.ac.uk>
To:	users@tomcat.apache.org,
Date:	11/05/2015 07:50 AM
Subject:	Re: Does Tomcat support clustering for automatic fail over?





On 04/11/2015 00:56, javier_espana@hna.honda.com wrote:
> I would like to setup a couple of servers for automatic fail-over.  In
case
> one fails the other can take over.  Does Tomcat support that kind of
setup?
> If so, can you direct me to where I can find some documentation about it?

As others have commented fail-over is usually handled by the
load-balancer but that still leaves the problem of the load-balancer as
a single point of failure.

One trick is to use CARP
https://en.wikipedia.org/wiki/Common_Address_Redundancy_Protocol
to fail over between servers. In the freely available linux
implementations this is not a substitute for a load balancer because
only one server is active at a time. Strictly speaking this is
redundancy of hosts not processes carp won't help you if the tomcat
process dies but the node stays up.

The actual configuration we use is to have redundant apache servers with
an ip address that fails over via CARP and then use apache as a load
balancer to access the tomcat nodes.
We don't really have the level of traffic to need a load-balancer but
putting in fail-over at every level of the software stack reduces
exposure to losing a process it also makes it easier to do work on the
tomcat processes while keeping the service live.

		 		 		 Stephen

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


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




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


Mime
View raw message