users@glassfish.java.net

Re: Load balancing with apache

From: Gabe Wong <gabrielw_at_ngasi.com>
Date: Tue, 28 Oct 2008 21:58:37 -0700

wil2008 wrote:
> I also tried to front a Glassfish v2 cluster with an Apache 2.2 and mod_jk,
> as in
> http://blogs.sun.com/jluehe/entry/supporting_apache_loadbalancer_with_glassfish
>
> I could get the load-balancing to work. But I could not get the failover
> part to work.
>
> Did anyone succeed with both load-balancing and failover using this setup?
>

What do you mean by failover - Request or Session failover?
In other words, precisely what is happening when one of the node fails?

> Thank you!
>
> Wilfred
>
>
> Pablo Saavedra wrote:
>
>> Hi all,
>>
>> I'm trying to configure a two instance glassfish (V2_UR1) cluster, where
>> one
>> of the instances is hosted on a windows machine and the other on an ubuntu
>> machine.
>>
>> The cluster is working fine, but when I want to add an apache in front of
>> them to do load balancing, only the windows instance responds. (The DAS is
>> in the ubuntu machine). I followed this instructions so far:
>>
>> http://blogs.sun.com/dadelhardt/entry/loadbalancing_with_mod_jk_and_glassfish
>>
>> The apache web server is hosted on an ubuntu machine, too. No firewall on
>> any of the machines, but I even tried with an apache on the DAS and still
>> the same problem. All I get is a blank page. The application I'm trying is
>> the cluster jsp example bundled with glassfish.
>>
>> Is there any known issue with this? Has anybody succeeded in setting up
>> something like this?
>>
>> I can post the configuration files if neede, but they are more or less
>> copy
>> paste from the ones in the blog.
>>
>> Thanks in advance.
>> Pablo.
>>
>>
>>
>
>


-- 
Regards
Gabe Wong
NGASI AppServer Manager
APPLICATION AUTOMATION and SaaS Enablement for Cloud Computing
http://www.ngasi.com
NEW! APPLICATION LOAD-BALANCING NOW MADE EASY