Fistron docs

fistron.io

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

Fistron’s comparison of an installation before and after its migration: what changed, the regressions first.

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.

  1. Connect an agent. The agent reads your CI, repositories and environments inside your network. See Use the hosted control plane with your own agent.
  2. Record what must survive the migration. The server’s inventory, read-only, before anything moves.

What you need

Record what the installation has

  1. 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 add product = "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.
  2. Before the migration, run fistron migration inventory --config fistron.toml --target <name> (or the operation migration-inventory on the Work page). It reads the services, containers, listening ports, certificates, scheduled jobs, packages and configuration files’ digests.
  3. Derive what must hold after the migration: fistron migration requirements --inventory <inventory.json> --mapping <the vendor's mapping> --project <owner/name> (or the operation migration-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 feature migration.
  4. After a migration, compare: fistron migration compare --requirements <requirements.json> --after <the inventory after> (or the operation migration-compare). Each check is held, changed as the vendor’s mapping intended, a regression, or not readable; the record migration_comparison shows them under Documents.

Rehearse a migration

  1. Write a migration kit: a validation kit (validation.md) whose upgrade step runs the migration from the staging copy ({source}) to the target, whose test step runs the vendor’s scenario, and whose rollback step restores the source.
  2. Declare the staging copy and the target of the migration as targets of the agent, marked staging or isolated, each with its [probe], as for a validation programme (Set up Distributed Continuous Verification).
  3. 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

  1. Give the migration kit a restore step that restores your backup into a target marked isolated (where the backup is: the target’s env).
  2. 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

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).