System information
# 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.
Use the hammer o rg ani zati o n l i st 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>
The import process creates organizations based on the organizations listed in the user. csv file.
The Satellite 5 organization ID s are mapped to new Satellite 6 organization ID s. 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 i mpo rt o rg ani zati o n --i nto -o rg -i d org_id
command to reduce all of the Satellite 5 organizations into a single, flat organization within
Satellite 6. You can use the hammer o rg ani zati o n l i st command to determine the correct
organization ID.
Warning
All import data is stored in CSV files in the ~ /. transi ti o n_d ata directory. This information
is critical for any subsequent data imports. Do not modify the data in this directory.
A history of hammer commands is stored in the /ro o t/. fo reman/hi sto ry file, and any errors from
hammer commands are stored in the /ro o t/. fo reman/l o g /hammer. l o g file.
Red Hat Sat ellit e 6 .0 T ransit ion G uid e
26