6.3. Snapshot Manager를 사용하여 다른 버전으로 업그레이드
Snapshot Manager를 사용하여 Red Hat Enterprise Linux 운영 체제 업그레이드를 수행합니다.
사전 요구 사항
- Red Hat Enterprise Linux 9.6을 실행하고 있습니다.
-
snapm및boom-boot패키지의 현재 버전을 설치했습니다.dnf -y install snapm을 사용하여 Snapshot Manager 및 해당 종속 항목을 설치합니다. - 스냅샷 세트에 사용할 수 있는 충분한 공간이 있습니다. 원래 설치 크기에 따라 크기를 추정합니다. 마운트된 모든 논리 볼륨을 나열하고 각 볼륨에 충분한 공간을 사용할 수 있는지 확인합니다.
-
leapp및leapp-upgrade-el9toel10패키지를 설치했습니다.
프로세스
부팅 및 부팅 항목을 되돌리는 시스템 볼륨의 이름이 지정된 스냅샷 세트를 만듭니다. 예를 들어 시스템이 별도의 루트 및
/var파일 시스템으로 구성되어 있고업그레이드 전스냅샷 세트의 이름을 지정하려는 경우# snapm snapset create --boot --revert before-upgrade / /var SnapsetName: before-upgrade Sources: /, /var NrSnapshots: 2 Time: 2025-04-23 20:41:53 UUID: 5e56c455-6285-5f2d-a640-1595eac8381a Status: Active Autoactivate: yes Bootable: yes BootEntries: SnapshotEntry: 178e20f RevertEntry: 6703c58다음과 같습니다.
-
create는 스냅샷 세트를 생성합니다. -
--boot를 사용하면 스냅샷 부팅 항목을 생성할 수 있습니다. -
--revert를 사용하면 되돌리기 부팅 항목을 생성할 수 있습니다. -
before-upgrade는 스냅샷 세트의 이름을 지정합니다. -
/var는 스냅샷 세트에 포함할 마운트 지점의 공백으로 구분된 목록입니다.
이 명령은 아직 존재하지 않는 경우 실행 중인 시스템에 대한 boom 운영 체제 프로필 을 자동으로 생성합니다. 구성된 운영 체제 프로필을 더 많이 제어하려면(예: 실행 중인 시스템이 아직 사용하지 않는 사용자 지정 부팅 옵션을 설정하려면 시스템의
boom(8)도움말 페이지 및boom profile create하위 명령을 참조하십시오.-
Leapp 유틸리티를 사용하여 Red Hat Enterprise Linux 10으로 업그레이드:
# leapp upgrade ==> Processing phase `configuration_phase` ====> * ipu_workflow_config IPU workflow config actor ==> Processing phase `FactsCollection` … ====> * add_upgrade_boot_entry Add new boot entry for Leapp provided initramfs. A reboot is required to continue. Please reboot your system. Debug output written to /var/log/leapp/leapp-upgrade.log ============================================================ REPORT OVERVIEW ============================================================ HIGH and MEDIUM severity reports: 1. Detected modified configuration files in leapp configuration directories. 2. Leapp detected loaded kernel drivers which are no longer maintained in RHEL 10. 3. GRUB2 core will be automatically updated during the upgrade 4. Detected customized configuration for dynamic linker. 5. Packages not signed by Red Hat found on the system Reports summary: Errors: 0 Inhibitors: 0 HIGH severity reports: 5 MEDIUM severity reports: 0 LOW severity reports: 3 INFO severity reports: 2 Before continuing, review the full report below for details about discovered problems and possible remediation instructions: A report has been generated at /var/log/leapp/leapp-report.txt A report has been generated at /var/log/leapp/leapp-report.json ============================================================ END OF REPORT OVERVIEW ============================================================ Answerfile has been generated at /var/log/leapp/answerfile Reboot the system to continue with the upgrade. This might take a while depending on the system configuration. Make sure you have console access to view the actual upgrade process.leapp upgrade명령 보고서에 표시된 모든 차단자를 검토하고 해결합니다. 보고서에 대한 자세한 내용은 업그레이드 전 보고서 검토를 참조하십시오.업그레이드부팅 항목으로 재부팅합니다.# leapp upgrade --reboot ==> Processing phase `configuration_phase` ====> * ipu_workflow_config IPU workflow config actor ==> Processing phase `FactsCollection` ...Red Hat Enterprise Linux Upgrade Initramfs는 기본값으로 표시되고 자동으로 부팅됩니다.
검증
- 업그레이드가 완료되면 시스템이 자동으로 재부팅됩니다. GRUB 화면에 업그레이드된 (Red Hat Enterprise Linux 10) 및 사용 가능한 운영 체제의 이전 버전이 표시됩니다. 업그레이드된 시스템 버전은 기본 선택 사항입니다.