
Chapter 6. Importing and Synchronizing
44
The RHN Satellite Synchronization Tool works incrementally, or in steps. For it to obtain Errata
information, it must first know the packages contained. For the packages to be updated, the tool must
first identify the associated channel(s). For this reason, the RHN Satellite Synchronization Tool
performs its actions in the following order:
1. channel-families — Import/synchronize channel family (architecture) data.
2. channels — Import/synchronize channel data.
3. rpms — Import/synchronize RPMs.
4. packages — Import/synchronize full package data for those RPMs retrieved successfully.
5. errata — Import/synchronize Errata information.
Each of these steps can be initiated individually for testing purposes with the effect of forcing the tool
to stop when that step is complete. All steps that precede it, however, will have taken place. Therefore,
calling the rpms step will automatically ensure the channels and channel-families steps take
place first. To initiate an individual step, use the --step option, like so:
satellite-sync --step=rpms
In addition to --step, the RHN Satellite Synchronization Tool offers many other command
line options. To use them, insert the option and the appropriate value after the satellite-sync
command when launching import/synchronization.
Table 6.2. Satellite Import/Sync Options
Option Description
-h, --help Display this list of options and exit.
-d=, --db=DB Include alternate database connect string:
username/password@SID.
-m=, --mount-point=MOUNT_POINT Import/sync from local media mounted
to the Satellite. To be used in closed
environments (such as those created
during disconnected installs).
--list-channels List all available channels and exit.
-cCHANNEL, --channel=CHANNEL_LABEL Process data for this channel only.
Multiple channels can be included by
repeating the option. If no channels are
specified, all channels on the Satellite will
be freshened.
-p, --print-configuration Print the current configuration and exit.
--no-ssl Not Advisable - Turn off SSL.
--step=STEP_NAME Perform the sync process only to the step
specified. Typically used in testing.
--no-rpms Do not retrieve actual RPMs.
--no-packages Do not process full package data.
--no-errata Do not process Errata information.
--no-kickstarts Do not process kickstart data
(provisioning only).
Comentarios a estos manuales