Content import using Red Hat Subscription Management

The HPE Server Automation RHN import has been enhanced to support content import from both RHN and RHSM. This allows for content import for RHEL 7 and other Red Hat products using RHSM.

redhat_import binary

To support content import from RHSM, a new binary has been added: redhat_import. This binary is capable of importing from both RHN and RHSM and uses an updated configuration file format (see redhat_import configuration file).

redhat_import configuration file

Users using the new binary file will have to migrate the existing configuration files to the new format. The new redhat_import binary does not work with old configuration files.

The redhat_import configuration file adds two new sections [RHN] and [RHSM] to control the import from RHN and RHSM respectively. For more details on the format of the redhat_import configuration file, see the manual page of redhat_import:

/opt/opsware/rhn_import/bin/redhat_import --manual

A sample configuration file is available at:

/etc/opt/opsware/rhn_import/redhat_import.conf-sample