Hyperledger Fabric migration

Hyperledger Fabric migration covers the changes Fabric itself forces: Kafka ordering to Raft, the legacy chaincode lifecycle to v2.x, the move from v2.5 LTS to 3.x and relocating a network to new hosting. This page explains what each involves, what drives cost and what you provide.

On this page

When a Hyperledger Fabric migration becomes unavoidable

A Hyperledger Fabric migration becomes unavoidable when your consortium network depends on something Fabric v3.0 has removed. Fabric v3.0 dropped Solo and Kafka consensus and the v1.x legacy chaincode lifecycle, so a network still running any of them cannot simply take the next binary. Fabric's own upgrade guidance says networks must move Kafka ordering to Raft and move every channel to the v2.x lifecycle before upgrading. Those two changes are the first forced steps, and they apply to the whole consortium, not to one member's peers.

Four migration types are forced by the platform itself: Kafka ordering to Raft, legacy chaincode lifecycle to the v2.x lifecycle, moving from the v2.5 LTS line to 3.x, and moving a network between hosting environments. The first two are prerequisites for 3.x. The last is not a Fabric version change, but it still touches every orderer, peer, certificate authority and MSP key. Confirm your current version and ordering service against the Fabric upgrade documentation before you plan anything else.

You do not have to move to 3.x immediately. Fabric v2.5 remains the long-term support release for production users, and the project publishes patch releases for the 2.5 and 3.x lines in parallel. For consortium-wide work, the short answer is that a partner is worth evaluating when every member must coordinate orderer changes, channel capability updates and certificate handling on one schedule. Your own team can handle the work if you have the Fabric operators, a test network that mirrors production and members who will sign off each step in writing.

What a Fabric migration engagement includes and delivers

A Fabric migration touches ordering, chaincode definitions, binaries, capability levels, identities and hosting, and each step depends on the one before it. The cards below set out what the work covers, what each part hands over at the end, and what sits outside the engagement so both sides can agree the scope in writing before work starts.

Ordering service migration to Raft

Kafka ordering must move to Raft before a network can run on the v3.x line, so this work plans the consenter set, the cutover window and the orderer identities each consenter needs. The deliverable is a migration runbook with the target consenter layout, a tested rollback path and pre and post ledger evidence. Check early whether every channel can reach a Raft quorum during cutover, because the number of consenters you keep determines how many can fail.

Ordering service docs

Chaincode lifecycle migration per channel

Legacy chaincode lifecycle definitions must be moved to the v2.x lifecycle on every channel before the network upgrades. This work inventories installed chaincode, approval state per organization and channel, and the endorsement policies in force, then re-approves and commits definitions in a controlled order. The deliverable is a per-channel definition record showing the committed chaincode, sequence and approving organizations, plus a list of any channel that cannot be migrated without member sign-off.

Upgrade docs

Rolling orderer and peer upgrades

Orderer and peer binaries are upgraded one node at a time so channels keep serving transactions. This work sets the upgrade order, checks each node's health before and after the restart, and confirms that client applications using the Fabric Gateway client API keep working during the mixed-version period. The deliverable is a step-by-step rolling plan with health check results for each node, including the operations service checks used to confirm each restart.

Upgrade guide

Channel capability level updates

Capability levels are changed only after every orderer and peer runs the new binaries, and they are hard to reverse in practice. This work decides the target capability levels per channel, schedules the channel configuration updates, and records which organizations have signed off. The deliverable is a capability change record for each channel with the before and after values, the approving organizations and the validated channel state after the update.

MSP and certificate handling during the move

The move must keep every organization's MSP, enrollment and TLS certificates valid on the new hosts and must not break identities that peers and orderers already trust. This work inventories certificate authorities, expiry dates, key storage and any PKCS#11 HSM use, then plans how keys and certificates are carried over. The deliverable is a certificate inventory with expiry dates, a backup of MSPs and ledger data taken before each step, and a restore test.

Hosting relocation between environments

Moving a running network to a different cloud account, data center or air-gapped network changes addresses, DNS, TLS names, storage and monitoring. This work plans node-by-node relocation, re-points anchor peers and consenter addresses, and tests that gossip and ordering reach the new locations before traffic moves. The deliverable is a relocation runbook with a cutover checklist, a rollback plan and a post-move verification report. Confirm with your own platform team which network controls and images the new hosts must use.

What drives migration cost and duration

This table compares the factors that change how much work a Fabric migration takes, from channel and chaincode counts to HSM use and sign-off time. Read each row as a question to answer about your own network before asking for a quote. The main takeaway is that most effort comes from the number of organizations, channels and environments, and from consortium decisions that happen outside the code.

DriverWhy it raises effortHow to keep it down
Organizations and channelsEach channel has its own definition, endorsement policy and capability level, so every channel must be planned, tested and moved on its own schedule.Retire unused channels before migrating and agree a single channel pattern across members where possible.
Orderers and peersEvery Kafka-to-Raft move and every rolling binary upgrade touches each node, and each node needs its own backup and health check.Standardize node builds and scripts so the same runbook applies to every orderer and peer.
Chaincode count and lifecycle stateChaincode still on the legacy lifecycle must be moved to the v2.x lifecycle before a v3.x upgrade, with package and approval work per organization.Inventory every chaincode definition now and move the legacy ones first, in a test environment.
Ledger data volume and backupsLarger ledgers take longer to back up, copy and verify, and restore testing takes longer as data grows.Confirm backup tooling and storage capacity early, and test a restore on a copy rather than trusting the backup alone.
Number of environmentsDev, test and production each need the full sequence, and differences between them often cause failed rehearsals.Keep environments built from the same configuration and promote changes through them in order.
HSM use for MSP keysPKCS#11 HSM integration requires custom images, because the prebuilt Docker images are not built with PKCS#11, and HSM vendor testing adds work. TLS keys must stay file-based.Decide on HSM use before the migration starts and ask the HSM vendor to confirm compatibility with the Fabric version in use.
Consortium sign-off timeEach member organization must review scope, approve change windows and sign off on capability updates, and those approvals often take longer than the technical work.Agree the change calendar, approval roles and decision rules in writing before the plan is final.
Hosting changeMoving a network to a different cloud, data center or air-gapped environment means new identities, network paths, DNS, storage and certificates, on top of the Fabric steps.Separate the hosting move from the version move where the consortium allows it, so each change can be tested alone.

The Kafka and legacy lifecycle prerequisites gate the v3.x upgrade

The diagram starts with an assessment of the current ordering service and chaincode lifecycle. Kafka ordering must move to Raft and every channel must be on the v2.x lifecycle before any upgrade to 3.x begins. The sequence then runs a backup of the ledger and MSPs, a rolling orderer upgrade, a rolling peer upgrade, and finally channel capability updates. A separate branch covers moving the network to a new hosting environment, which should be planned against the same backup and upgrade checkpoints.

Prerequisites must finish before the 3.x upgrade steps begin.

How a migration project moves from assessment to cutover

The sequence turns an unknown current network into a tested, approved and verified target version, with each phase leaving a written record that the next phase depends on. Ask any partner to show these phases as a plan sized to your own network.

  1. Inventory the current network and its dependencies

    The partner or your team records the Fabric version on every peer and orderer, the ordering service type (Kafka or Raft), every channel and its capability levels, every chaincode definition and whether it uses the legacy or v2.x lifecycle, and the certificate authorities, MSPs, HSM use and operations service settings. Client applications and their Fabric Gateway client versions are listed separately because they can be upgraded independently. The output is a current-state inventory signed off by each member organization, along with a gap list showing what must change before the target version can run.

  2. Decide the target version line

    Compare the 2.5 LTS line, which the Fabric documentation describes as the long-term support release for production users, with the 3.x line, which adds the SmartBFT ordering option and Ed25519 MSP signing. Note that 3.0 removes Solo and Kafka ordering and the v1.x legacy lifecycle, so any network still on those must change first. The output is a written decision record naming the target version, the reasons for it, and which features the consortium will and will not use.

  3. Rehearse the migration on a non-production copy

    Restore a copy of the ledger and MSPs into a non-production environment that mirrors production topology, then run every step in the order you intend to use in production. Confirm that Raft migration, lifecycle changes, orderer and peer binary upgrades and capability updates all complete, and that client applications still submit and query transactions. Record each command, timing observation and error. The output is a rehearsal log and a corrected runbook that the production team will follow without improvising.

  4. Obtain consortium change approval

    Each member organization reviews the rehearsal log, the runbook, the rollback position and the change window, then approves in writing according to the governance rules already agreed for the channels. Approval covers who performs each action, who can halt the change, and who signs the post-cutover checks. Ask the partner to show how approvals are recorded, because a change without a complete approval trail is hard to defend in a later audit. The output is a signed change record.

  5. Execute production in the four-step upgrade order

    Follow the sequence in the Fabric upgrade guidance: back up the ledger and MSPs first, upgrade orderer binaries in a rolling fashion, upgrade peer binaries in a rolling fashion, then update application channel capability levels. Check health and consensus after each node before moving to the next one, and keep the backup available until verification passes. Operators should watch the operations service health endpoints and logs during every restart. The output is a completed execution log with a timestamp, the operator and the result for each node and each channel.

  6. Verify the network after cutover

    Run the verification suite from the rehearsal against production, including endorsement and commit on every channel, ordering availability under the expected node failure scenario, peer gossip across organizations, certificate validity for every orderer and peer, and client application submissions from each member. Confirm that metrics and alerts reflect the new binaries. The output is a verification report that every member organization acknowledges, with any open defects listed and assigned.

  7. Hand over runbooks, evidence and support

    Transfer the updated network documentation, the final inventory, the runbooks, the backup and restore procedure, the certificate expiry calendar and the evidence pack (change records, logs and verification results) to the operating team. Confirm who owns each operational task after go-live and what support, if any, continues under a separate agreement. The output is a handover record signed by the operating team and the consortium contact, which closes the migration project.

How the work differs by starting point and hosting

Networks that still order transactions through Kafka must move to Raft before any upgrade to Fabric v3.0 can happen, because v3.0 removed Solo and Kafka consensus. The migration changes the ordering layer under live channels, so it is the step most likely to affect transaction flow. Ordering nodes, their certificates and their channel membership all change during the move, and the work touches every consortium member that runs an orderer.

  • Raft node layout: Decide how many Raft orderers each organization runs and where they sit, since the cluster tolerates the loss of a minority of nodes.
  • Channel migration: Each channel's consenter set and orderer endpoints must be updated and verified on every channel.
  • Rollback path: Back up the ledger and MSPs before the change, and define how the network returns to Kafka if a step fails.
  • Client and monitoring changes: Application connection profiles and alerts that reference Kafka components need updating.
  • Coordination: Every organization must agree on the cutover window, since a partial change leaves members on different ordering setups.

Confirm with your vendor or platform team how many channels are affected, which Kafka-specific settings exist in your orderer configuration, and whether a test network can replay the migration before production.

What usually goes wrong in Fabric migrations and how to prevent it

Most failed Fabric migrations trace back to a short list of causes: prerequisites skipped, components upgraded in the wrong order, and identities or backups that were never checked. Each card below names one of these risks and the prevention step to put in the plan before the first change window opens.

Skipping lifecycle and Kafka prerequisites

Fabric v3.0 removed Solo and Kafka consensus and the v1.x legacy chaincode lifecycle, so any network still on those components cannot move to 3.x as is. Teams often discover this during the upgrade window. Inventory every channel's chaincode definitions and the ordering type before scheduling anything. Move Kafka ordering to Raft and all channels to the v2.x lifecycle on the 2.5 LTS line first, then re-verify each channel.

Upgrade docs

Upgrading components out of order

The upgrade guide sequences work as orderer binaries first, then peer binaries, then channel capability levels, each rolled one node at a time. Upgrading peers before orderers, or raising capability levels before every node runs the new binary, leaves the network in a mixed state that is hard to unwind. Write the node order and the go or no-go check for each step into the change plan, and confirm each node is healthy before moving to the next.

Upgrade guide

Missing or unverified backups

A backup that has never been restored is an assumption, not a recovery plan. Ledger data and MSP material both need to be captured before any binary changes, and the MSP directories hold the signing identities a node cannot operate without. Restore the ledger and MSP backups into an isolated test environment before the change window, and record which block height and certificate set each backup represents.

Backup targets: ledger, MSPs
2

Certificates expiring mid-change

A rolling upgrade can run for days, and an enrollment or TLS certificate that expires during that window can stop an orderer or peer from joining the network. Expiry dates are easy to forget because they are set at enrollment and rarely reviewed. Export the expiry date of every enrollment and TLS certificate from each node before the first change and renew anything expiring before the planned end of the window.

Client applications breaking on API changes

The Fabric Gateway client API is compatible with both v2.5 and v3.0, which lets client applications move on their own schedule rather than with the network. Teams that change client libraries and network versions in the same window cannot tell which change caused a failure. Upgrade the network first, then move client applications in a separate change, and test endorsement and commit paths against each version pair.

Upgrade guide

Hosting moves that change identities

Moving a network between clouds, data centers or air-gapped sites often changes hostnames, IP addresses and CA endpoints. If MSP definitions or TLS certificates bind to the old identities, nodes that look healthy can fail to form trust with peers in other organizations. Confirm which MSP and TLS identities must carry over unchanged and which must be reissued, then test the new host in a parallel network before cutover.

Which migration parts your team can keep and which to outsource

This table compares each Fabric migration part against the skills it needs and whether your own team or a partner should lead it. Read the right-hand columns as a starting split, then adjust it for the operators and staff you already have. The main takeaway is that governance stays with the consortium, while the ordering change, HSM and image work, and certificate checks are where outside experience saves the most rework.

Migration partUsual leadSkills needed
Consortium governance and sign-offIn-houseConsortium decision makers, legal review of channel and policy changes, and a named owner for each member organization
Chaincode lifecycle inventoryEitherChaincode developers who know each deployed package, plus an operator who can list definitions per channel and confirm they use the v2.x lifecycle
Kafka to Raft ordering changePartner leads, in-house operators pairFabric orderer administration, Raft cluster sizing, and consensus-level testing on a copy of the network before production
Rolling orderer and peer binary upgradesEither, with a rehearsalNode operators comfortable with rolling restarts, ledger and MSP backup and restore, and a staging network that mirrors production
HSM and custom image workPartner often leadsPKCS#11 integration, HSM vendor administration, and image build pipelines, since prebuilt images do not include PKCS#11 support
Certificate and CA checksEitherFabric CA administration, TLS and enrollment certificate expiry tracking, and CRL handling across all organizations
Post-cutover monitoring setupIn-house owns, partner configuresOperations service configuration, Prometheus or StatsD pipelines, log level handling, and alert tuning for ordering and endorsement

What a migrated network costs to run afterward

After cutover, the money goes on running the network, not on the software. Fabric is licensed under Apache 2.0 and has no paid edition, so the recurring bill is made up of the Raft ordering nodes and their hosting, the HSMs holding MSP keys where the organization uses them, the Fabric CA servers and their database, monitoring, and the staff who keep all of it current. Each member organization carries its own share of these costs for the nodes, CAs and keys it operates, and the consortium still has to agree how shared items such as the ordering set are funded and who pays when a node is replaced.

The largest recurring item is usually people. The 2.5 LTS line and the 3.x line both receive patch releases in parallel, as the June 18, 2026 releases on the Fabric GitHub page show, so someone has to track patches, test them in a non-production channel, and schedule rolling orderer and peer upgrades plus channel capability updates. Budget that time per organization, not once for the consortium. Ask whether the staff time in a quote covers monitoring of upstream releases, test environment upkeep, and the upgrade runs themselves, or only the initial cutover.

When requesting a quote, separate one-time migration work from recurring support and ask for each as its own line. The one-time part covers the ordering migration, chaincode lifecycle work, the version move and environment transfer. The recurring part should state the support hours, response expectations, patch cadence, backup verification, and how certificate renewal and CA operations are handled. Ask who owns the HSM and the custom images needed for PKCS#11, and confirm in writing how each cost is split across the consortium members before you sign.

Questions buyers ask before hiring help with a Fabric migration

How much effort does moving from Kafka ordering to Raft take?

The effort depends mainly on how many orderers and channels the network runs, how many organizations must agree on the new ordering nodes, and how well the team can rehearse the cutover. Fabric v3.0 removed Kafka consensus, so the move is mandatory before any upgrade to the 3.x line. Work usually covers mapping each orderer to a Raft consenter, provisioning TLS and signing certificates for the new nodes, rehearsing the switch in a non-production copy, and agreeing a cutover window with every member. Ask any partner for a written plan that lists each step, the approvals needed from each organization and the rollback path. The Fabric ordering service docs describe the Raft model you will be moving onto.

Can the move to the v2.x lifecycle happen without downtime?

It can often be done without stopping transaction processing, but whether it is achievable depends on your channels, chaincode and client applications, so confirm it in your own rehearsal before promising it to the business. Legacy chaincode must be moved to the v2.x lifecycle on every channel before the network can upgrade to v3.0, so the work touches chaincode definitions and endorsement policies that every organization has to approve. Plan for a staging network built from a recent ledger backup, a dry run of each channel definition, and a checklist that confirms endorsement still works after each change. Read the Fabric upgrade docs against your version and test each step before scheduling production work.

Should a network choose Fabric 2.5 LTS or the 3.x line?

Choose based on your support horizon, your need for features in 3.x such as BFT ordering, and how quickly your members can complete their own upgrades. The Fabric documentation states that v2.5 remains the long-term support release for production users, and both lines receive patch releases in parallel. Fabric v3.0 added a BFT ordering service based on SmartBFT and Ed25519 signing for MSPs, which matter only if your consortium needs those capabilities. Staying on 2.5 LTS still requires migrating away from Kafka and retiring legacy chaincode lifecycles, so those steps are useful either way. Record the decision in writing, with the reasons and the review date, so the consortium can revisit it.

What does a Fabric migration need from the consortium?

A migration needs written decisions from every member organization, not only from the technical team. Each organization must approve the new ordering topology, the chaincode definitions, the endorsement policies and the cutover window, and each must confirm that its own peers and client applications can follow the change. Governance time is often the longest part of the project, especially where members run different change-control processes or sit in different time zones. Ask the consortium to name a decision owner, agree on approval rules before the rehearsal, and budget for review cycles. Identify which members will need outside help and whether the consortium or each member pays for its own changes.

Can an in-house team run a Fabric migration alone?

An in-house team can run the migration alone if it already operates Fabric in production, has tested backup and restore, and has the time to rehearse each step without disrupting live operations. Teams that have not upgraded a Fabric network before usually struggle with certificate changes, channel capability updates and coordinating several organizations at once. Assess the skills you have in ordering, MSP and CA administration, chaincode lifecycle and change management, and note the gaps. A partner can cover the gaps through a fixed-scope engagement with written deliverables, or through a retainer for later upgrades. DeployOpen plans, implements, backs up, upgrades and documents self-hosted Fabric networks inside the client's own infrastructure.

What does moving a Fabric network to a new hosting environment add?

A hosting move adds a second change on top of the Fabric changes, because node identities, network addresses, storage and certificates must all be re-established in the new location. The main drivers are the number of peers and orderers, how much ledger data must be copied, whether HSM-held MSP keys must move or be re-provisioned, and how many DNS, firewall and TLS endpoints members must update. Confirm whether the new environment is an air-gapped network or a cloud account, since that changes image sourcing and access controls. Ask for a runbook that covers backups before the move, validation of ledgers after restore, and a plan for certificate renewal. Check the Fabric upgrade guide for the backup and rolling steps that apply.

What your team must provide before a migration starts

Before any migration work starts, your team has to give the engagement access to every peer, orderer and CA host in each member organization. That means network paths, administrative accounts and the ability to read the running configuration of each node, including the orderer system channel and the consortium definition. Without this, the inventory cannot be verified against what is actually running, and the first rehearsal will surface gaps that should have been found in planning. Ask each member organization to confirm in writing which hosts it owns, who administers them and how changes are made on them.

Your team also provides a current backup and a written inventory of channels, chaincode definitions, endorsement policies, collection configurations and MSP material. The backup must cover the ledger and MSPs, following the backup step in the upgrade guide linked from the upgrades section, and it should be restore-tested in a non-production environment before any cutover. Name an owner in each organization who can approve changes to their nodes and their identities. Each cutover step, including orderer conversion to Raft, chaincode lifecycle changes, binary upgrades and channel capability updates, needs a named sign-off from the consortium, not only from the operator running the change. Confirm that the consortium has agreed a change window long enough for rollback, and that every member has agreed how a failed step is reversed.

If your network uses an HSM, provide the PKCS#11 library details, slot and token layout, and the custom image build your team uses, since the prebuilt images do not include PKCS#11 support. Provide a non-production environment that mirrors the production topology closely enough to rehearse each step, including Kafka or Raft ordering, the CA databases and the operations service endpoints. Confirm with your security team which evidence they will need from the rehearsal and who will review it. Decisions on whether to rehearse on copies of production data, and how those copies are protected, should be made before the rehearsal is scheduled.

How DeployOpen scopes, delivers and hands over a Fabric migration

DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside the client's own infrastructure, and a Fabric migration follows the same written-scope approach. The work moves a live network through ordering, lifecycle and version changes with backups and verification at each step, and the client's own teams keep control of their identities, keys and nodes.

How we scope

  • Inventory current ordering service, chaincode lifecycle version, Fabric release and every channel before any change is agreed.
  • Agree in writing which migration steps are in scope, such as Kafka to Raft, lifecycle move, or the 2.5 LTS to 3.x upgrade.
  • Confirm which organizations, peers, orderers and hosting environments the migration touches, and who signs off each step.

How we build

  • Rehearse each change in a non-production copy of the network before touching the consortium's live channels.
  • Back up the ledger and MSPs before each step, then apply orderer and peer binary upgrades in a rolling fashion.
  • Verify channel capability levels, health endpoints and endorsement behavior after each step, and record the results.

How we hand over

  • Deliver a runbook covering each executed step, the rollback point taken before it and the verification evidence collected.
  • Document the final configuration, including ordering topology, lifecycle definitions and certificate locations, for the client's operators.
  • Walk the client's platform and security teams through the runbook so they can repeat backup and upgrade steps without us.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, scoped separately from the migration.
  • Support can cover the next patch releases on the 2.5 LTS or 3.x line once the client has chosen a target.
  • Confirm in the quote whether post go-live support, monitoring setup and certificate renewal are included or priced separately.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.