Brad Wood wrote:
> 
> So, at what level does the cluster "load balancing" occur?
> Does the WS connector "know" what instances are in the cluster?

Yes.


> If I have three instances on three separate servers with three separate
> IPs all in one cluster, and one web server is connected to that instance
> (heck let's say its on a separate server too), which IP address does it
> send the request to?

It sends it to the instance that has a server.id that is identical to 
the first 4 bytes of the jsessionid. (See connector.properties in 
/SERVER-INF/ for the server.id.) If there is no jsessionid it picks one 
according to the defined algorithm.


> What if one physical box goes down?

The connector will detect that and stop sending requests to that 
instance (for some types of failure setting a smaller TCPTimedWaitDelay 
can greatly increase the speed of failure detection, see the MS 
documentation and RFC 793 for the consequences).


> Does the connector know all of the
> ip address for all of the instances in my cluster?

Yes. Check out some of the files in your wsconfig dir, they can be very 
enlightening.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273740
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to