System information

The hammer i mpo rt command logs all output to the ~ /i mpo rt. l o g file. You can use the --
l o g fi l e option to any hammer i mpo rt subcommand to specify a different name and location for
the log file.
Report a bug
3.7 .1 .1 . Ge nerat ing and Act ivat ing a Manife st
You need to activate a manifest for the organizations for which you want to populate content and
other data. You can generate a manifest from within the Red Hat Customer Portal, and then activate
that manifest for the imported organization.
The following procedure assumes you have already created a suitable manifest in the Red Hat
Customer Portal.
Pro ced u re 3.1. T o Act ivat e t h e Man if est f o r Sat ellite 6 :
1. Log in to the Satellite 6 WebUI as an administrative user.
2. Select the required organization from the main menu at the upper left.
3. Click Co n t en t R ed Hat Su b scrip t ion s
4. On the Acti o ns tab, under Upl o ad New Mani fest, click Bro wse, navigate to and select
the manifest file that you downloaded.
5. In the Satellite 6 WebUI, click Upl o ad to upload the manifest to the Satellite 6 server.
Repeat this procedure for each required organization.
Report a bug
3.7.2. Import ing Users
The import process recreates the Satellite 5 users in each Satellite 5 organization from the
users. csv file. User passwords cannot be copied from Satellite 5 to Satellite 6; instead, the process
generates a new random password for each user that it imports. This information is saved in a CSV
file, which as the administrator you can parse and send notifications to each user listed with their
new password. You can use the hammer i mpo rt command on the command line or use the hammer
interactive shell.
The import process tracks which entities have already been processed. You can, for example, run the
hammer i mpo rt user command multiple times, using different input files (CSV files). The i mpo rt
command recognizes user IDs it has already imported, and skips them on subsequent processes.
Run the following command to import users into Satellite 6:
# hammer import user --csv-file /tmp/exports/users.csv \
--new-passwords /path/to/new/user/passwords.csv
The following is an example of an interactive session:
Examp le 3.3. Examp le o f Int eractive Impo rt Session
hammer> import user --csv-file /tmp/exports/users.csv --new-passwords
/root/new-user-passwords.csv
Chapt er 3. T ransit ioning fro m Sat ellit e 5 t o 6
27