System information
Reco mmen d ed Practices fo r Syn chro n iz in g C o n t en t
The default behavior of the hammer i mpo rt repo si to ry command is to not automatically
synchronize content. Many of the following import operations require that synchronization be
complete before they can run successfully. Synchronization is a time-consuming task, because it
involves retrieving content from external sources into your Satellite 6 server.
Red Hat recommends that you schedule a background synchronization of all content before
proceeding. Only repositories available to imported organizations are enabled. The hammer
i mpo rt command does not alter organizations that are not part of the overall transition process.
Run the following command to find, enable, and synchronize all Red Hat content enabled by the
uploaded manifest files and matched by channels synchronized on the Satellite 5 server. This
command tells the import process to wait until the synchronization is complete, and only
synchronizes one repository at a time.
# hammer import repository-enable --synchronize --wait --no-async
After the repo si to ry-enabl e command is complete, run the following command to process local
and custom repositories in a similar fashion.
# hammer import repository --synchronize --wait --no-async
The following is an example session of importing repositories but without performing any content
synchronization.
Examp le 3.5. Examp le Sessio n o f Imp o rting Repo sito ries
The following is an example session of successfully importing repositories into Satellite 6.
# hammer import all --entities repository
Import organization with arguments --csv-file
/tmp/exports/users.csv
Summary
No action taken.
Import repository with arguments --csv-file
/tmp/exports/repositories.csv
Summary
Created 6 repositories.
Created 6 products.
Report a bug
3.7 .4 .1 . Enabling Ext e rnal Yum Re po sit o rie s
You need to recreate all non-Red Hat yum repositories that Satellite 5.6 was configured to use as new
external yum repositories from which Satellite 6 can import content.
The following example demonstrates using the --synchro ni ze option to import and synchronize
repositories.
Examp le 3.6 . Imp o rt in g and Syn ch ron iz in g n o n - Red Hat Repo sit o ries
Red Hat Sat ellit e 6 .0 T ransit ion G uid e
30