1 / 37

Business and Strategy

Business and Strategy. Migration: Smoothing the Move. Presented by Mike Ryan and Moshe Weitzman. Mike Ryan. Drupal developer since 2003 Original author of Pathauto module Primary author of Migrate module Certified to Rock score of 8 Senior Technical Consultant at Acquia. Moshe Weitzman.

gauri
Télécharger la présentation

Business and Strategy

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Business and Strategy Migration: Smoothing the Move Presented by Mike Ryan and Moshe Weitzman

  2. Mike Ryan • Drupal developer since 2003 • Original author of Pathauto module • Primary author of Migrate module • Certified to Rock score of 8 • Senior Technical Consultant at Acquia

  3. Moshe Weitzman • Drupal developer since 2001 (d.o uid 23) • 2nd most prolific contributor in Drupal history • Certified to Rock score of 11 • Creator and/or maintainer of Drush, Devel, Organic Groups, and several other projects • Director, Research and Development at Acquia

  4. What is migration? • “Migration” might mean the regular seasonal journey undertaken by many species of birds.

  5. What is migration? • “Migration” might mean the regular seasonal journey undertaken by many species of birds. • “Migration” might mean moving your Drupal site as a whole between servers or hosting platforms.

  6. What is migration? • “Migration” might mean the regular seasonal journey undertaken by many species of birds. • “Migration” might mean moving your web site as a whole between servers or hosting platforms. • “Migration” might mean the transfer of data and content from one platform to another.

  7. What are we talking about? • The big picture of a data migration project • The importance of communication • The unknowns, and how to deal with them

  8. What aren’t we talking about? • The Migrate module (technically speaking)

  9. Project model • Typical migration project – 3 participants: • Client with content to migrate from some other CMS to Drupal • Site-building team – develops new site functionality, designs and themes the site • Migration team – develops the processes to move the content from old site to new site

  10. The process • Analyze – understand the legacy data • Map – line up the pegs with the holes • Iterate – implement, test, and refine, repeatedly • Launch!

  11. Analysis • Design is top-down, working from the front-end

  12. Analysis • Design is top-down, working from the front-end • The migrators need to work bottom-up, from the raw data

  13. Analysis • Design is top-down, working from the front-end • The migrators need to work bottom-up, from the raw data • There is always stuff not directly visible on the site that is important

  14. Be thorough • Get access to the full source data up front

  15. Be thorough • Get access to the full source data up front • Examine it closely, table-by-table and row-by-row

  16. Be thorough • Get access to the full source data up front • Examine it closely, table-by-table and row-by-row • Act like a 3-year-old – Why?

  17. Be thorough • Get access to the full source data up front • Examine it closely, table-by-table and row-by-row • Act like a 3-year-old – Why? Why?

  18. Be thorough • Get access to the full source data up front • Examine it closely, table-by-table and row-by-row • Act like a 3-year-old – Why? Why? But why?

  19. Preliminary mappings • Obvious: Source data subject => Drupal title • Educated guess – 98% of the status values are “2” – that probably means “published” • Ambiguities – make best guess. • WTH? Annotate with questions.

  20. Mappings, bloody mappings • Migrator • Technical resource • Stakeholders • Site-builders

  21. Iteration • Implement the understood mappings • Staging server – let the team see the results • Refine and repeat

  22. Launch • A day or two before launch, run a full import into the to-be-production site. Sic QA on it.

  23. Launch • A day or two before launch, run a full import into the to-be-production site. Sic QA on it. • At the designated time, set the old site read-only.

  24. Launch • A day or two before launch, run a full import into the to-be-production site. Sic QA on it. • At the designated time, set the old site read-only. • Run the final delta migration.

  25. Launch • A day or two before launch, run a full import into the to-be-production site. Sic QA on it. • At the designated time, set the old site read-only. • Run the final delta migration. • Final QA review.

  26. Launch • A day or two before launch, run a full import into the to-be-production site. Sic QA on it. • At the designated time, set the old site read-only. • Run the final delta migration. • Final QA review. • Switchover

  27. Celebrate!

  28. Elements of Success • Start the migration development, with the analysis stage, as early as possible. • Get the mapping meetings done as soon as possible after that. • Communicate! All parties – stakeholders, site-builders, migrators – must be responsive to each other.

  29. A typical question • We’ve got 1,000,000 articles and 100,000 users – how long will it take us to migrate? • But, if you think about it…

  30. Estimation • Which is harder to migrate? • 1,000,000 articles with 3 fields each, or • 1000 blog posts with 5 fields, 500 articles with 10 fields, 3000 forum topics with 7 fields, and 800 recipes with 15 fields (including complex fields like “ingredients” and “directions”)

  31. A formula • Basic: Number “migrations”, plus 5 X total number of fields, times a magic factor • Refined: Taxonomy migrations count less, file migrations count more. Complex fields count more.

  32. For the techies • BOF: Migrate in Drupal 8 – 1pm Thursday in room 210

  33. What did you think? Locate this session on theDrupalCon Denver website http://denver2012.drupal.org/program Click the “Take the Survey” link. Thank You!

More Related