Running the Import
43
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 [email protected]:/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
Note
Importing package data can take up to two hours per channel. You may begin
registering systems to channels as soon as they appear in the RHN Satellite Server's
website. No packages are necessary for registration, although updates cannot be
retrieved from the Satellite until the channel is completely populated.
You may repeat this step for each channel or include them all within a single command by passing
each channel label preceded by an additional
-c
flag, like so:
satellite-sync -c
channel-label-1
\
-c
channel-label-2
\
--mount-point /var/rhn-sat-import
This conducts the following tasks in this order:
Содержание NETWORK SATELLITE 5.1.1 - RELEASE NOTES
Страница 1: ...Red Hat Network Satellite 5 1 1 Installation Guide Red Hat Network Satellite ...
Страница 18: ...14 ...
Страница 21: ...Satellite Proxy Vertically Tiered Topology 17 Figure 3 3 Satellite Proxy Vertically Tiered Topology ...
Страница 22: ...18 ...
Страница 36: ...32 ...
Страница 50: ...46 ...
Страница 56: ...52 ...
Страница 68: ...64 ...
Страница 71: ...67 Appendix B Revision History Revision History Revision 1 0 ...
Страница 72: ...68 ...