2.3. Migrating from RHN Classic to Customer Portal Subscription Management
Note
rhn-migrate-classic-to-rhsm script.
rhn-migrate-classic-to-rhsm script has this syntax:
rhn-migrate-classic-to-rhsm [--force|--gui|--help|--no-auto|--servicelevel=SERVICE_LEVEL]
[root@server ~]# subscription-manager facts --list | grep migr migration.classic_system_id: 09876 migration.migrated_from: rhn_hosted_classic migration.migration_date: 2012-09-14T14:55:29.280519
Please refer to the following table for comparisons between RHN Classic and Red Hat Customer Portal Subscription Management capabilities. Note, this table may contain statements regarding future services not yet approved for implementation and does not indicate a commitment for delivery.
|
Feature/Function
|
RHN Classic
|
Red Hat Portal (Red Hat Subscription Management)
|
|
Red Hat Product Support
| ||
|
Red Hat Enterprise Linux versions supported
|
All current products and versions in Red Hat Enterprise Linux 4 All current products and versions in Red Hat Enterprise Linux 5 and Red Hat Enterprise Linux 6 All current products and versions in Red Hat including Enterprise Linux 7 are supported via Red Hat Satellite 5.7 But not via RHN Classic Hosted or stand-alone Proxy)
|
Red Hat Enterprise Linux 5 (5.7 and newer) Red Hat Enterprise Linux 6 (6.1 and newer) Red Hat Enterprise Linux 7 Intended for future versions of Red Hat Enterprise Linux
|
|
Red Hat Enterprise Virtualization versions supported
|
All current products and versions including RHEV 2.1, 2.2, 3.0
|
RHEV 3.0 and newer
|
|
Red Hat Enterprise Linux Migration to RHSM support?
|
N/A
|
YES, for Red Hat Enterprise Linux 5 (5.8 and newer) - via migration tooling as described in Red Hat Subscription Management
YES, for Red Hat Enterprise Linux 6 (6.3 and newer) - via migration tooling as described in Red Hat Subscription Management and How to migrate a Red Hat Enterprise Linux System from RHN Classic to RHSM
|
|
Red Hat Satellite 5
|
YES, all versions of 5.x
|
PARTIAL, Satellite 5 certificates can be issued from Customer Portal. Satellite 5.6 or 5.7 can be integrated with SAM 1.3+ to provide subscription status reporting
|
|
Red Hat Satellite 6
|
NO
|
YES
|
|
Support for all product SKUs
|
YES, but future product products may not be enabled for RHN Classic
|
YES, with a small number of exceptions and Why aren’t my subscriptions available in Red Hat Subscription Management?
|
|
Subscription Management Support
| ||
|
Default Client for installation method
|
Red Hat Enterprise Linux 5 (5.7 and older) Red Hat Enterprise Linux 6 (6.1 and older) All Red Hat Enterprise Linux 4
|
Red Hat Enterprise Linux 6 (6.3 and later) Red Hat Enterprise Linux 5 (5.9 and later) future versions of Red Hat Enterprise Linux
|
|
Content Basis for Client
|
RHN Classic
rhn-channel command and What is the command "rhn-channel" and how to use it?
|
Red Hat Subscription Manager
subscription-manager command to register and add subscriptions
|
|
Command line utilities for Client
| yum update (Red Hat Enterprise Linux 5 and later), up2date (Red Hat Enterprise Linux 4)
| yum update
|
|
System registration
| rhn_register, rhnreg_ks
| subscription-manager register and How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager
|
|
Activation keys
|
YES, with Smart Management subscriptions
|
YES, via Red Hat Subscription Asset Manager (SAM), Red Hat Satellite 6, and now also the Red Hat Customer Portal)
|
|
List subscriptions available to apply to installed system on Client
|
N/A
| subscription-manager list --available
|
|
Force list all subscriptions on Client
|
N/A
| subscription-manager list --available --all and Why can’t I see available subscriptions for my system in Red Hat Subscription Management?
|
|
Smart autosubscribe a subscription
|
N/A
| subscription-manager register --autosubscribe How do I subscribe to a channel in Red Hat Subscription Management?
|
|
Graphical user interface utilities for Client
|
System → Administration → RHN Registration
|
System → Administration → Red Hat Subscription Manager
|
|
Package update utility
| /usr/bin/yum System → Administration → Add/Remove Software
| /usr/bin/yum System → Administration → Add/Remove Software
|
|
Yum plugin support
| yum-rhn-plugin (provides rhnplugin.conf)
| subscription-manager (provides subscription-manager.conf and product-id.conf)
|
|
Web-based administration tool for customers
| ||
|
Support for updating content through Content Delivery Network
|
YES
|
YES
|
|
Email errata notifications
|
YES
|
YES
Satellite 6.1: Subscribing to Errata Notifications
|
|
Support for IP-Based Firewall Rules
| ||
|
Support for
sosreport diagnostics logging
|
YES
|
YES
|
|
Optional and Supplementary Channels available?
|
YES, but off by default Many devel packages are not available in Red Hat Enterprise Linux
| |
|
Support for subscription status
|
PARTIAL, Red Hat Satellite 5.6 or 5.7 can be integrated with Red Hat SAM 1.3+ for subscription status
|
YES
|
|
Support for subscription consumption reports
|
PARTIAL, Red Hat Satellite 5.6 or 5.7 can be integrated with Red Hat SAM 1.3 for subscription status
|
YES, via Red Hat Subscription Asset Manager FUTURE, via Red Hat Satellite 6
|
|
System Management Support
| ||
|
Support for Smart Management Red Hat Enterprise Linux Add-On
|
YES
|
YES, with Red Hat Satellite 6
|
|
Support for machine provisioning and monitoring
|
YES, with Smart Management subscriptions
|
YES, via Red Hat Satellite 6 provisioning feature
|
|
Content Management Support
| ||
|
Content Download GUI
|
YES
|
YES
|
|
Support for remote updating
|
YES, with Smart Management subscriptions
|
NO
|
|
Support for offline updating
|
YES, via Red Hat Satellite 5
|
FUTURE, via Red Hat Subscription Asset Manager YES, via Red Hat Satellite 6
|
|
Support for proxied updating
|
YES, via Red Hat Satellite Proxy 5
|
YES, via Red Hat Subscription Asset Manager (SAM) and Red Hat Satellite 6 Capsule Server
|
2.3.1. Basic RHN Classic to Customer Portal Subscription Management Migration
rhn-migrate-classic-to-rhsm tool migrates the system profile, registers the system with Customer Portal Subscription Management Subscription Management, and autoattaches the system to the best-matched subscriptions. Optionally, administrators can also set a service level preference for the system, which is used to help evaluate what subscriptions to select.
[root@server ~]# rhn-migrate-classic-to-rhsm --servicelevel=premium RHN Username: jsmith@example.com Password:
Retrieving existing RHN classic subscription information ... +----------------------------------+ System is currently subscribed to: +----------------------------------+ rhel-i386-client-5
/etc/pki/product directory.
List of channels for which certs are being copied rhel-i386-client-5 Product Certificates copied successfully to /etc/pki/product !!
Preparing to unregister system from RHN classic ... System successfully unregistered from RHN Classic.
Attempting to register system to RHN ... The system has been registered with id: abcd1234 System server.example.com successfully registered to RHN.
Attempting to auto-subscribe to appropriate subscriptions ... Installed Product Current Status: ProductName: Red Hat Enterprise Linux Desktop Status: Subscribed Successfully subscribed.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.