users@glassfish.java.net

Re: Achieving Load balancing + HA on two servers

From: <glassfish_at_javadesktop.org>
Date: Wed, 24 Sep 2008 03:40:25 PDT

thanks pankaj

We solved the issue by configuring an additional floating IP for webserver and exposing it to the clients.
Now if any one machine goes doen the other will pick the virtual IP and start resopnding to requests. This will also take care of session persistance as the cluster remains the same
In short http://floating_ip/clusterjsp - > http://node1/clusterjsp -> http://node2/clusterjsp.
where node1 and node2 both are reporting to http://node1:38080/clusterjsp and http://node2:38080/clusterjsp

Hows that :)
[Message sent by forum member 'anzy' (anzy)]

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