Upgrade from RHEL7 to RHEL8

0

I want to upgrade my AWS on-demand instance from RHEL7 to 8 but it won't let me as my subscription status is unknown (probably not registered). How do I resolve this? I don't have any user id or password, AWS instance was created using my organization's contract with AWS. I don't have a personal AWS subscription. Please help

Bhavin
asked 6 months ago2373 views
1 Answer
0

Hello.

I think you can do it by following the steps in the document below.
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/upgrading_from_rhel_7_to_rhel_8/index

First, run the following command to upgrade to RHEL7.9.

yum update -y

Next, enable the RHUI repository and install the required RHUI packages using the following commands provided in the documentation:

yum-config-manager --enable rhui-client-config-server-7
yum-config-manager --enable rhel-7-server-rhui-extras-rpms
yum -y install rh-amazon-rhui-client leapp-rhui-aws

Next, install the Leapp utility using the following command.

yum install leapp-upgrade

Next, use the command below to perform a pre-upgrade check to see if there are any problems.

leapp preupgrade --no-rhsm

Finally, if there are no problems, run the following command to upgrade.

leapp upgrade --no-rhsm

If you upgrade using these instructions, be sure to validate before performing the upgrade in a production environment.

profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions