users@glassfish.java.net

Re: HTTP Load Balancers Concept- Sun One App Server 9.1

From: Kshitiz Saxena <Kshitiz.Saxena_at_Sun.COM>
Date: Mon, 05 Jan 2009 20:05:17 +0530

Hi Qumar,

I believe you have created load-balancer xml manually. In case you want
to automate the process, i.e., load-balancer xml is generated and even
pushed to web-server when there is cluster view change, you need to
create "Http Load balancer".

Thanks,
Kshitiz

glassfish_at_javadesktop.org wrote:
> Hello Friends,
>
> I am not able to understand the usages of "HTTP Load Balancers".
> I have configured a cluster of two server on Sun App Server and than setup IIS 5.0 plug-in. Every thing is working fine and I can see there is load balancing as well as failover. I have not defined any HTTP Load Balancers. My loadbalancer.xml is below:
>
> I am not able to understand, where does this "HTTP Load Balancers" fit in this scenario.
>
>
>
> <loadbalancer>
> <cluster name="testcluster1" policy="round-robin">
> <instance name="test1" enabled="true" disable-timeout-in-minutes="60" listeners="http://machine1:38082" weight="100"/>
> <instance name="test2" enabled="true" disable-timeout-in-minutes="60" listeners="http://machine2:38081" weight="100"/>
> <web-module context-root="/test" enabled="true" disable-timeout-in-minutes="60" error-url="sun-http-lberror.html" />
> <health-checker url="/test/test.jsp" interval-in-seconds="300" timeout-in-seconds="30" />
> </cluster>
> <property name="reload-poll-interval-in-seconds" value="60"/>
> <property name="response-timeout-in-seconds" value="30"/>
> <property name="https-routing" value="true"/>
> <property name="require-monitor-data" value="true"/>
> <property name="active-healthcheck-enabled" value="false"/>
> <property name="number-healthcheck-retries" value="3"/>
> <property name="rewrite-location" value="true"/>
> </loadbalancer>
>
>
> Please help me to understand the concept of "HTTP Load Balancer"!
>
> Regards,
> Qumar
> [Message sent by forum member 'qumar_samba' (qumar_samba)]
>
> http://forums.java.net/jive/thread.jspa?messageID=324059
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>