magnolia 4.5 migration - storytelling

25

Upload: namics

Post on 09-May-2015

2.127 views

Category:

Technology


5 download

DESCRIPTION

Are you starting a 4.5 migration? Do you have projects pending that haven't been migrated? Have you done your migration estimates? Is there a customer breathing down your neck? Are you afraid? We feel your pain - that's why we'd like to share our migration experiences: our ups and downs, our dead ends as well as the heureka moments. You have to earn your migration - it's hard work without pixies and magic elves involved... Fortunately, when we started out with the Magnolia Migration Module 1.2, we didn't feel like Indiana Jones in a deadly maze anymore. Thanks to the Magnolia team working on the Migration Module and the great cooperation between them and us, we were successful - and you can succeed, too!

TRANSCRIPT

Page 1: Magnolia 4.5 Migration - Storytelling
Page 2: Magnolia 4.5 Migration - Storytelling
Page 3: Magnolia 4.5 Migration - Storytelling

DANIEL KUMMER. Senior Software Engineer.

STEFAN BAUR. Software Engineer.

Namics AG

September 2013

Page 4: Magnolia 4.5 Migration - Storytelling
Page 5: Magnolia 4.5 Migration - Storytelling

M I G R A T I O N PROCESS THE ROAD TO 4.5

Page 6: Magnolia 4.5 Migration - Storytelling
Page 7: Magnolia 4.5 Migration - Storytelling
Page 8: Magnolia 4.5 Migration - Storytelling
Page 9: Magnolia 4.5 Migration - Storytelling
Page 10: Magnolia 4.5 Migration - Storytelling
Page 11: Magnolia 4.5 Migration - Storytelling

PROJECT DATA C O N T E X T

customer

magnolia

balôise group internet (2010) intranet (2011) enterprise edition ldap shop weblogic

modules

sites

Page 12: Magnolia 4.5 Migration - Storytelling

PROJECT DATA N U M B E R S

4.4.9-jcr2 1

5 ~25GB

~ 30’000 ~130 ~ 50 ~50

3

pre-migration version author (production) publish (production) repository size content pages custom components custom pages site definitions custom themes

Page 13: Magnolia 4.5 Migration - Storytelling
Page 14: Magnolia 4.5 Migration - Storytelling

F I R S T A T T E M P T S STILL PREMATURE

we expected it to be a big help - but it wasn’t

groovy scripts - impossible to debug errors

premature documentation

started migrating code - while waiting for magnolia

MIGRATION MODULE 1.1

Page 15: Magnolia 4.5 Migration - Storytelling

FINAL SOLUTION NEW AND POLISHED!

MIGRATION MODULE 1.2 CHANGES… every module migrates itself

no more groovy scripts à replaced with tasks

excellent automatic migration of freemarker scripts

overhauled and improved documentation

Page 16: Magnolia 4.5 Migration - Storytelling

FINAL SOLUTION NEW AND POLISHED!

MIGRATION MODULE 1.2 …AND ISSUES

poor performance à complete migration: ~100h!

some dependent modules still used 1.1 {form, shop}

still some unpleasant bugs

Page 17: Magnolia 4.5 Migration - Storytelling
Page 18: Magnolia 4.5 Migration - Storytelling

POST MIGRATION DONE? WRONG!

MAGNOLIA 4.5 PITFALLS

lots of templating changes

complex area migration

performance issues with “old” 4.4 code

bugs in the early magnolia 4.5.x releases

Page 19: Magnolia 4.5 Migration - Storytelling

POST MIGRATION THE NEW STUFF

BIGGEST 4.5 CHANGES

templating à stk 2.0 area concept renderable definitions inplace editing

jcr node api ldap/ad module channels

Page 20: Magnolia 4.5 Migration - Storytelling
Page 21: Magnolia 4.5 Migration - Storytelling

ESTIMATES R E A L I T Y

~35 days

~100 days 3x OFF

Page 22: Magnolia 4.5 Migration - Storytelling

WHY??? REASONS

one of the first large migrations

no reference estimations

migration module 1.1 unusable

unexpected post migration issues

complex custom code migration

more testing than estimated

Page 23: Magnolia 4.5 Migration - Storytelling

O U R T I P S GET IT DONE RIGHT

read the wikis – read them well

take your time – don’t hustle

use content migration tasks

estimate conservative

migration module 1.2 is your friend

Page 24: Magnolia 4.5 Migration - Storytelling
Page 25: Magnolia 4.5 Migration - Storytelling

? QUESTIONS