Mag Gam wrote: > Is it possible to have mediawiki be high available? > > I have 2 servers and I would like to have it highly available in case > 1 server goes down. > > Has anyone done this before? > > TIA
As George Herbert explained, you can make it as redundant as you want. For your setup I'd do the following: Server 1 (main): -Web server -Mediawiki -Master mysql -Upload folder (under a different subdomain) Server 2 (slave): -Web server -Mediawiki -Slave mysql (read-only, replicating from server 1) -Copy of upload folder. You can rsync daily. Configure the mediawiki on server 2 to have server 1 as master and localhost to slave. Thus all writes go to server 1. Server 1 can benefit from using server 2 for reads. You can balance load between the two servers and it will work. If server 2 goes down, everything continues working as usual. If server 1 goes down, wiki is read-only and you can't see the images. The server admin can easily promote it to master and recover (but make sure that when server 1 restores acts as slave! Two servers receiving writes will break the system!). _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
