Importing With Rhn Satellite Synchronization Tool; Satellite-Sync - Red Hat NETWORK SATELLITE 5.2 Installation Manual

Hide thumbs Also See for NETWORK SATELLITE 5.2:
Table of Contents

Advertisement

• The RHN Satellite Server installation must have been performed successfully.
• 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
"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
Importing with RHN Satellite Synchronization Tool
Section 6.1.1,
39

Advertisement

Table of Contents
loading

Table of Contents