Note that there are some explanatory texts on larger screens.

plurals
  1. POTomcat active passive failover
    primarykey
    data
    text
    <p>I'm trying to make my application highly available using <strong>active/passive</strong> method. I currently deploy the application on a Tomcat server, which could either be hosted on Windows or Linux platform.</p> <p>So, now I deploy it on two Tomcat servers. Each server runs on a separate machine. I configure the Tomcats to be of the same cluster via Tomcat configuration which gives me session replication (storing in DB). I use some web server / load balancer to redirect requests (not decided yet).</p> <p>The problem is that the application <em>cannot run simultaneously on both Tomcats</em> since it is currently stateful (and it's too costly to make it stateless). I actually need that only <em>one</em> Tomcat will be up at the same time. Or, for the least, that only one application will be started on a Tomcat.</p> <p>To sum it up, I need a software that can:</p> <ol> <li>Identify invalid state of application via HTTP request (either machine/Tomcat is down or application is otherwise unresponsive);</li> <li>Start Tomcat instance or application on Tomcat when the other application is identified as invalid;</li> <li>Stop Tomcat instance or application on Tomcat when it's identified as invalid.</li> <li>Support both Linux and Windows platforms...</li> </ol> <p>This product can be a library that's used on our JVM, it may be separate monitoring processes that reside on the Tomcats machines and communicate with each-other and with the Tomcats, it may use our DB. It may use the web server machine...</p> <p>I searched for off-of-the-shelf products that do it (<a href="http://clusterlabs.org/wiki/Pacemaker" rel="nofollow">Pacemaker</a>/<a href="http://www.corosync.org/" rel="nofollow">CoroSync</a>/<a href="http://www.keepalived.org/" rel="nofollow">keepalived</a>), all not supporting Windows (as far as I understand).</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload