users@glassfish.java.net

Re: Glassfish 2.1.1 multi-physical machine clustering

From: Barry van Someren <goltharnl_at_gmail.com>
Date: Tue, 16 Mar 2010 15:01:39 +0100

Hi,

Just to be sure, did you check the availability option when deploying?
Other than that, the Glassfish clusting code depends on Multicast
working properly for your network.
If it doesn't work then that might be the problem.

Regards,

Barry

On Tue, Mar 16, 2010 at 00:28, <glassfish_at_javadesktop.org> wrote:
> Hello,
>
> I have been working to cluster glassfish using 2 node agents managing 2 server instances across 2 separate machines using in memory replication.  To front and load balance these instances we have picked mod_proxy (no reason other than it has worked in the past) using the ajp connectors.  Load balancing failover in between instances running on the same machines & node agents works great.  We can shut off one or the other or manually fail over the mod_proxy connection and the session is saved.  The problem arises when I try to failover from one physical machine / node agent to another.  The session data is not saved and a new session is created.  In addition, there are no meaningful log messaged or errors.  Is there some secret to setting up cross-server replication?  Is this a feature that is not supported by glassfish when using mod_proxy?  I have not tried the suggested http balancing and apache plugin mentioned on this page:
>
> http://www.packtpub.com/article/configuring-load-balancers-and-high-availability-in-glassFish
>
> Thank you in advance for your help.
>
> John
> [Message sent by forum member 'johncarl81' (jericksen_at_kcp.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=392051
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>



-- 
Barry van Someren
---------------------------------------
LinkedIn: http://www.linkedin.com/in/barryvansomeren
Skype: BvsomerenSprout
Blog: http://blog.bvansomeren.com
KvK: 27317624
irc: BarryNL @ FreeNode