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

Table of Contents

Advertisement

Chapter 6. Importing and Synchronizing
Channel Content ISOs are mounted and then copied to a temporary repository directory.
Before mounting the ISOs, ensure the temporary repository has enough disk space to copy
all the contents into a single directory. For a single channel, the approximate required space
is 3 GB. The process to copy Channel Content ISOs is to mount each one, copy its contents
to the temporary repository, and then unmount the ISO. Each channel consists of several
ISOs. Once finished, the administrator should delete the temporary directory and all of its
contents. Follow these steps:
1. Log into the machine as root.
2. Insert the first Channel Content ISO that has been burned to disc.
3. Create a directory in
mkdir /mnt/import/
4. Mount the ISO file from within the directory containing it using the command:
mount iso_filename /mnt/import -o loop
5. Create a target directory for the files, such as:
mkdir /var/rhn-sat-import/
6. This sample command assumes the administrator wants to copy the contents of the
ISO (mounted in
cp -ruv /mnt/import/* /var/rhn-sat-import/
7. Then unmount
umount /mnt/import
8. Repeat these steps for each Channel Content ISO of every channel to be imported.

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
to store the file(s) with the command:
/mnt/
) into
/mnt/import/
in preparation for the next CD or ISO:
/mnt/import
package provides the
.
/var/rhn-sat-import/
satellite-sync
47
:
program for man-

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETWORK SATELLITE SERVER 4.0 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Rhn satellite server 4.0

Table of Contents