Behind the Scenes of the Bloglines Datacenter Move (Part 3)
The replication code started to stabilize, and we began copying blog articles from the old datacenter to the new one. This happened in fits and starts as we debugged the code. The fact that it happened without us having to take the site down was a great advantage. We also continued to test the Bloglines installation at the new datacenter.
Concurrently, we started working out the datacenter move checklist, enumerating all the items that had to be completed, and at which point. The blog articles were being copied in the background, but all the other databases in the system could only be copied when we could be assured that they wouldn't be updated (ie. they were operating in read-only mode). With Bloglines, we could "cheat" a little. By turning off the crawlers in Redwood City, we could assure that many of the databases in the system would not be modified, while still keeping the site alive. We could then start copying these databases, and the total amount of downtime would be reduced further. So our move checklist was divided up into the following sections:
- Tasks that had to be completed before the day of the move
- Tasks to do after the crawlers were turned off
- Tasks to do after the site was taken down
- Verification steps after everything was moved to the new datacenter
- Tasks to do after the site was back up at the new datacenter
Tomorrow, I'll talk about the joys of broken DNS caches and pirates.
