Steps:
- Stop replication on pc1014.
- Merge CR to change pc2 primary to be pc1014: https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/786955
- Deploy: scap sync-file wmf-config/ProductionServices.php "Set pc1014 as pc2 primary T306983"
- Downtime pc2: sudo cookbook sre.hosts.downtime --hours 1 -r "Rebooting pc1012 T306983" 'A:db-section-pc2'
- Reboot pc1012: SKIP_DBCTL=1 SKIP_START_SLAVE=1 ~kormat/bin/reboot-host T303174 pc1012.eqiad.wmnet
- Revert previous CR
- Deploy: scap sync-file wmf-config/ProductionServices.php "Set pc1012 as pc2 primary T306983"
- Start replication on pc1014.
Note that pc2012 will stay trying to replicate from pc1012 during this time.