Upgrade RHEL 7 to RHEL 8 in place using LEAPP

Sdílet
Vložit
  • čas přidán 27. 06. 2024
  • In this video I will show you how to use the LEAPP program in RHEL to do an in place upgrade of RHEL 7 to RHEL 8. If you are just updating a stand alone RHEL server you can skip the final steps that are related to Satellite in this demo. This is needed before you upgrade your Satellite server from 6.11 to 6.12.
    In our example we are upgrading a Red Hat Enterprise Linux Server 7 to a Red Hat Enterprise Linux Server 8 on a Red Hat Satellite 6.11 Server in preparation to be able to upgrade it from Satellite 6.11 to Satellite 6.12. Satellite 6.12 will only run on RHEL 8.
    Subscribe to my channel: / @therootuser
    Recommended equipment: www.amazon.com/shop/ivanwindon
    00:00 Introduction
    00:22 Enable extras repository
    00:59 Install Leapp
    03:02 Review inhibited items
    04:57 Create answer file
    05:47 Proceed with in place upgrade
    07:16 Verify post upgrade status
    07:46 Reinstall Satellite components - if you are running Satellite
    10:04 Validate Satellite runs - if you are running Satellite
    10:21 Conclusion
    #leapp #redhat #redhatlinux #satellite #rhel8 #rhel7 #linux #howto #patchmanagement #patching
  • Věda a technologie

Komentáře • 6

  • @therootuser
    @therootuser  Před rokem +1

    At the end of the upgrade I noticed that the pulp and foreman_task services were in a failed state when doing a hammer ping. After speaking with Red Hat about it they recommended the following commands which resolved the issue:
    # satellite-maintain service restart // This will restart the service
    # foreman-rake foreman_tasks:cleanup TASK_SEARCH='result = error' STATES='paused,planning,running,pending' VERBOSE=true
    # foreman-rake foreman_tasks:cleanup TASK_SEARCH='label ~ *' AFTER='30d' VERBOSE=true
    # satellite-installer

  • @ekolodz666
    @ekolodz666 Před 3 měsíci

    Really thanks for your videos man. You are great!

    • @therootuser
      @therootuser  Před 3 měsíci

      Glad they are helpful. I'm going to be making new videos soon hopefully.

    • @ekolodz666
      @ekolodz666 Před 2 měsíci

      @@therootuser Oh man can't wait for that. Already subbed to you and turned on notifications!

  • @bishnusahu1705
    @bishnusahu1705 Před 3 měsíci +1

    Hi,
    I have some queries.
    1. R u using cdn right?
    2. What are the repositories enabled in this system?
    3. Did u enable any repos for rhel8.x

    • @therootuser
      @therootuser  Před 2 měsíci

      As this is being done on the Satellite server, and this is part of the Satellite series I created on this channel this server is registered directly to Red Hat for the repositories. If you had other servers or the capsule servers, they would be registered to the Satellite server itself and not Red Hat. The repo I added to this server was the rhel 7 extras repo as shown at the start of the video. You need rhel-7-server-rpms and rhel-7-server-extras-rpms. Also, if you have the server version locked, you'll want to clear that with subscription-manager release --unset and yum versionlock clear. I had not done this on my server, so it wasn't needed. You do not enable rhel 8 repos (as the system is rhel 7), the leap upgrade tool will upgrade the repos to rhel 8 and update the enabled repositories to reflect the new version once finished. Red Hat states: RHEL 8 repositories are automatically enabled during the in-place upgrade. However, on systems registered to Red Hat Satellite using RHSM, you must manually enable and synchronize both RHEL 7 and RHEL 8 repositories before running the pre-upgrade report.