users@glassfish.java.net

Re: in-memory session replication problem between two server

From: Daniel Adelhardt <Daniel.Adelhardt_at_Sun.COM>
Date: Mon, 01 Sep 2008 11:23:12 +0200

Hi

Just to get a better understanding:
- Are your 4 cluster instances belonging to the same cluster or are do
you have two clusters with cluster1 (with node1 and3) and cluster2(with
node2 and4)
- Could you post some server startup logs from eg node1 and node2
showing the output from the GMS and inMemRep?

regards
Daniel


glassfish_at_javadesktop.org schrieb:
> Hi there,
>
> I'm having some trouble with a glassfish cluster running on two different machines:
> - the first server is named node1 and holds the instances, node1 and node3
> - the second server is named node2 and holds the instances node2 and node4
> - both server run in the same subnet
>
> Both server were set up using the setup-cluster option and the node agents on these machines were configured using the DAS which is running on a third server with the respective asadmin command:
> asadmin --create-node-agent --host <dashost> --port <dasport> <nodeagentname>
>
> The cluster instances on each node server were created using the admin GUI which was also used to check the availability settings and all other relevant stuff.
>
> After deploying the clusterjsp sample application on that cluster, every two cluster instances on each server replicate their session without any trouble. node1 and node3 share their session information and node2 and node4 share their session information but they don't replicate cross-server.
>
> I've done lots of tests with one-machine-clusters before and everything worked well, switching to a two-machine-cluster, the replication between those two machines fails :(
>
> I've checked the log files of the nodes for some hints but didn't find any useful entries, maybe because I don't know what to look for.
>
> So if someone has any idea what might be the problem or could provide some hints where i should start analyzing the problem, please feel free to answer ;-)
>
> Thanks in Advance
> Christian
> [Message sent by forum member 'schommi' (schommi)]
>
> http://forums.java.net/jive/thread.jspa?messageID=296502
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>


-- 
========================================================================
Daniel Adelhardt                        Tel:           +49 89 460082443
Software Architect                      Mobile:        +49 172 8417283               
Sun Microsystems GmbH                   Email:  daniel.adelhardt_at_sun.com
Sonnenallee 1
D-85551 Kirchheim-Heimstetten
Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551
Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer