Last modified: 2013-01-09 21:52:41 UTC
Tim Starling wrote: --------------------------------------------------------------------- The current setup in deployment-prep has MW directories on a glusterfs share. This appears to be slow for reads and impractically slow for writes. Ryan agrees that putting the git-deploy data on a local device (the root partition or /mnt) is a good idea. --------------------------------------------------------------------- We talked about that with Sam Reed. We need puppet to create a /mnt/srv directory and simply link /srv to it. That will give us a configuration matching production where files are local to the application server box and bypassing the "slow" glusterFS share.
CCIng Tim and Sam. Assigning to self. I need to find out in which puppet class I would put the /mnt/srv and /srv creation in.
I have added that as a hack in mediawiki_new puppet module which is required by the applicationserver class: https://gerrit.wikimedia.org/r/42743
Change merged. /dev/vdb should thus be mounted on /srv .
https://gerrit.wikimedia.org/r/#/c/42996/ fixed a typo in change 42743 and https://gerrit.wikimedia.org/r/#/c/43013/ finally made the mount working. The new /srv mount has been installed by puppet on deployment-jobrunner08 and deployment-video05. The two Apaches box do not get it applied because they use the non existent role::applicationserver class instead of the subclass role::applicationserver::appserver see bug 43706
Beta has now /srv mounted to /dev/vdb on all instances using MediaWiki install. That makes this bug useless thus since we are not going to use /mnt in beta but the new /srv.