Skip to content
Search openEuler

    Browse this documentation

    x2openEuler in-place migration end to end — 3.0 support matrix (CentOS 6/7/8→24.03), the assess-upgrade-verify three phases, and rollback planning

    This page’s evidence is documentation track + entry-point probing — the openEuler official migration page (openeuler.org/zh/migration) and the x2openEuler 3.0.0 release feature notes (checked 2026-11-05): the support matrix, tool composition, and download channels. The tool’s real-machine migration run was not tested (no CentOS source machine in the test environment; see the end of the page); this page delivers the workflow framework and decision points, with real-run records scheduled for a later batch.

    Support matrix (official position, 3.0.0-20240930)

    Section titled “Support matrix (official position, 3.0.0-20240930)”
    Source OSTarget OSMethod
    CentOS 6/7/8openEuler 24.03In-place upgrade, preserving data and configuration
    openEuler 20.03 / 22.03openEuler 24.03In-place upgrade

    Key point: the target has already aligned to the 24.03 line (the tool evolves with versions — defer to the current feature notes on the official migration page before migrating); after the upgrade the tool shows old-vs-new kernel parameter and configuration differences, and supports custom check items and SMT scripts — the verification phase is not a black box.

    ① Assessment (before migration, mandatory): run the assessment collection on the source machine to produce a software inventory and risk report — which packages have openEuler counterparts (cross-check this site’s package name difference map), which need source rebuilds, and which are blockers. The assessment report decides go/no-go — skipping assessment and upgrading directly is the single biggest source of accidents in this migration class.

    ② Upgrade (in-place RPM replacement): the tool replaces distribution-layer packages per the mapping table (*-release, kernel, core libraries), preserving business data/configuration/users. Engineering prerequisites: root access, disk headroom (tool’s guidance: ≥5GB scale), an online repo or an offline package repo (isolated environments use the official migration page’s offline download), and console access (the lifeline during the upgrade’s reboot phase — SSH will drop).

    ③ Verification (after upgrade): the tool’s version difference comparison (kernel parameters/configuration) + business smoke tests (do services start, do ports answer, application logs) + a checklist pass against this site’s post-migration package drift audit.

    In-place upgrades have no tool-level one-click rollback — rollback = restore to a pre-upgrade snapshot or reinstall. So the plan must be in place before the upgrade: VM snapshots (cloud), system-disk image backups (bare metal: dd/LVM snapshots), and rpm -qa plus key configuration inventories written to disk (the baseline for pre/post-upgrade diffing). Machines without a rollback channel do not enter the upgrade batch.

    • The official path for CentOS→openEuler is x2openEuler (this page);
    • Rocky/Alma→openEuler has no official tool — that is the manual route covered by another page (migrating from Rocky/Alma);
    • Upgrades across openEuler lines (22.03→24.03) go through openeuler-upgrader/repo replacement (cross-LTS upgrade).
    • The tool’s real-machine migration run was not tested (assessment collection, in-place upgrade execution, difference reporting — requires a CentOS source machine; scheduled for a later batch; the environment-class fault shapes measured are in x2openEuler troubleshooting);
    • Cross-architecture (x86_64/aarch64) migration matrix details were not checked (defer to the official feature notes);
    • Large-scale batch migration workflows (Ansible-orchestrated x2openEuler) were not developed.