Migrating from RHN to RHSM in Red Hat Enterprise Virtualization
For Red Hat Enterprise Virtualization, any system based on Red Hat Enterprise Linux 6 or prior that was registered using the Red Hat Network (RHN) Classic hosted subscription method can now be migrated to Red Hat Subscription Management (RHSM). This includes any Red Hat Enterprise Virtualization Manager system and any Red Hat Enterprise Linux Host.
Red Hat recommends performing this migration on any affected system as soon as possible. More information on this transition can be found at This content is not included.This content is not included.https://access.redhat.com/rhn-to-rhsm.
The migration process unregisters the system from RHN Classic, and then registers it with Red Hat Subscription Management and attaches subscriptions using the subscription-manager CLI. The migration tools are contained within the subscription-manager-migration package. An additional package, subscription-manager-migration-data, is also required to map the RHN Classic channels to Red Hat Subscription Management product certificates. These packages are available for installation in your current subscription for any affected system.
The This content is not included.Red Hat Subscription Management - Migrating from RHN Classic guide provides detailed instructions on migrating Red Hat Enterprise Linux systems to Red Hat Subscription Management. The following section provides a basic overview of this migration and is catered to Red Hat Enterprise Linux systems in a Red Hat Enterprise Virtualization environment.
NOTE:
You do not need to migrate any system based on Red Hat Enterprise Linux 7
You do not need to migrate any Red Hat Enterprise Virtualization Hypervisor Hosts
How to Migrate Red Hat Enterprise Virtualization Systems to RHSM
Perform the following steps to migrate Red Hat Enterprise Linux based systems in your Red Hat Enterprise Virtualization environment:
- Before migration, check the channels available on your system:
a) For Red Hat Enterprise Virtualization Manager systems:
# yum repolist
repo id repo name
jbappplatform-6-x86_64-server-6-rpm Red Hat JBoss EAP (v 6) for 6Server x
rhel-x86_64-server-6 Red Hat Enterprise Linux Server
rhel-x86_64-server-6-rhevm-3.4 Red Hat Enterprise Virtualization Man
rhel-x86_64-server-supplementary-6 RHEL Server Supplementary
b) For Red Hat Enterprise Linux Hosts:
# yum repolist
repo id repo name
rhel-x86_64-rhev-mgmt-agent-6 Red Hat Enterprise Virt Management Ag
rhel-x86_64-server-6 Red Hat Enterprise Linux Server
- Install the migration tool packages:
# yum install subscription-manager-migration subscription-manager-migration-data
- Use the rhn-migrate-classic-to-rhsm tool to initiate the migration. This tool has many options available, including registering to on-premise services and manually selecting subscriptions. If you run it without any of the options, this tool migrates the system profile, registers the system with Red Hat Subscription Management, and automatically attaches the system to the best-matched subscriptions:
# rhn-migrate-classic-to-rhsm
Consult the This content is not included.Red Hat Subscription Management - Migrating from RHN Classic guide or the rhn-migrate-classic-to-rhsm man page for details on additional options that may be relevant to your organization and environment.
- After the migration completes, verify that all previous entitlement channels are available on your system:
a) For Red Hat Enterprise Virtualization Manager systems:
# yum repolist
repo id repo name
jb-eap-6-for-rhel-6-server-rpms Red Hat JBoss EAP (v 6) for 6Server x
rhel-6-server-rpms Red Hat Enterprise Linux Server
rhel-6-server-rhevm-3.4-rpms Red Hat Enterprise Virtualization Man
rhel-6-server-supplementary RHEL Server Supplementary
b) For Red Hat Enterprise Linux Hosts:
# yum repolist
repo id repo name
rhel-6-rhev-mgmt-agent Red Hat Enterprise Virt Management Ag
rhel-6-server-rpms Red Hat Enterprise Linux Server