Arthur Guy wrote:
Is there a way to setup database load balancing or failover support, I found some php files and references to it but I can't find any directives in default settings or local settings to turn it on or configure it.
MediaWiki can use multiple replicated MySQL database servers as a datasource, but isn't currently designed for automatic failover: that is, if your master dies you need to manually reconfigure both on the MySQL end (to change which machine thinks it is the master and where the other slaves pull updates from) and MediaWiki (so it knows which is the new master to use for read/write queries).
Set $wgDBservers as documented in DefaultSettings.php.
Is this possible?
Is there a WikiMedia help file that I missed?
There is little or no reliable documentation outside the source code; if you find what looks like documentation, don't believe it without checking the source code! Sometimes well-meaning people write 'documentation' on the wiki that's not actually accurate, or it just gets really out of date. :)
-- brion vibber (brion @ pobox.com)