3.7. Importing to Satellite 6
- Import organizations. This includes importing a manifest if one exists.
- Import users.
- Import system groups as host collections.
- Enable and synchronize repositories. This is referred to as repository discovery.
- Import repositories.
- Import custom channels and cloned channels as content views.
- Import activation keys.
- Import kickstart snippets as template snippets.
- Import configuration files to puppet modules.
- Import system profiles as content hosts.
Important
hammer import all --dry-run command to list the available entities and the order in which they should be imported.
Satellite 6 gives you the option of importing entities separately or all together. This section describes these two approaches.
# hammer shell hammer> import organization --csv-file=FILE hammer> import user --csv-file=FILE
/tmp/exports (the result, for example, of unpacking the output of spacewalk-export), you can use the following command to import everything:
# hammer import all --directory=/tmp/exports
3.7.1. Importing Organizations
users.csv file and recreate the Satellite 5.6 organizations listed within it. You can use the hammer import command on the command line or use the hammer interactive shell.
# hammer import organization --csv-file /tmp/exports/users.csv
--upload-manifests-from and --verbose options:
Example 3.2. Example of Interactive Import Session
# hammer shell hammer> import organization --csv-file /tmp/exports/users.csv --upload-manifests-from /root/manifests --verbose Importing from /tmp/exports/users.csv Creating new organization: RED HAT SATELLITE ENGINEERING Uploading manifest /root/manifests/RED_HAT_SATELLITE_ENGINEERING.zip to org-id 5 Waiting for the task [a231d19c-aee7-42b8-9566-07651ac029f4] ...... Organization [1->5] already imported. Organization [1->5] already imported. Organization [1->5] already imported. Organization [1->5] already imported. Creating new organization: SOE-ORG Uploading manifest /root/manifests/SOE-ORG.zip to org-id 6 Waiting for the task [5da6dd16-0bf6-4ad0-924f-a9d5e1802565] ...... Organization [7->6] already imported. Summary Found 5 organizations. Created 2 organizations. Uploaded 2 manifests.
hammer organization list command to list the organizations within Satellite 6.
hammer> organization list ID | NAME | LABEL | DESCRIPTION 1 | ACME_Corporation | ACME_Corporation | ACME_Corporation Organization 5 | QA | QA | Imported 'QA' organization from Red Hat Satellite 5 4 | Sec eng Dept. | Sec_eng_Dept_ | Imported 'Sec eng Dept.' organization from Red Hat Satelli.. 6 | Security | Security | Imported 'Security' organization from Red Hat Satellite 5 hammer>
user.csv file. The Satellite 5 organization IDs are mapped to new Satellite 6 organization IDs. This is illustrated by the "[2->4]" and "[26->7]" entries in Example 3.2, “Example of Interactive Import Session”. Alternatively, you can use the hammer import organization --into-org-id org_id command to reduce all of the Satellite 5 organizations into a single, flat organization within Satellite 6. You can use the hammer organization list command to determine the correct organization ID.
Warning
~/.transition_data directory. This information is critical for any subsequent data imports. Do not modify the data in this directory.
/root/.foreman/history file, and any errors from hammer commands are stored in the /root/.foreman/log/hammer.log file.
hammer import command logs all output to the ~/import.log file. You can use the --logfile option to any hammer import subcommand to specify a different name and location for the log file.
3.7.1.1. Generating and Activating a Manifest
Procedure 3.1. To Activate the Manifest for Satellite 6:
- Log in to the Satellite 6 WebUI as an administrative user.
- Select the required organization from the main menu at the upper left.
- Click →
- On the Actions tab, under Upload New Manifest, click , navigate to and select the manifest file that you downloaded.
- In the Satellite 6 WebUI, click to upload the manifest to the Satellite 6 server.

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.