Running The Import - Red Hat NETWORK SATELLITE SERVER 4.1.0 Installation Manual

Table of Contents

Advertisement

46
7. Then unmount
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 Section 6.2.3 Running the Import.
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
aging 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
in preparation for the next CD or ISO:
/mnt/import
package provides the
.
Chapter 6. Importing and Synchronizing
satellite-sync
program for man-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rhn satellite server 4.1.0

Table of Contents