users@glassfish.java.net

Re: Interfacing single webserver with two clusters ?

From: Pankaj Jairath <Pankaj.Jairath_at_Sun.COM>
Date: Tue, 09 Dec 2008 16:52:38 +0530

[Pardon me, accidentally /send/ got pressed before completing my response]

Load Balancer would use the selected algorithm to apply the load
balancing policy. Let us say, you had round-robin, in that case LB would
round robin fresh / new requests over the ordered server instances over
which the application is available. So in your case this would be :

Cluster 1 instances followed by Cluster 2 instances.

regards
Pankaj

Pankaj Jairath wrote:
> Load Balancer would used the selected algorithm to apply the load
> balancing policy. Let us say, you had round-robin, in that case LB would
> glassfish_at_javadesktop.org wrote:
>> ok, now I have been able to initialize webserver succsfully, earlier
>> there was a typo which was causing issues.
>> But I have another query, if same webapp is deployed on both the
>> clusters and both the clusters are up, how will webserver decide
>> which cluster to send request to.
>>
>> Foe ex clusterjsp is depoyed on 4 instances
>>
>> cluster 1
>> instance 1 (machine1)
>> instance2 (machine2)
>>
>> cluster2 instance 3 (machine1)
>> instance 4 (machine2)
>>
>> which cluster will be used to server requests ?
>> [Message sent by forum member 'anzy' (anzy)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=320755
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>