System information
Report a bug
3.7.5. T ransit ioning Cust om and Cloned Channels t o Cont ent Views
Red Hat Satellite 5 uses the concept of cloned channels to restrict the number of Red Hat-supplied
channels and RPM files. Custom content is added to custom channels, which are typically children of
cloned channels. In Satellite 6, for both Red Hat and non-Red Hat content, you use a single
repository and then provide filtered views of that repository to the systems managed by Satellite 6.
These filtered views are called content views.
This section describes how to recreate your Satellite 5 custom and cloned channels as content
views. This process provides a near-equivalent set of content to systems in Satellite 6 as was
available in Satellite 5.6.
Run the following command to import the Satellite 5 channels as content views in the Satellite 6
server. Use the --d i r option to specify the appropriate export directory.
# hammer import content-view --csv-file /tmp/exports/CHANNELS/export.csv
/
--dir /tmp/exports/CHANNELS
Run the following command to synchronize the imported channels:
# hammer import content-view --csv-file /tmp/exports/CHANNELS/export.csv
--synchronize
You can combine the two commands and synchronize the channels at the same time.
# hammer import content-view --csv-file /tmp/exports/CHANNELS/export.csv
/
--dir /tmp/exports/CHANNELS --synchronize
The following is an example session of importing channels to content views.
Examp le 3.8. Imp o rt ing Ch an n els t o C o n t en t Views
# hammer import content-view --csv-file
/tmp/exports/CHANNELS/export.csv --dir /tmp/exports/CHANNELS
Creating new product: Local-repositories
Creating new local_repository: Local repository for clone-rhel-x86_64-
server-5
No such content_view: 101
Repository Local_repository_for_clone-rhel-x86_64-server-5 is not
(fully) synchronized. Retry once synchronization has completed.
Product [1Local-repositories->118] already imported.
Creating new local_repository: Local repository for clone-rhel-x86_64-
server-6
No such content_view: 102
Product [1Local-repositories->118] already imported.
Creating new local_repository: Local repository for custom-clone-
master-puppet-rhel6-server-x86_64
Chapt er 3. T ransit ioning fro m Sat ellit e 5 t o 6
33