Running The Import - Red Hat NETWORK SATELLITE 5.3.0 Installation Manual

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

Advertisement

7. Then unmount /mnt/import in preparation for the next CD or ISO:
umount /mnt/import
8. Repeat these steps for each Channel Content ISO of every channel to be imported.
6.2.2.2. Preparing RHN Satellite Exporter Data
In order to perform the import from data previously exported using RHN Satellite Exporter, you must
first copy that data onto the local system. Steps such as the following will enable you to procede to
running the import as described in
1. Log into the machine as root.
2. Create a target directory for the files, such as:
mkdir /var/rhn-sat-import/
3. Make the export data available on the local machine in the directory created in the previous step.
This can be done by copying the data directly, or by mounting the data from another machine
using NFS. It is perhaps easiest to copy the data into the new directory with a command such as
the following:
scp -r root@storage.example.com:/var/sat-backup/* /var/rhn-sat-import
Now that the data is available, you can procede to performing the import.

6.2.3. Running the Import

The rhns-satellite-tools package provides the satellite-sync program for managing all
package, channel, and errata imports and synchronizations.
The following process assumes in the previous step the user has copied all data to /var/rhn-sat-
import.
The first step in importing channels into the database is listing the channels available for import. This
is accomplished with the command:
satellite-sync --list-channels --mount-point /var/rhn-sat-import
The next step is to initiate the import of a specific channel. Do this using a channel label presented in
the previous list. The command will look like:
satellite-sync -c rhel-i386-as-3 --mount-point /var/rhn-sat-import
Section 6.2.3, "Running the
Running the Import
Import".
43

Advertisement

Table of Contents
loading

Table of Contents