Chapter 6. Importing and Synchronizing
49
If no options are included,
satellite-sync
synchronizes all channels that already exist
in the Satellite’s database. By default, the
--step
(all steps) option is enabled.
Keep in mind that the
--channel
option requires the channel label, not its name.
For instance, use "rhel-i386-as-3" not "Red Hat Enterprise Linux 3 i386." Use the
--list-channels
option to obtain a list of all channels by label. All displayed channels
are available for importing and synchronizing.
6.2.2. Preparing for Import from Local Media
Channel Content ISOs are special collections that contain both packages and XML dumps
of metadata. The ISO images can be downloaded from the RHN website on a machine con-
nected to the Internet and then transferred to the Satellite. After logging in, click
Channels
in the top navigation bar and then the name of the channel for your version of RHN Satel-
lite Server. Click the
Downloads
tab and use the instructions on the page to obtain the
Channel Content ISOs, available by version of Red Hat Enterprise Linux. If the desired
Channel Content ISOs do not appear, ensure your RHN Entitlement Certificate has been
uploaded to RHN and correctly identifies the target channels.
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
/mnt/
to store the file(s) with the command:
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
/mnt/import/
) into
/var/rhn-sat-import/
:
cp -ruv /mnt/import/* /var/rhn-sat-import/
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.
Содержание NETWORK SATELLITE SERVER 4.0.5
Страница 1: ...RHN Satellite Server 4 0 5 Installation Guide ...
Страница 12: ...8 Chapter 1 Introduction ...
Страница 24: ...20 Chapter 3 Example Topologies Figure 3 3 Satellite Proxy Vertically Tiered Topology ...
Страница 82: ......