You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org
This page is old and outdated. It is only kept around for historical purposes.
This page describes the procedure to switch over safely the redis/memcached cluster in the process of switching mediawiki.
When in need to switch over mediawiki, the replication flow of redis must change.
The simplest and safest way to do this now is as follows:
- Stop puppet on all hosts of this cluster cumin 'A:memcached' 'puppet agent --disable "pre-switchover"'
- Switch the puppet configuration so that the primary datacenter is now the new one
- Run puppet on the machines in the new master datacenter (so that the replica stops flowing)
- Re-enable puppet in the whole cluster; the machines in the other datacenters will eventually catch up