On Tue, 2003-07-22 at 03:32, Mark Watts wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > On Mon, 2003-07-21 at 12:33, Jack Coates wrote: > > > On Mon, 2003-07-21 at 12:17, Sevatio wrote: > > > > What would I need to setup two Apache servers to serve the same domain > > > > name using load balancing & round robin? Each user session must be > > > > limited to one server. And it must be able to sense when one of the > > > > servers are down and skip over that server to a working server. > > > > > > http://www.foundrynetworks.com. > > > > > > If you can give up session persistence, LVS will do the job. Dude, looks > > > like they've gotten persistence working! > > > http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/LVS-HOWTO.persistent_ > > >connection.html > > > > further reading, it doesn't look so working after all. Cookies are > > crucial to doing it right. > > Not at all... > > If you use ldirectord with heartbeat to control the load balancing, you just > need to set persistent=120 (in the ldirectord.conf) to have a 2 minute > persistancy window. > > Mark.
That's fine if you're load-balancing for fault-tolerance; if you're load-balancing for reasons of load, it doesn't scale because of proxy servers, NAT, &c. You end up with bad balances, which is bad if one server ends up handling more than 50% of its capacity. And how many typical users are in and out of a site within two minutes, anyway? I read that whole conversation about increasing memory utilization of the LVS if persistence is kept too long. With RAM costing what it does these days, just get a few gigs and be done with it. List price is $1000 per port for a hardware SLB with cookie persistence support. If the money isn't there it isn't there, but a quick ebay shows used Foundries going for $300 per port. -- Jack Coates Monkeynoodle: A Scientific Venture...
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
