接続されていない Red Hat Satellite へのインポートを有効にするには、同期したコンテンツをエクスポートする必要があります。これを行うには、以下を実行します。
同期したリポジトリーをエクスポートします。
katello-disconnected export -t /var/tmp/export
# katello-disconnected export -t /var/tmp/export
Copy to ClipboardCopied!Toggle word wrapToggle overflow
出力は以下のようになります。
katello-disconnected export -t /var/tmp/export
katello-disconnected watch
Watching sync... (this may be safely interrupted with Ctrl+C)
running:
rhel-6-server-sam-rpms-6_4-x86_64
finished:
rhel-6-server-sam-rpms-6_4-x86_64
Watching finished
Done watching ...
Copying content to /var/tmp/export
Archiving contents of /var/tmp/export into 4600M tar archives.
NOTE: This may take a while.
tar: Removing leading `/' from member names
Done exporting content, please copy /var/tmp/export/* to your disconnected host
# katello-disconnected export -t /var/tmp/export
# katello-disconnected watch
Watching sync... (this may be safely interrupted with Ctrl+C)
running:
rhel-6-server-sam-rpms-6_4-x86_64
finished:
rhel-6-server-sam-rpms-6_4-x86_64
Watching finished
Done watching ...
Copying content to /var/tmp/export
Archiving contents of /var/tmp/export into 4600M tar archives.
NOTE: This may take a while.
tar: Removing leading `/' from member names
Done exporting content, please copy /var/tmp/export/* to your disconnected host
Copy to ClipboardCopied!Toggle word wrapToggle overflow
この操作により、以下のファイルが /var/tmp/export に作成されます。
ls /var/tmp/export/
content-export-00 content-export-01 content-export-02 expand_export.sh
# ls /var/tmp/export/
content-export-00 content-export-01 content-export-02 expand_export.sh
Copy to ClipboardCopied!Toggle word wrapToggle overflow
/var/tmp/export から外部メディアにファイルをコピーします。
注記
ファイルが外部メディアに対して大きすぎる場合、ファイルを一連の DVD に順番にコピーすることができます。
同期したコンテンツがエクスポートされ、接続されていない Satellite Server へのインポートを開始できます。