users@glassfish.java.net

GFv2: Resync of failed cluster nodes

From: <glassfish_at_javadesktop.org>
Date: Fri, 11 May 2007 08:17:44 PDT

Hi

I have setup a cluster of 2 nodes with GF build 46.
The cluster is configured to use in mem replication and has apache+mod_jk in front (glassfish ajp listener enabled). Doing some testing on the availability aspect I did the following with a test application (web app + Statefull SB):

- Start Cluster with 2 nodes
- access app to create http session and sfsb instances, populate sessions with some data
- kill one cluster node -> failover to other node is working great, session data is there
- restart the killed node, wait some seconds and access it (through lb)-> ups, session is not there!

So the question is: if a failed cluster node gets restarted does it get the session data replicated back from the other instance(s) using in memory replication? Why doesn't this happen in my scenario?

Thanks for hints
Daniel
[Message sent by forum member 'barz26' (barz26)]

http://forums.java.net/jive/thread.jspa?messageID=216510