Daniel J McDonald wrote:
I understand how to make a wikifarm on a single
server, but how does one
go about setting up multiple servers for a single wiki? Do I just copy
LocalSettings.php to two instances and set up some sort of recurring
rsync cron job for the /image directory?
Multiple web servers?
The upload directory needs to be shared with a network filesystem, such as NFS.
Periodic rsync is insufficient, as requests may be served by different servers
at different times.
Other things to keep in mind:
* Time syncronization is important. Set up NTP and ensure that all your web
servers' clocks are synchronized, or you may get exciting out-of-order edits.
* PHP session storage must be shared. Either set this up on a networked
filesystem or set up memcached and enable the memcached session storage option.
-- brion vibber (brion @
pobox.com)