ContentsPlaybooks

Guide · Playbooks

Rehearsal

A rehearsal is the whole cutover, run for practice with the build that will go live, and timed. The plan already holds the risks that people know. A rehearsal finds the ones that nobody planned for.

Also called "a dress rehearsal" · "a dry run" · "a mock conversion" · "a trial cutover". Terminology

A rehearsalas an example: the build that will go live · a full extract · the real steps, in the real order
The stepPlannedMeasured
Extract from the old system2 h2 h 10
Land and transform3 h2 h 40
Load the customers and the items longer than planned4 h6 h 30
Load the open transactions9 h9 h 15
Counts and validation samples2 h2 h
The whole load the window is 24 h20 h22 h 35

plannedmeasuredthe end of the window

What nobody planned for

  • The nightly backup stopped the load at 11 pm.
  • The person who signs for finance had no login to the new system.

What the cutover takes from it

The timeline
Each step, with its measured time.
The levels
In this rehearsal, 44,730 of 45,000 customers loaded and 270 were rejected: the yardstick on the night.
The sign-offs
Each party has given its sign-off once, for practice.
The same picture, as text
 A REHEARSAL, as an example      the build that will go live · a full extract · the real steps, in the real order

 THE STEP                             PLANNED     MEASURED
 extract from the old system            2 h         2 h 10
 land and transform                     3 h         2 h 40
 load the customers and the items       4 h         6 h 30      longer than planned
 load the open transactions             9 h         9 h 15
 counts and validation samples          2 h         2 h
 the whole load                        20 h        22 h 35      the window is 24 h

 WHAT NOBODY PLANNED FOR
 the nightly backup stopped the load at 11 pm
 the person who signs for finance had no login to the new system

 WHAT THE CUTOVER TAKES FROM IT
 the timeline       each step, with its measured time
 the levels         in this rehearsal, 44,730 of 45,000 customers loaded and 270 were rejected: the yardstick on the night
 the sign-offs      each party has given its sign-off once, for practice
With AI

An AI runs the steps of the rehearsal, times each one, and writes the report: the time of each step against the plan, the counts, and what stopped. People decide what to change, and whether to rehearse again. A person can run and time the same steps with no AI.

See how it is done with Convago

Why

  • The unknownsRehearse to find what the plan does not hold.WhyA risk that somebody thought of is in the plan, with an answer beside it. A risk that nobody thought of has no answer ready: a job that runs at night, a door that is locked, a login that was not asked for. They often show themselves only when the whole cutover is run, in its real hours.
  • The build that goes liveRehearse with the code, the mappings and the steps that are meant for the cutover.WhyA rehearsal measures the load that it runs. If the build changes afterwards, the times and the counts belong to a load that will not be run again, and the cutover is the first run of the new one.
  • TimedMeasure each step, and the whole.WhyThe cutover window is agreed in advance, and only a measured time shows whether the load fits in it. The same times are the yardstick during the cutover, when somebody has to judge whether a slow step is normal.
  • The people tooRehearse the sign-offs and the practical side, and not only the load.WhyA business that has not yet given a sign-off meets the question for the first time on the cutover itself, with the project waiting. If a sign-off cannot be given in the rehearsal, the migration is not ready to go live, and it is far better to learn that in practice.
  • A change is weighedTreat a change after the last rehearsal as a risk that has not been measured.WhyThe rehearsal is the evidence that the cutover works. Each change afterwards takes a little of that evidence away. How much is not known without another run.
From the fieldThe unknowns

One team rehearsed its load during the week, and each rehearsal went well. For the cutover the team worked in the office over a weekend, and found that the building's security guards did not work on weekends. On another project, the backups of Friday night stopped the load part of the way through. Neither fault was in the migration, and both would have shown in a rehearsal that was held in the hours of the real cutover.

How

  • Be ready for go-live firstHold the last rehearsal when the migration is ready for production. As a rule, testing is signed off by then and the code is locked. A rehearsal that is held earlier is useful, and it is not the last one.
  • Run a rough one earlyA timing run before testing is finished gives the first times and the first surprises while there is still room to act on them. Call it what it is, so that nobody takes it for the evidence that the cutover works.
  • Use the real hoursWhere it is possible, rehearse on the day of the week and in the hours of the cutover. Backups, batch jobs, maintenance and access to the building are then as they will be.
  • Use a full extractRun the whole volume, in an environment that is as close to production as the project can give. A part of the data does not show the time of the whole, and it can miss the rare rows that stop a load.
  • Time each stepRecord when each step starts and ends, and who did it. Mark the steps that ran longer than planned.
  • Record the levelsKeep the counts, the percent loaded and the number of rejected rows. During the cutover, each figure is judged against these.
  • Rehearse the sign-offsHave each party do its check as it will at the cutover. The business reconciles through the application, with its own reports, and learns what its sign-off rests on.
  • Rehearse the way backRestore the backup once, and time it. A rollback that has not been tried may not work when it is needed.
  • Start the long work earlySome work does not fit in any window, such as the loading of a very large set of documents. Find it in the rehearsal, and start it days or weeks ahead of the cutover.
  • Turn it into the planThe measured steps become the timeline of the cutover: each step, its time, and its owner. Steps that belong to other teams go to the project, which holds the plan of the whole go-live.
  • Weigh each changeAfter the last rehearsal, a change is rehearsed again, or the project accepts the risk of it. The tool does not stop a load that was not rehearsed: the choice belongs to the project.
  • Fit the number to the jobA small load can need one rehearsal. A long or risky one usually needs several, until one runs clean inside the window. With staged go-lives, each cutover has its own.
ScenarioTimed

In the example above, the load of the customers and the items was planned at 4 hours and took 6 hours 30. The whole load came to 22 hours 35, in a window of 24. That leaves 1 hour 25 for the business validation, the sign-offs and any step that has to run twice. The team has three ways open: make the step faster, move a step to before the window, or ask the project for a longer window. It learned this weeks before the cutover, when all three were still possible.

More