tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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

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

From:	Stephen Booth <>
Date:	11/05/2015 07:50 AM
Subject:	Re: Does Tomcat support clustering for automatic fail over?

On 04/11/2015 00:56, wrote:
> I would like to setup a couple of servers for automatic fail-over.  In
> one fails the other can take over.  Does Tomcat support that kind of
> 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
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.


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

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message