Page MenuHomePhabricator

Sept 2023 Switchover Checklist: MediaWiki
Closed, ResolvedPublic

Description

Run everything in a tmux named switchover (Collaborative_tmux_sessions)

  • (Monday) Run sre.switchdc.mediawiki.03-set-db-readonly and sre.switchdc.mediawiki.06-set-db-readwrite in live-test mode
  • Update statuspage
  • scap lock --all "Datacenter Switchover: MediaWiki - T346474" on deploy2002
  • Run the cookbook: sudo cookbook sre.switchdc.mediawiki --ro-reason 'DC switchover (T346474)' eqiad codfw up to 09-restore-ttl.py
  • Merge https://gerrit.wikimedia.org/r/c/operations/dns/+/958462
  • Run authdns-update from any authdns node
  • SAL log !log Phase 9.5 Update DNS records for new database masters - T346474
  • finish running cookbook
  • Check reading & editing works
  • Remove scap lock
  • T346472
  • Check the banner is gone
  • Check https://en.wikipedia.org/wiki/Special:RecentChanges and EventStreams curl -s -H 'Accept: application/json' https://stream.wikimedia.org/v2/stream/recentchange | jq .
  • Run exim4 -bp | exiqsumm on mx1001/mx2001; test an email
  • Update statuspage

Event Timeline

Raine triaged this task as High priority.Sep 16 2023, 1:20 PM
Raine updated the task description. (Show Details)

Change 958462 had a related patch set uploaded (by Kamila Součková; author: Kamila Součková):

[operations/dns@master] db: Switch DNS master alias to codfw

https://gerrit.wikimedia.org/r/958462

Change 958464 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/dns@master] wmnet: Update pc cnames to codfw

https://gerrit.wikimedia.org/r/958464

Change 958472 had a related patch set uploaded (by Kamila Součková; author: Kamila Součková):

[operations/dns@master] wmnet: Update maintenance.eqiad.wmnet to point to mwmaint2002

https://gerrit.wikimedia.org/r/958472

Change 959182 had a related patch set uploaded (by Kamila Součková; author: Kamila Součková):

[operations/dns@master] geo-maps: reorder codfw/eqiad in the default

https://gerrit.wikimedia.org/r/959182

Mentioned in SAL (#wikimedia-operations) [2023-09-20T13:56:36Z] <kamila@deploy2002> Locking from deployment [ALL REPOSITORIES]: Datacenter Switchover: MediaWiki - T346474

Change 958462 merged by Kamila Součková:

[operations/dns@master] db: Switch DNS master alias to codfw

https://gerrit.wikimedia.org/r/958462

Mentioned in SAL (#wikimedia-operations) [2023-09-20T14:07:42Z] <kamila_> Phase 9.5 Update DNS records for new database masters - T346474

Mentioned in SAL (#wikimedia-operations) [2023-09-20T14:09:31Z] <kamila@deploy2002> Unlocked for deployment [ALL REPOSITORIES]: Datacenter Switchover: MediaWiki - T346474 (duration: 12m 54s)

Change 959243 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/dns@master] wmnet: Update pc cnames to codfw

https://gerrit.wikimedia.org/r/959243

Change 958464 abandoned by Marostegui:

[operations/dns@master] wmnet: Update pc cnames to codfw

Reason:

https://gerrit.wikimedia.org/r/958464

Change 959243 merged by Marostegui:

[operations/dns@master] wmnet: Update pc cnames to codfw

https://gerrit.wikimedia.org/r/959243

Change 958472 merged by Kamila Součková:

[operations/dns@master] wmnet: Update maintenance.eqiad.wmnet to point to mwmaint2002

https://gerrit.wikimedia.org/r/958472

Change 959182 merged by Kamila Součková:

[operations/dns@master] geo-maps: reorder codfw/eqiad in the default

https://gerrit.wikimedia.org/r/959182

Raine updated the task description. (Show Details)