I'm wondering if it's possible to configure multiple software loadbalancers (on multiple Web Server instances) to front the one cluster?
That is, have multiple web servers accept the same request.
The idea being rather than having one "entry point", from the web, there are multiple.
I know that it's technically possible to setup, but I'm not sure how well it would go for session management with cookies and URL rewriting.
For instance, say we have 2 webservers, each with their own loadbalancer plugin, using the same Glassfish cluster behind.
The DNS name is www.test.com, which resolves to 2 IP addresses, webserver1 and webserver2.
Using DNS round-robin, users will get either of the 2 IPs, which pass to two webservers, each with their own loadbalancer plugin.
If a user starts a session via webserver1, it will pass to a Glassfish instance in the cluster, and get a session ID so future requests are sticky and sent to the same cluster. eg xJnL
However, suppose the DNS TTL expires and next time the same request comes through, its routed to webserver2. Will the plugin on webserver2 be able to recognize the session ID in the session, to route the request to the same Glassfish instance as (webserver1 routed to)?
May sound complicated but all I'm really trying to do is implement multiple webservers so there are multiple entry points, should one webserver fail/become overloaded.
Message was edited by: coreyjohnston