Rehearse and verify a migration
For vendors whose customers must change how a server is deployed (from a virtual machine or bare metal to containers, Kubernetes or a cloud), and for organisations that run such a migration themselves: what must survive is recorded before, the migration is rehearsed in staging, and the cutover is verified against the same checks, with a signed attestation.
State today. Available now, being validated; offered on its own
before general availability
(ADR 0107,
ADR 0109). It
works today: the inventory of an installation, read-only, also in production
(fistron migration inventory, migration.md), the
required behaviour derived from it, the comparison before and after, the
rehearsal and the restore as a migration kit, and the migration’s verdict
and its own attestation, on the project’s Migrations page and in the
audit package (below). For vendors, the matrix of supported migration
paths in a programme: which are covered, failing or without evidence, and
a failed path as an item of the Test plan with its RCA
(solution-continuous-verification.md).
See it

The comparison of a synthetic rehearsal (the demo’s document). The same in the dark theme and on a phone. Taken from Fistron’s GUI at its release, never drawn.
| You do | Fistron does | You get |
|---|---|---|
| Name the installation to migrate and its rehearsal targets. | Fistron inventories them before and after the migration, read-only, and compares what changed. | The regressions of a rehearsal, the requirements checked and an attestation that a rollback is safe. |
The setup’s checklist
The same checklist, with each step’s state for your project and the page that does it, is on the project’s page Solutions.
- Connect an agent. The agent reads your CI, repositories and environments inside your network. See Use the hosted control plane with your own agent.
- Record what must survive the migration. The server’s inventory, read-only, before anything moves.
What you need
- A staging copy of the installation to migrate, which the agent may use
as a target marked
stagingorisolated. Production is always refused. - The migration as a step the vendor or your team can run: a script, a container, an Ansible playbook, or a Testkube or openQA job.
- The licence’s feature
migrationfor the required behaviour, and the vendor’s mapping of what the migration changes on purpose.
Record what the installation has
- Tell the agent how to read the installation: a
[probe]table under its target, on the agent’s own host or through SSH with a user that may only read, and the TLS ports and configuration files to read (migration.md), in the agent’s configuration on its Configuration page (Set an agent’s configuration in the control plane). For an Uyuni server addproduct = "uyuni"and its API’s address with a user that may read: its organisations, systems, channels, activation keys, configuration channels, users, proxies and peripheral servers are then counted too. A production installation may be read; nothing is ever changed there. - Before the migration, run
fistron migration inventory --config fistron.toml --target <name>(or the operationmigration-inventoryon the Work page). It reads the services, containers, listening ports, certificates, scheduled jobs, packages and configuration files’ digests. - Derive what must hold after the migration:
fistron migration requirements --inventory <inventory.json> --mapping <the vendor's mapping> --project <owner/name>(or the operationmigration-requirements). Each check cites the item it comes from; the vendor’s mapping says what the migration changes on purpose (migration.md). It needs the licence’s featuremigration. - After a migration, compare:
fistron migration compare --requirements <requirements.json> --after <the inventory after>(or the operationmigration-compare). Each check is held, changed as the vendor’s mapping intended, a regression, or not readable; the recordmigration_comparisonshows them under Documents.
Rehearse a migration
- Write a migration kit: a validation kit
(validation.md) whose
upgradestep runs the migration from the staging copy ({source}) to the target, whoseteststep runs the vendor’s scenario, and whoserollbackstep restores the source. - Declare the staging copy and the target of the migration as targets of
the agent, marked
stagingorisolated, each with its[probe], as for a validation programme (Set up Distributed Continuous Verification). - Run
fistron validation run <kit> --upgrade --source <the staging copy> --target <the target> --requirements <requirements.json>. The agent reads the source, migrates, tests, reads the target and compares it with the required behaviour; a regression fails the run and the source is restored (migration.md). A vendor rehearsing one of its migration paths adds--path <key>; the control plane does it for the runs it plans on a path.
Prove the restore
- Give the migration kit a
restorestep that restores your backup into a target markedisolated(where the backup is: the target’senv). - Run
fistron validation run <kit> --restore --target <the isolated target> --requirements <requirements.json>. The restore is proven when the run passes: the restored installation meets the required behaviour against the source’s inventory.
Attest the migration
After a rehearsal, a restore or the cutover, have the core judge the
comparison and sign it with your installation’s key: fistron migration attest --comparison <comparison.json> --project <owner/name> --stage cutover --restore <the restore's validation-run.json> --config fistron.toml. It says whether the migration held, what did not survive,
and whether a rollback is proven safe by the restore. Anyone checks it
offline: fistron migration verify <comparison.attestation.json> --key installation.pub --comparison <comparison.json>. It needs the licence’s
feature migration.
In the control plane, run the same operations as the agent’s work. The project’s Migrations page lists the attestations with their verdict and whether a rollback is proven safe; an audit package of the period holds them with the comparisons they attest.
Check
- The run’s record says
passed, with theinventory,upgrade(orrestore),test, hook andcomparesteps eachsucceeded, andmigrationwith the comparison’s summary. fistron validation verifyconfirms the run’s attestation,fistron migration verifythe migration’s.- If the run failed, the failed step and its output say what did not
survive the migration;
fistron validation rca <validation-run.json> --output <dir>analyses it. Fix it and rehearse again before the cutover.
Next
Ask your Fistroneer to plan the cutover with you: the restore of the backup verified first, then the same checks after the migration (Set up the end-to-end quality solution).