ContentsStart
2AI data migration
5Lifecycle
7Playbooks
Guide · Start
Governance
Governance is what a migration agrees, and what it can show afterwards. Each thing that is agreed lives at one layer and is kept in one asset, from the approach of the whole migration down to the sign-off of a cutover. Together the assets are the governance pack.
Also called "decision rights" or "a RACI" · "escalation" · "the audit trail" · "the data migration strategy". Terminology→
- The approach
- The scope and the history cut-off
- The go-live strategy
- Who decides
- Who signs off
- What is kept
- The dates and the runs
- The rules
- The field mappings
- The value mappings
- The data quality problems
- The go-live steps
- The validations
- The SQL
- The checks
- The keys
What travels The code is promoted from DEV to TEST to PROD. The mappings are one copy. The data is run again in each.
A change Comes back in at the layer that it touches, and passes through DEV, TEST and PROD again.
The record Each layer leaves one: the agreed document, the decisions, the log and the counts of each run, the sign-offs.
Click a layer.
The same picture, as text
THE GOVERNANCE PACK, IN LAYERS
WHAT IS AGREED THE ASSET WHAT LIVES THERE
1 THE MIGRATION the strategy and plan the approach · the scope and the history cut-off · the go-live strategy
one document who decides · who signs off · what is kept · the dates and the runs
2 THE DOMAINS the domain requirements the owner in the business · the packages · the depth of each
one stack for each domain the totals that must agree
3 THE REQUIREMENTS the data packages the rules · the field mappings · the value mappings
one for each package the data quality problems · the go-live steps · the validations
4 THE BUILD the tables the SQL · the checks · the keys
HOW IT IS RUN
5 THE EXECUTION the run sheet the steps of a run, in order · who does each · how long each takes
one list of steps also called: the run book · the cutover plan · the execution steps
the same steps are run in each place below: practised in DEV and TEST, timed in the rehearsal, run for real in PROD
WHERE IT IS PROVED every item above passes through all three places, and each one ends with a sign-off. The gates are an example
6 DEV the build runs each table agrees with its validation samples ► the code is locked
also called: development · build · sandbox
7 TEST the test cycles the counts close, and the business validates ► testing is signed off
also called: UAT, user acceptance testing · SIT · QA · a trial load · a mock load
┆ REHEARSAL the whole cutover, for practice the load fits its window, and each party signs ► a practice go or no-go
┆ also called: a dry run · a dress rehearsal · a mock cutover · pre-production
┆ drawn with a dotted line: some projects give it a place of its own, and others run it in TEST
8 PROD the cutover the rehearsed load, run one more time ► go or no-go
also called: production · live
WHAT TRAVELS the code is promoted from DEV to TEST to PROD · the mappings are one copy · the data is run again in each
A CHANGE comes back in at the layer that it touches, and passes through DEV, TEST and PROD again
THE RECORD each layer leaves one: the agreed document, the decisions, the log and the counts of each run, the sign-offsRead from the top, the layers go from the general to the exact: one statement of approach, then a stack of requirements for each domain, then the mapping of a single field. In the other direction, each sign-off rests on the layers above it. A go or no-go can be traced back through the test results to the mapping of a value, and from there to the person who decided it.
Strategy, plan or approach
A migration can be asked for a strategy, a plan and an approach. This guide treats them as three parts of one document, the asset of layer 1, so that each choice is written in one place. What the document is called is for the project to choose.
- The approachWhat kind of job this is, in a sentence or two. It sets the scene for everything else, and it rarely changes.
- The strategyThe choices that follow from the approach, each with its reason: the scope, the history cut-off, the depth, the go-live strategy, who decides.
- The planWho does what, and when: the team, the dates, the runs and the rehearsals. It changes every week.
The approach is worth writing first, because a short statement settles a great many later questions. Four common ones, as examples:
- Enough to go liveOnly what the business needs to work on the first day: the master data and what is open.
- Balances onlyOpening balances, with no transactions behind them. The detail stays in the old system.
- Master data onlyCustomers, suppliers and items. The business enters its open transactions by hand.
- EverythingAll the history that the new system can hold. It is the largest job: depth shows what each level costs.
A project agrees one sentence: "enough to go live, with two years of history for reference". When a manager later asks for ten years of closed orders, nobody has to argue the case again. The request is a change to the approach, and it goes to the project with its cost.
Each line is a choice. The page beside it gives the pattern to choose from.
The ten lines are the content of layer 1. Every line is a choice that a page of this guide already describes. To set up the governance of a migration is to decide how the pattern applies to this project, and to have the project agree it. The answers in the picture are one example.
Who decides, and what is kept
Two of the ten lines have their workings on this page: who decides, and what is kept.
The project
what, when, how muchThe scope · the dates · the budget · go or no-go
The migration lead
howThe approach · the tooling · the pattern · the order of work
The system's owners
the design of the targetA new field · a new value in a list
The business
what the data means, and what is acceptedA value mapping · a rule · a difference that it accepts
- What
- Customers with the payment term
ZZdo not migrate: they are test customers. - Who
- The sales manager
- When
- 12 March
- Which data
- 50 rows of the customer table
- Where
- Beside the mapping of the payment terms, and applied on every run
The migration lead brings the question to the owner of the decision.
A question that crosses two owners goes to the project, with what each answer costs.
- The requirements, each with where it came from
- The decisions
- The mappings
- The log and the counts of every run
- The rejected rows, each with its reason
- The plugs
- The sign-offs
An AI writes each decision into the workspace when it is made, with who made it and the data that it applies to. Later it answers a question such as "why is this customer not in the new system?" from that record. People make the decisions. A person can keep the same record in a spreadsheet with no AI.
See how it is done with Convago→Why
- Before the datesAgree the pack before the plan of the project gives the migration its dates.WhyA plan sets dates against work, and the pack says what the work is: how deep, how many cutovers, who signs. A plan that is written first has to be written again when those answers arrive.
- One packPut the choices in one place, with one date and the names of those who agreed.WhyThese choices are made on a migration whether or not anyone writes them down. When they are spread over emails and meetings, each person can remember a different version, and the difference may not show until the cutover.
- One ownerGive each decision one owner, by name or by role.WhyA decision with three names against it has no single owner. Each of the three can wait for the others, and the answer comes from whoever is asked first, who may not be the one who knows the data.
- Agreed at the startAgree who decides what in the first phase, before there is anything to disagree about.WhyThe split is easy to agree while it is a general question. It is much harder in the week when a mapping is disputed, because by then each possible answer suits one party and not the other.
- Inside the projectFit the migration into the way the project is already governed: its board, its control of change, its reporting.WhyA migration that sets up rules of its own competes with the project that it serves. The split in the picture keeps the project in charge of the scope, the dates and the budget. Within those limits the migration lead chooses the method, and tells the project when a limit is at risk.
- Recorded beside the dataRecord each decision where the work is, with the data that it applies to.WhyA decision that was made in a meeting or in an email can be found again only by the people who were there. When somebody asks months later why some customers are not in the new system, and the decision is not on record, it looks as if the migration lost them.
- Evidence from the runKeep the evidence as the work is done: let each run leave its log, its counts and its rejected rows.WhyEvidence that is put together at the end is rebuilt from memory, so it shows what people believe happened. A record that each run writes shows what did happen, and it costs little to keep.
- As light as the jobScale the governance to the size and the risk of the migration.WhyA register that nobody reads protects nothing. On a small migration, the whole of this page can be one page of notes and the history of the workspace. A large migration, or one in a regulated business, needs more, and the rules of the organisation say how much.
A plan lists three names against one task, "agree the mapping of the cost centres": the project manager, the migration lead and the architect of the new system. A question about one cost centre goes to the architect, who answers it from the design of the new system. The finance team knows what the cost centre is used for, and it is not asked. The mapping is found to be wrong in testing. With finance named as the one owner, the question has one place to go.
After go-live, an auditor asks why 50 customers of the old system are not in the new one. The record shows the decision: the payment term ZZ marks test customers, and the sales manager excluded them on 12 March. Each run since then counts the 50 rows as rejected, with that reason. A person who was not on the project answers the question in minutes.
How
- Draft layer 1 firstThe migration lead drafts the approach and the ten lines in the first week, from this guide and from what the project has already decided.
- Agree it at the kick-offBring the draft to the kick-off. The room corrects it, and the project agrees it. A line with no answer yet gets an owner and a date.
- Keep it shortOne page serves a small migration. A large one has a section for each line, and the pages of this guide give the content.
- Hold to it in every phaseThe pack is not filed after the kick-off. Each phase is run by its lines: the build by lines 2 and 6, the test cycles by line 7, the cutover by lines 3 and 8.
- Pass every item through the gatesA requirement, a mapping and a table are each proved in DEV, then in TEST, then in PROD. The gates in the picture are an example: the project names its own, and who signs at each. The names differ too: a project may call TEST "UAT", and the rehearsal "a dry run" or "a trial load". What matters is what each one proves, and who signs.
- Build the run sheet earlyThe run sheet is the list of steps of a run, in order, with who does each and how long each takes. Start it with the first full run, correct it at each test cycle, and time it in the rehearsal. The cutover then runs a list that has been run before.
- Give the rehearsal its own gateBetween TEST and PROD, run the whole cutover for practice and end it with a practice go or no-go. Whether it has an environment of its own depends on the project: see rehearsal.
- Send a change to its layerA change to the approach is a matter for the project. A change to a mapping is a matter for the owner of the domain. Either one passes through the gates again before it reaches production.
- Change it in the openA line of the pack can change, and the change is agreed by the same people and recorded like any other decision.
- Put the split on one pageWrite down the owners and what each decides, as line 1 of the pack. The four owners in the picture are the split that this guide uses, and a project can draw the lines differently.
- Name a person for each domainName the person in the business who decides the mappings of a domain and accepts its differences. A team is not a name: a question to a team can be answered by whoever sees it first.
- Record a decision in one lineWrite what was decided, who decided, when, and for which data. Add the reason where it is not plain. Keep the line beside the mapping or the requirement that it changes.
- Tie a requirement to its originRecord where each requirement came from: the meeting, the document or the person. A requirement with no origin is hard to question and hard to defend.
- Bring a question to its ownerThe migration lead is the one place for a concern about the migration. The lead answers what is the lead's to answer, brings every other question to the owner of that decision, and follows it until there is an answer.
- Agree the path for a disagreementDecide early where a question goes when two owners do not agree, and how soon an answer is needed. On most projects it goes to the project, with what each answer costs in time and in money. The trade calls this path "escalation".
- Raise a gap with its ownersA gap in the target is raised with the owners of the new system, through their own process for change. The same holds in the other direction: when the target changes in a way that affects the data, the effect on the migration is assessed before the change counts as done.
- Separate the sign-offsHave a different party give each one. A team checks its load with its own rules, so a wrong rule passes its own check. The cutover weekend shows a chain of three sign-offs as an example.
- Keep what a reviewer asks forA person who reviews the migration later, such as an auditor, asks a few plain things. What was in scope, what loaded, what did not load and why, who accepted each difference, and who signed off? The items in the last part of the picture answer them. The trade calls this record "the audit trail".
- Hand over at the endAfter go-live the data in the new system belongs to the business, as the data in the old system did. Hypercare is the time after go-live when the team stays on hand. At its end, hand over the list of rows that were agreed to be fixed by hand, marked with the work that remains. Pass the open problems to the support team, and confirm who looks after the old data and where it is kept.
More
- The plan: who decides, with the rest of the pattern.
- The migration lead
- Explained variance: how a difference is accepted.
- The cutover weekend: the sign-off chain.
- Archiving the old system