In some cases RHEL is needed, however we do not provide it from TDS store.
However it is quite easy to convert CentOS to RHEL, so here are steps that some TDS users used and shared with us.
OS | Is it supported by these instructions? | Comments | |
---|---|---|---|
CentOS 7 >> RHEL 7 | YES | ||
CentOS 8 Stream >> RHEL 8 | YES | ||
CentOS 9 Stream >> RHEL 9 | NO | It is not supported by Convert2RHEL, but official docs mention something like this:
|
To be able to finish conversion successfully in as short time frame as possible it is recommended to get the license and RHSM credentials upfront. Contact procurement that can help with the process. Or setup account on Red Hat Customer Portal and purchase and manage your subscriptions there.
Use TDS portal to deploy your preferred CentOS 7/8 in your project. Steps can be found in Orchestration - Servers#Howtodeploynewserver page.
If you are converting your long term running server with configurations and data, make a backup first. Conversion of fresh new server is not needed, in worst case you can re-deploy new one in short time |
sudo curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release https://www.redhat.com/security/data/fd431d51.txt |
# For CentOS 7 sudo curl -o /etc/yum.repos.d/convert2rhel.repo https://ftp.redhat.com/redhat/convert2rhel/7/convert2rhel.repo # For CentOS 8 sudo curl -o /etc/yum.repos.d/convert2rhel.repo https://ftp.redhat.com/redhat/convert2rhel/8/convert2rhel.repo |
sudo yum -y install convert2rhel |
You need to provide username, password and optionally pool ID in this step. If you don't provide the pool, you'll be prompted later a list of available pools from which you have to select the subscription you want (we used Red Hat Satellite – Add-Ons for Providers). |
sudo convert2rhel --username <RHSM username> --password <RHSM password> --pool <pool_id> |
When running convert2rhel yuo have to hit few times y to y/n questions and after a little while the conversion is done. Just reboot the machine and enjoy your brand new RHEL system.