Forum Moderators: bakedjake
next week I am about to setup a new server configuration, using Red Hat and mounting a central server via NFS to 2 different webservers.
I got the basic exports, mount, portmap stuff under control (I guess), but I want to go for maximum performance on the clients.
Does anyone here know, how to config (and tune) the caching for NFS mounted devices? I basically got a lot of static files, which do not change often, but just really a lot of them (apprx. 450,000). The sizes vary from 4KB to 5MB. For the clients I would like to run a local cache to lower network usage.
Any comments, hints and tips are welcome! Searching for that on the net does not really help...
Thanks,
P!
If your content is mainly static and doesnt change often you could just run rsyc when you make changes and the changed will export as an incriment to the client servers. Using this method you could have one master server and two cient servers and in effect three way load ballencing.
Problem I see with using nfs for this is is the central server was to go down the nfs mount points would be missing and no content could be shown. With rsync the content is phsicaly located on all servers, as opposed to referenced.
Mack.