返回 Rocky Linux

迁移指南

Rocky Linux: 9 10

Moving from Rocky Linux 9 to Rocky Linux 10

困难预计耗时: 4-8 hours

Moving from Rocky Linux 9 to Rocky Linux 10

The big picture

RHEL-family distributions do not provide a supported in-place major upgrade path. The supported approach is to provision Rocky 10 systems and migrate workloads onto them, replacing Rocky 9 hosts over time. Community tooling for in-place elevation between EL derivatives exists (ELevate) — if you use it, treat it as a migration project with full backups, not a routine update.

Migration steps

Step 1: Inventory what runs on Rocky 9

List packages from third-party repos, custom kernel modules, and service configurations. Anything depending on removed hardware or package support needs an alternative on 10.

Step 2: Build a Rocky 10 baseline

Install Rocky 10, apply your configuration management, and verify the package set exists for the new major (third-party repos publish per-major rebuilds).

Step 3: Migrate services one host at a time

  • Build the replacement host.
  • Drain the service (load balancer, cluster failover).
  • Cut over, observe, then decommission the Rocky 9 host.

Step 4: Repeat until the fleet is on 10

Track the remaining lifetime of Rocky 9 in your inventory so the migration has a deadline, not a wish.

Compatibility checklist

  • SELinux policies and custom units may need rework on the new major.
  • Check hardware support: newer majors drop some legacy platforms.
  • Keep Rocky 9 fully patched while it still serves traffic.

Resources

Moving from Rocky Linux 9 to Rocky Linux 10 | EOL Date