How to delete System Profiles of the systems registered with Red Hat Subscription Management (RHSM)?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux
  • Red Hat Customer Portal
  • Red Hat Subscription Management (RHSM)

Issue

  • How to delete System Profiles from Red Hat Subscription Management (RHSM)?
  • How to delete System Profiles from the Red Hat Customer Portal?

Resolution

Via WebUI

  • Delete system profile on Customer Portal
    1. Access the list of system profiles in the Red Hat Customer Portal under Systems tab.
    2. Check the box to the left of each system to be deleted from the service.
    3. Click the Remove button on the top right side of the page.
    4. Confirm the deletion and removal of the system(s) by clicking the Remove Systems button.

  • After the deletion, please also execute this command in each deleted system:

    # subscription-manager clean
    

    to clean useless subscription data.

Via Command Line

  • Delete system profile locally

    # subscription-manager remove --all
    # subscription-manager unregister
    # subscription-manager clean
    

More information on documentation:
* Red Hat Subscription Management documentation
* includes: Using and Configuring Red Hat Subscription Manager

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments