Fundraising/techops/procedures/services-analytics datacenter swap
Appearance
< Fundraising | techops
- sync all the minio data
- stop all update jobs
- sync minio data final time
- Verify access tokens in eqiad minio setup
- put analytics host/services into maint mode
- switch analytics mariadb origin server
- point all the codfw bits at eqiad
- update hieradata/common.yaml
- analytics_db_writer: 'frdb1007.frack.eqiad.wmnet'
- analytics_active_server: 'fran1002.frack.eqiad.wmnet'
- le_certbot_host: analytics: 'fran1002.frack.eqiad.wmnet'
- update hieradata/role/analytics.yaml
- frdeploy_local_localsettings: repo: 'fran1002.frack.eqiad.wmnet:/var/lib/git/localsettings.git'
- fundraising_code_update on fran1002
- update hieradata/common.yaml
- apply db permissions to both dbs for maximum middle-origin potential
- `make_grants | sudo mysql` on both hosts
- restart various services
- Update public DNS for fran sites
- migrate jupyter
- hosts.yaml from fran2001 to fran1002
- copy user data from fran2001:/home to fran1002
- copy /srv/jupyter from fran2001
- clobber frban1002:/srv/banner_logs/2026 with frban1002:/srv/banner_logs-frban2002.frack.codfw.wmnet/2026
- migrate process-control jobs to fran1002
- update metabase trino connection with new host
- test reads/ writes with trino
- check for dupes
- test metabase
... Profit