Jeffrey A Schoolcraft wrote:
> When we take a server out of the rotation (by removing the index1.html file
> ldirectord is looking for) I think all the connections to that machine are
> dropped instead of being shuffled among the remaining 2 servers, is this the
> case?
I'm not sure how ldirectord is setup, but I expect that it will think the
real-server
has died catastrophically, and will clear the ipvsadm entries for
this machine.
I say this because our bandwidth suddenly drops to zero at this point.
> I have started to use the weight and bring the weight to 1 then 0 (the
> others are at 100) which seems to move the connections nicely.
this is the usual way to bring a machine down.
> My other question is this: will persistence help performance in a web cluster?
it's neccessary for multi-port protocols, like ftp or if you need a client
on port 80 to be on the same machine when he goes to 443. If you have data
cached on one machine, that you'd like for speed for the client to stay
on that machine, rather than have the data generated anew on another machine,
then persistance also helps (eg squid).
> I know for ftp it's needed (or at least suggested in the docs) but I'm
> wondering what gains if any we would get in a webserver environment. These
> webservers are basically just file servers, html just images and videos.
> Average file size is about 3MB.
otherwise if the data is equally spread everywhere, and one machine is just
as good as another, then persistance is just a complication.
Joe
--
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center,
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA
|