Task for actual migration
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | bd808 | T166402 Program 7 Outcome 3: data services | |||
Resolved | ArielGlenn | T182540 get datset1001, ms1001 ready for decommission | |||
Resolved | • madhuvishy | T168486 Migrate customer-facing Dumps endpoints to Cloud Services | |||
Resolved | • madhuvishy | T188646 Point dumps.wikimedia.org to labstore1006/7 |
Event Timeline
Change 423078 had a related patch set uploaded (by Madhuvishy; owner: Madhuvishy):
[operations/dns@master] dns: Point dumps.wikimedia.org to labstore1007
Change 423933 had a related patch set uploaded (by Madhuvishy; owner: Madhuvishy):
[operations/puppet@production] dumps: Move dumps.wikimedia real cert from dataset1001 to labstore1007
Change 423938 had a related patch set uploaded (by Madhuvishy; owner: Madhuvishy):
[operations/dns@master] Update dumps TTL to 1M in prep for CNAME switch to labstore1007
Change 423938 merged by Madhuvishy:
[operations/dns@master] Update dumps TTL to 1M in prep for CNAME switch to labstore1007
Mentioned in SAL (#wikimedia-operations) [2018-04-04T15:14:05Z] <madhuvishy> Update ttl for dumps.wikimedia.org CNAME to 1M in prep for switchover to labstore1007 T188646
Change 423078 merged by Madhuvishy:
[operations/dns@master] dns: Point dumps.wikimedia.org to labstore1007
Mentioned in SAL (#wikimedia-operations) [2018-04-04T16:22:47Z] <madhuvishy> Change CNAME for dumps.wikimedia.org to labstore1007 T188646
Change 423933 merged by Madhuvishy:
[operations/puppet@production] dumps: Move dumps.wikimedia real cert from dataset1001 to labstore1007
Mentioned in SAL (#wikimedia-operations) [2018-04-04T16:26:02Z] <madhuvishy> Move cert for dumps.wikimedia.org to labstore1007 (do_acme: true) T188646
Notes from migration etherpad:
Starting at 14:30 UTC (7:30 PST) April 4, 2018
Goals:
- Point dumps.wikimedia.org to labstore1007
Migration Plan:
Pre:
- [DONE] Announce to broader mailing lists that the migration is happening in 24 hours
- [DONE] Downtime dataset1001 so alerts don't fire
During:
- [DONE] Decrease TTL for current cname record to 1M - https://gerrit.wikimedia.org/r/#/c/423938/
- [DONE] Wait for an hour or so for downstream dns servers to update TTL
- Point dumps.wikimedia.org to labstore1007
- [DONE] Merge patch https://gerrit.wikimedia.org/r/#/c/423078/ keeping low ttl in case we have to roll back
- [DONE] Apply DNS change on nameserver https://wikitech.wikimedia.org/wiki/DNS#Changing_records_in_a_zonefile
- (Merge your change in gerrit, then login to ns0.wikimedia.org, and run authdns-update. This will pull from operations/dns and generate zonefiles and gnsd configs on each nameserver)
- [DONE] wait one minute for dns caches with the old hostname to expire
- [DONE] Change do_acme to true for labstore1007 and to false for dataset1001 in hieradata/hosts/<hostname>.yaml
Rollback:
- Revert dns change that points dumps.wikimedia.org to labstore1007 -- https://gerrit.wikimedia.org/r/#/c/423078/
Change 424014 had a related patch set uploaded (by Madhuvishy; owner: Madhuvishy):
[operations/dns@master] Reset ttl for dumps.wikimedia.org to 1H post switchover
Change 424014 merged by Madhuvishy:
[operations/dns@master] Reset ttl for dumps.wikimedia.org to 1H post switchover
Mentioned in SAL (#wikimedia-operations) [2018-04-04T17:54:42Z] <madhuvishy> Reset ttl for dumps.wikimedia.org CNAME to 1H post switchover to labstore1007 T188646
This is all done. Leaving it open until all existing connections to dataset1001 drop off and we stop the web server there.
Change 424044 had a related patch set uploaded (by Madhuvishy; owner: Madhuvishy):
[operations/dns@master] Add ipv6 addresses for labstore1006 and 7
Change 424044 merged by Madhuvishy:
[operations/dns@master] Add ipv6 addresses for labstore1006 and 7
Change 424063 had a related patch set uploaded (by Madhuvishy; owner: Madhuvishy):
[operations/dns@master] Add PTR records for labstore1006|7
Change 424063 merged by Madhuvishy:
[operations/dns@master] Add PTR records for labstore1006|7
Change 428540 had a related patch set uploaded (by Dzahn; owner: Dzahn):
[operations/puppet@production] phabricator: make dumps server configurable
Change 428540 abandoned by Dzahn:
phabricator: make dumps server configurable, rsync to labstore1007
Reason:
solved by Ariel in other ways - see ticket