Last modified: 2013-08-21 02:50:45 UTC
Today I set up two bots on Labs (hostbot and grantsbot). I'd like to be able to access the MYSQL replica dbs. The doc here: https://wikitech.wikimedia.org/wiki/Help:Move_your_bot_to_Labs#Database_access ...says that there should be credentials file (replica.my.cnf) in the home directory of each bot, but I can't find this file in either home. Any idea where I can find/generate these files? Thanks, Jonathan
Coren: Just to clarify: replica.my.cnf gets created by wikitech? The replica DB servers? And those need to remount the NFS share /tools/project after the maintenance?
It gets created on the NFS server, which is the only box that has access to all of the project shared filesystem and the database servers. That said, the mistake was mine: when I did the maintenance, I had to shut down the daemon that creates those files (because the filesystem could not be modified while being copied) but I forgot to reenable it. Fixed.