RHEL7 ELS Migration

 

KB – Migrate from Satellite 5 to Satellite  6 (redhat2.it.northwestern.edu to redhat.it.northwestern.edu)

(Hosted systems or system outside of NUIT Enterprise Virtual Environment will need to perform this to get ELS)

This should only be done if you have purchased ELS.  If not, there is no reason to migrate.

Modified Red Hat Documentation -

Pre-requisite

  • Verify if the system is registered with RHN before following the migration process. If systemid file exist under /etc/sysconfig/rhn , the system is registered to RHN and you are ready to go ahead with the migration.

How to migrate the system from RHN to RHSM. You can follow steps 1-7 or jump to step 8 to use script.
1. Check the version of subscription-manager package.

2. Install subscription manager as this replaces the rhn tools.

3. Change directory to edit plugins.

4. Edit plugins on system: enable plugins needed for RHSM ( enabled=1 ) and disable for RHN ( enabled=0 )

  • RHN Classic Plugins:
    • rhnplugin.conf
    • refresh-packagekit.conf
  • RHSM Plugins:
    • product-id.conf
    • refresh-packagekit.conf
    • subscription-manager.conf

For Example :-

5. Clean yum.

6. Remove (or rename) the systemid file.

7. Register system to RHSM via command-line (adjusted for NU).

8. We have created a script to take care of most of these steps, however, each case may vary due to OS customizations and use, so please use with caution. Below should be done in one line. A copy and paste may create a CRLF, which may not make it run correctly.

Or this may be downloaded and adjusted via - https://redhat.it.northwestern.edu/pub/migrate-to-sat6.sh

Again – please note this may not work on all systems due to variation, this is a base.

To verify you can run the following:

The presence of *server-els* confirms access to extended support. Please note actual repo list may vary depending on configuration of systems/servers.

Once ELS migration/registration have been verified, servers must be patched in order for ELS packages to be applied.  We are merely facilitating entitlement.

Please add all servers at the same time, it will help expedite the process of getting them added to the correct group in satellite.

 


 

Was this helpful?
0 reviews
Print Article

Details

Article ID: 2652
Created
Tue 8/13/24 3:55 PM
Modified
Thu 8/15/24 12:00 PM