Chapter 9. Content and Synchronization
Your Red Hat Satellite Server installation is complete. The next step is to provide it with packages and channels for use with client systems. This chapter explains how to import content and keep it up-to-date.
Ensure to meet the following prerequisites before performing a Red Hat Satellite synchronization:
- A successful Red Hat Satellite installation.
- The Red Hat Satellite requires access to one of the following content sources:
- The Red Hat Network website over the Internet.
- Red Hat Network Channel Content ISOs.
- Red Hat Satellite Exporter data.
The sections in this chapter explain the use of the Red Hat Satellite Synchronization Tool and its use with each content source type.
9.1. Red Hat Satellite Synchronization Tool
The Red Hat Satellite Synchronization Tool (
satellite-sync) enables an Red Hat Satellite to update its database metadata and RPM packages with various sources.
satellite-syncimports a large amount of data, especially on newly installed Red Hat Satellite servers. If your database has performance issues after a significant amount of data changes, consider gathering statistics on the database.
To launch the Red Hat Satellite Synchronization Tool, execute the following command as root:
The Red Hat Satellite Synchronization Tool works incrementally. To obtain errata information, it first requires information about the packages contained. For the packages to be updated, the tool first identifies the associated channel(s). For this reason, the Red Hat Satellite Synchronization Tool performs the following actions in order:
channel-families- Import/synchronize channel family (architecture) data.
channels- Import/synchronize channel data.
rpms- Import/synchronize RPMs.
packages- Import/synchronize full package data for those RPMs retrieved successfully.
errata- Import/synchronize errata information.
Users can perform each of these steps individually for testing purposes with the effect of forcing the tool to stop when a step completes. All preceding steps, however, will execute. For example, calling the
rpmsstep automatically ensures the
channel-familiessteps execute first. To initiate an individual step, use the
In addition to
--step, the Red Hat Satellite Synchronization Tool provides other command line options. To use them, insert the option and the appropriate value after the
satellite-synccommand when launching import/synchronization.
| ||Display this list of options and exit.|
| ||Include alternate database connect string: username/password@SID.|
| ||Import/synchronization from local media mounted to the Red Hat Satellite server. Use in closed environments (such as those created during disconnected installs).|
| ||List all available channels and exit.|
| ||Process data for this channel only. Multiple channels can be included by repeating the option. If no channels are specified, Red Hat Satellite updates all channels.|
| ||Print the current configuration and exit.|
| ||Not Advisable - Turn off SSL.|
| ||Perform the synchronization process only to the step specified. Typically used in testing.|
| ||Do not retrieve actual RPMs.|
| ||Do not process full package data.|
| ||Do not process errata information.|
| ||Do not process kickstart data (provisioning only).|
| ||Forcibly process all package data without conducting a diff.|
| || Override the amount of messaging sent to log files and generated on the screen set in |
| ||Email a report of what was imported/synchronized to the designated recipient of traceback email.|
| || Direct synchronization output (from |
| ||Include the host name of an alternative server to which to connect for synchronization.|
| ||Add an alternative HTTP proxy server in the form hostname:port.|
| ||Include the username for the alternative HTTP proxy server.|
| ||Include the password for the alternative HTTP proxy server.|
| ||Use an alternative SSL CA certificate by including the full path and filename.|
| ||For debugging only - Include path to alternative digital system ID.|
| ||For debugging only - Set maximum batch size in percent for XML/database-import processing. Open man satellite-sync for more information.|