搜索

此内容没有您所选择的语言版本。

Appendix B. Configuring Satellite to Synchronize Content with a Local CDN Server

download PDF

In a disconnected environment, you must ensure that Satellite Server contains the required content to provision systems with the latest security updates, errata, and packages. To do this, follow this procedure to download content ISO images from the Red Hat Customer Portal and import them into a local CDN server. You can host the local CDN server on the base operating system of Satellite Server or on a system that is accessible to Satellite over HTTP. Next, you must configure Satellite Server to synchronize content with the local CDN server.

Procedure

  1. Log on to the Red Hat Customer Portal at https://access.redhat.com.
  2. In the upper left of the window, click Downloads and select Red Hat Satellite.
  3. Click the Content ISOs tab. This page lists all the products that are available in your subscription.
  4. Click the link for the product name, such as Red Hat Enterprise Linux 7 Server (x86_64) to download the ISO image.
  5. Copy all of Satellite Content ISO images to a system that you want to use as a local CDN server. For example, the /root/isos directory on Satellite Server.

    Note that storing the content on the same system where Satellite is installed is not a requirement. The CDN can be hosted on a different system inside the same disconnected network as long as it is accessible to Satellite Server over HTTP.

  6. On the system that you want to use as your local CDN server, create a local directory that is accessible over httpd. For example, /var/www/html/pub/sat-import/:

    # mkdir -p /var/www/html/pub/sat-import/
  7. Create a mount point and temporarily mount the ISO image at that location:

    # mkdir /mnt/iso
    # mount -o loop /root/isos/first_iso /mnt/iso
  8. Recursively copy content of the first ISO image to the local directory:

    # cp -ruv /mnt/iso/* /var/www/html/pub/sat-import/
  9. If you do not plan to use the mounted binary DVD ISO image, unmount and remove the mount point:

    # umount /mnt/iso
    # rmdir /mnt/iso
  10. Repeat the above step for each ISO image until you have copied all the data from the Content ISO images into /var/www/html/pub/sat-import/.
  11. Ensure that the SELinux context for the directory is correct:

    # restorecon -rv /var/www/html/pub/sat-import/
  12. In the Satellite web UI, navigate to Content > Subscriptions.
  13. Click Manage Manifest.
  14. Edit the Red Hat CDN URL field to point to the host name of the system that you use as a local CDN server with the newly created directory, for example:

    http://server.example.com/pub/sat-import/

  15. Click Update and then upload your manifest into Satellite.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.