Skip to content

this scripts will upgrade any rhel 8 to rhel 9.3. More info on README.md

License

Notifications You must be signed in to change notification settings

iagor1/scripts_upgrade_rhel8_to_9

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RHEL 8 to RHEL 9 Upgrade Shell Scripts

Description

This repository contains shell scripts designed to facilitate the upgrade process from RHEL 8 to RHEL 9.3. The inhibitors fixes in this repo if not fixed leapp will probably not upgrade your system.

First of all, to update rhel 8 to rhel 9.3 your server need to be in 8.9 to use leapp upgrade. With this command subscription-manager release --set 8.9 after that we need to update with dnf.

About Leapp Warnings, i cant make sure the warning i got will be the same. In this scripts i fixed the following Inhibitors :

  • Leapp inhibitor detected rpms with rsa/sha1 signature
  • Inhibitor: cannot perform the vdo check of block devices
  • Inhibitor: Firewalld Configuration AllowZoneDrifting Is Unsupported

Features

  • Automated upgrade process: The scripts automate the execution of key steps required to upgrade from RHEL 8 to RHEL 9, reducing manual intervention.

Requirements

  • RHEL 8 system
  • Permission to register rhel systems
  • Root access

Usage

  1. Clone this repository to your RHEL 8 system.

    git clone https://github.com/iagor1/scripts_upgrade_rhel8_to_9.git
  2. Run script

    ./config_pre_upgrade_rhel8.sh | tee output_pre_upgrade.txt

    After this script system will reboot!

    Finaly if you got the same warnings you can upgrade

    ./upgrade_rhel8.sh | tee output_upgrade.txt

    You may use nohup to run in backgroud and save the output

  3. Info about others Inhibitors check the file others_inhibitors.md

Extra

If you are having long downtime at reboot you should consider modify SELinux autorelabel process to ignore dirs with large files before upgrade, after the upgrade you can fixfiles restore. This trick can avoid long downtime.

Link how to avoid downtime : https://access.redhat.com/solutions/7005567

About

this scripts will upgrade any rhel 8 to rhel 9.3. More info on README.md

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages