-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Tim Starling wrote:
Russ Lavoie wrote:
Is there a way that I can run one wiki site on multiple servers for load balancing?
I have searched everywhere I could think of but I am unable to find any documentation on how this would be accomplished.
Have all of your apache configuration, document root and MediaWiki script files in a directory on the local hard drives of the application servers, synchronised on demand with a master copy using rsync. Put the image directory on a network filesystem such as NFS. You can use any HTTP load balancer in front: squid, pound, LVS, etc.
Two additional notes:
1) Be sure to keep the servers' clocks in sync! A standard NTP system will do.
2) PHP's session storage is used to handle login sessions. Session data must be stored in a common location unless your load balancing system is "sticky" (sending a given client always to the same server). A networked filesystem will usually do fine, or we have the 'sessions in memcached' sample implementation of storing session data in a shared memcached cloud.
- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)