Now that we have phab2001.codfw.wmnet up and running, we need to properly configure phabricator for repository replication and clustered task daemons.
- Clustering configuration is well documented upstream in https://secure.phabricator.com/book/phabricator/article/cluster_repositories/ and https://secure.phabricator.com/book/phabricator/article/cluster_daemons/
- Benefits
- The main benefit will be in redundancy of git repositories, allowing us to quickly recover from a failure of the primary phabricator server (or the primary data center)
- An additional (minor) benefit comes from running the phabricator task daemons on the backup server. This should reduce latency of commit parsing and email notifications, among other things.
- Considerations
- The setup needs to be done during a maintenance window because it requires us to temporarily disable new repository creation.
- The main blocker, currently, is T143363: networking: allow ssh between iridium and phab2001
- When this task is resolved, we need to undo f528c2779e84 so that phd will run on both phabricator nodes.