secure.phabricator.com is currently two hosts, secure001.phacility.net and secure003.phacility.net. Previously, secure also had two more hosts (002, 004), primarily to put database partitioning into production. See some discussion in T13654.
001 is a master for all databases, except file; 003 is a master for file.
I want to merge them, then move to new hardware. I think this process will work:
- Put the service into readonly mode.
- Dump just the files databases from 003.
- Load the files databases onto 001.
- Drop 003 and readonly, restart service.
- Stop 003.
Then this becomes a standard sort of migration, except it probably all has to be pretty manual since secure has a bunch of special cases.
Step (2) needs some changes to bin/storage dump to allow it to dump a subset of databases.