I have two nodes in a cluster. Node1 initially servers requests. Loadbalancer redirects the request to node 2 if the first node fails. I would like to know if there is a way for the Node 2 to detect if it is getting the request that was supposed for the node 1 or in other words to know if the node1 just failed.
I am using Tomcat 6 with session replication.