
Importing with
RHN Satellite Synchronization Tool
39
• There must be sufficient disk space in the directory specified in the
--dir
option to contain the
exported contents.
Although it is not a requirement for the export to succeed, the export will be most useful when
performed on a Satellite that has populated channels.
6.1.2.1. Running the Export
First, be sure to configure the Satellite in the manner that you would either like to duplicate in another
Satellite or back up to a storage solution. Second, select the contents you would like to export. You
can choose not to export RPMs, errata, or kickstarts by using the options mentioned in
Section 6.1.1,
“
rhn-satellite-exporter
”
. Finally, execute the command as root. The following is an example
command:
rhn-satellite-exporter --dir=/var/rhn-sat-export --no-errata
When finished, the export directory may be moved to another Satellite or a storage solution using
rsync
or
scp -r
.
6.2. Importing with RHN Satellite Synchronization Tool
Before distributing packages via RHN Satellite Server, the packages must first be uploaded to the
Satellite. This section describes the process for importing packages and other channel data.
Important
To populate custom channels correctly, you must first populate at least one Red
Hat base channel. The
RHN Satellite Synchronization Tool
creates the necessary
directory structures and permissions; without these, the custom channel tools will
not work properly. For this reason, you should use these instructions to set up your
base channel(s) and then refer to the
RHN Channel Management Guide
for steps to
establish custom channels.
6.2.1.
satellite-sync
The
RHN Satellite Synchronization Tool
enables an RHN Satellite Server to update its database
metadata and RPM packages with those of RHN's central servers, another Satellite within your
organization, or local media. To launch it, execute the following command as root:
satellite-sync
This tool can be used in a closed environment, such as the one created with a disconnected install,
or it may obtain data directly over the Internet. Closed environment imports can get their data from
downloaded ISOs or from the XML data generated by
RHN Satellite Exporter
.
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.
Summary of Contents for NETWORK SATELLITE 5.1.1 - RELEASE NOTES
Page 1: ...Red Hat Network Satellite 5 1 1 Installation Guide Red Hat Network Satellite ...
Page 18: ...14 ...
Page 22: ...18 ...
Page 36: ...32 ...
Page 50: ...46 ...
Page 56: ...52 ...
Page 68: ...64 ...
Page 71: ...67 Appendix B Revision History Revision History Revision 1 0 ...
Page 72: ...68 ...