Skip to navigation

Warning message

log in to add comments or rate this document

How do I re-register my system with Red Hat Network (RHN) Classic or Red Hat Satellite?

Updated 2014-02-28T01:53:14+00:00

Issue

  • I had to re-install my system. How do I re-register that system with Red Hat Network Classic?
  • Can I re-register my test system with Red Hat Network Classic?
  • How do I re-register a system to a new or rebuilt Satellite server?
  • How to delete an existing system profile from RHN account to free up an entitlement required to register a new RHEL system
  • How to re-register a system to Red Hat Satellite
  • rhn_register does not register system to Satellite
  • I had to remove several systems from the Registered Systems for RHN Classic list in the Customer Portal. How do I re-register those systems with RHN Classic?

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Network (RHN) Classic
  • Red Hat Satellite 5

Resolution

  • If the client system has been re-installed and its old system profile is still on RHN Classic or Red Hat Satellite, then the old system profile needs to be deleted to free up the entitlements that it is consuming. Delete each duplicate or obsolete system profile with the following steps:

  • For systems registered to RHN Classic: See How do I delete System Profiles in RHN Classic?

  • For Systems registered to Red Hat Satellite: Follow the steps below:

    1. Log in to the Satellite server.
    2. Click on the "Systems" tab in the top navigation bar and then the name of the old or duplicated system in the System List.
    3. Click the "delete system" link in the top-right corner of the page.
    4. Confirm system profile deletion by clicking the "Delete System" button.
  • To re-register the system, run either of the following commands:

# rhn_register

or

# rhnreg_ks --username=<RHN or Satellite login> --password=<RHN or Satellite password> --force
  • To move entitlements from one system to another without deleting any system profiles, refer to the following solution: How do I move my Red Hat Network (RHN) entitlement to another machine?.
  • Note: Red Hat Enterprise Linux 3.x and 4.x have reached their Extended Life Phase, so they cannot be registered or updated from RHN Classic or Satellite without an active Extended Lifecycle Support (ELS) subscription. For further details on Extended Life Phase and ELS, please refer to: Red Hat Enterprise Linux Life Cycle.

  • If using Satellite and kickstart to provision systems, there are two alternatives to re-register without having to manually delete the profile:

    1. Configure the desired behaviour in the kickstart profile. Go to System Details > Details on the kickstart profile, and select the approppriate option:

      Red Hat Satellite Profile:
      If a Red Hat Satellite system profile already exists for a re-provisioned system outside of the Red Hat Satellite UI:
          Re-connect to the existing system profile. Do not create a new system profile.
          Delete the existing system profile and create a new system profile.
          Leave the existing system profile in place, but do not re-connect to it. Instead, create a new system profile.
      
    2. Using Satellite's API, add a script to your kickstart to delete the relevant profile during the installation before re-registering it. For documentation on API usage, please see the relevant guide on the documentation page (Satellite 5.5 and earlier / Satellite 5.6 and later)

Diagnostic Steps

  • Check the systemid in file /etc/sysconfig/rhn/systemid is the same as the one you check on RHN.
# vi /etc/sysconfig/rhn/systemid