If you only want to distribute web server load (as opposed to failover/
failsafe) you can simply use DNS:
www.foo.com A 127.0.0.1
www.foo.com A 127.0.0.2
www.foo.com A 127.0.0.3
with a halfway reasonable timeout. Then the DNS should do the load
balancing for you. Of course, if one server dies, your users get
connection errors *and* you'll have a bitch to track this down ("wtf,
works for me!").
To answer your question: if each apache instance will be able to
resolve each incoming request, so you shouldn't need to care about http.
Cheers, Anjo
Am 24.08.2009 um 12:13 schrieb Aristedes Maniatis:
On 21/08/09 2:29 AM, Steven Stout wrote:
In your mod_webobjects configuration file, just add the URL to each
wotaskd in your WebObjectsConfig line.
WebObjectsConfig http://appserver1:1085, http://appserver2:1085,
http://appserver3:1085, http://appserverN:1085
Each adaptor will then merge the configs and serve up requests from
any
of the app servers. Add your HTTP load balancer in front, and you
should be set.
When using a load balancer in front of multiple Apache instances
within the same wotaskd pool of instances, does the the load
balancer need to be layer 7 or will layer 4 do fine? To explain more
fully: each request is tied to a specific WO instance through a
cookie which ensures requests are routed to that same instance for
the life of the session. A layer 7 load balancer understand HTTP and
is able to ensure sessions are maintained to the same Apache httpd
front end. However a layer 4 balancer operates at the TCP level and
is ignorant of things like cookies.
Will WO cope if requests to a specific instance and session go to
different Apache httpd front ends from one request to the next?
Layer 4 load balancing is much less expensive since there are quite
a few firewalls with the capability for this feature, whereas the
layer 7 balancing involves lots of money very quickly.
Regards
Ari Maniatis
-------------------------->
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001 fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-
dep...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/anjo%40krank.net
This email sent to a...@krank.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to arch...@mail-archive.com