4.2. Disconnected Satellite
4.2.1. Using Content ISO
- Download the product ISO from the Red Hat Customer Portal, as follows:
- Go to
Downloads(at the very top of the window) and select Red Hat Satellite. - Open the
Content ISOstab. All products to which the account is subscribed are listed there. - Click the link for the product name, such as Red Hat Enterprise Linux 6 Server (x86_64)(2015-03-12) to download the ISO.
- Save to media.
- Copy all of the Satellite content ISOs to a directory that Satellite can access. This example uses
/root/isos. - Create a local directory that will be shared via
httpdon the Satellite. This example uses/var/www/html/pub/sat-import/.#
mkdir -p /var/www/html/pub/sat-import/ - Recursively copy the contents of the first ISO to the local directory:
#
mkdir /mnt/iso#mount -o loop /root/isos/first_iso /mnt/iso#cp -ruv /mnt/iso/* /var/www/html/pub/sat-import/#umount /mnt/iso#rmdir /mnt/iso - Repeat the above step for each ISO until you have copied all the data from the series of ISOs into the local directory
/var/www/html/pub/sat-import/. - Ensure that the SELinux contexts are correct:
#
restorecon -rv /var/www/html/pub/sat-import/ - Modify the default provider URL the Satellite web interface:
- Log in to the Satellite web interface.
- Select the required organization from the Organization menu.
- Click → and then click .
- On the Subscription Manifest information screen select the Actions tab. Under Red Hat Provider Details click the edit icon on the Red Hat CDN URL entry and change it to the Satellite host name with the newly created directory, for example:
http://server.example.com/pub/sat-import/
Click . - Click to choose the manifest file.
- Click to import your manifest.
Note
The Satellite is now acting as its own CDN with the files located inhttp://localhost. This is not a requirement. The CDN can be hosted on a different machine inside the same disconnected network as long as it is accessible to the Satellite server via HTTP. - To enable the repositories from the local CDN, click →
- Click → .
- Select the repositories you want to synchronize and click .
4.2.2. Using the Synchronization Host
Important

Figure 4.1. Disconnected Satellite
4.2.2.1. Configuring the Synchronization Host
To import content from the Red Hat Content Distribution Network (CDN), the synchronization host requires:
- An Internet connection
- Valid Red Hat Network subscriptions
- A valid manifest (See Section 4.1.1.1, “Creating a Subscription Manifest” for instructions on how to obtain one.)
Procedure 4.14. To Configure a Host to Synchronize and Export Content from the Red Hat CDN:
- Use Red Hat Subscription Manager to register the synchronization host to RHN.
- List all the available subscriptions to find the correct Red Hat Satellite product to allocate to your system:
#
subscription-manager list --available --allThis command displays output similar to the following:+-------------------------------------------+ Available Subscriptions +-------------------------------------------+ ProductName: Red Hat Satellite ProductId: SKU123456 PoolId: e1730d1f4eaa448397bfd30c8c7f3d334bd8b Quantity: 10 Multi-Entitlement: No Expires: 08/20/2013 MachineType: physicalNote
The Product ID and Pool ID depend on the Red Hat Satellite product type that corresponds to your system version and product type. - Subscribe to the required pool IDs:
#
subscription-manager subscribe \--pool=Red_Hat_Satellite_Pool_ID \--pool=Red_Hat_Enterprise_Linux_Pool_ID \--pool=Red_Hat_Enterprise_Linux_Software_Collections_Pool_ID - Disable all existing repositories:
#
subscription-manager repos --disable "*" - Enable the Red Hat Satellite and Red Hat Enterprise Linux and Red Hat Software Collections repositories. Ensure the Red Hat Enterprise Linux repository matches the specific version you are using.
#
subscription-manager repos --enable rhel-6-server-rpms \--enable rhel-server-rhscl-6-rpms \--enable rhel-6-server-satellite-6.1-rpmsNote
The commands above are based on Red Hat Enterprise Linux 6. If you are using a different version of Red Hat Enterprise Linux, change the repository based on your specific version. - Install katello-utils:
#
yum install katello-utilskatello-utils includes thekatello-disconnectedutility that is required to set up repositories for import while qpid related packages are necessary for pulp configuration. - Generate a 32-character alphanumeric string for the
oauth_secretentry in the/etc/pulp/server.conffile:$
tr -dc "[:alnum:]" < /dev/urandom | head -c 32 - In the
/etc/pulp/server.conf, uncomment the[oauth]entry and add the randomly-generated value from the previous step as theoauth_secretvalue:[oauth] enabled: true oauth_key: katello oauth_secret: v8SeYqvS5QUfmg0dIrJOBG58lAHDRZnN
- Disable authentication in
/etc/qpid/qpidd.conf:# Configuration file for qpidd. Entries are of the form: # name=value # # (Note: no spaces on either side of '='). # Run "qpidd --help" or see "man qpidd" for more details. auth=no
All incoming connections authenticate using the Satellite's default realm. - Configure the connection from
katello-disconnectedto Pulp with the previously generated value as your--oauth-secretoption:#
katello-disconnected setup --oauth-key=katello --oauth-secret=v8SeYqvS5QUfmg0dIrJOBG58lAHDRZnNThis places a configuration value in~/.katello-disconnected. - Configure Pulp on the synchronization server:
sudo service qpidd start sudo chkconfig qpidd on sudo service mongod start sleep 10 sudo chkconfig mongod on sudo -u apache pulp-manage-db sudo service httpd restart sudo chkconfig httpd on sudo chkconfig pulp_workers on sudo service pulp_workers start sudo chkconfig pulp_celerybeat on sudo service pulp_celerybeat start sudo chkconfig pulp_resource_manager on sudo service pulp_resource_manager start
- Import the manifest to set up the list of available repositories to synchronize based on the selected subscriptions:
#
katello-disconnected import -m ./manifest.zip
4.2.2.2. Synchronizing Content
katello-disconnected enables all repositories that are included in the manifest for synchronization. Synchronization time is directly related to the amount of repositories to be synchronized. If the manifest has a large amount of repositories, the synchronization will take time and network resources.
katello-disconnected allows for the synchronization of specific repositories. This section will set up Pulp for synchronizing content.
- Disable all repositories:
#
katello-disconnected disable --allkatello-disconnectedenables all repositories by default. - Choose which repositories you wish to sync by listing all available repositories from the manifest:
#
katello-disconnected list --disabledrhel-6-server-rhn-tools-rpms-6_6-x86_64 rhel-6-server-rhn-tools-rpms-6Server-x86_64 rhel-6-server-kickstart-6Server-x86_64 rhel-6-server-kickstart-6_6-x86_64 rhel-6-server-rh-common-rpms-6_6-x86_64 rhel-6-server-rpms-6_6-x86_64 - Enable the chosen repositories for synchronization:
#
katello-disconnected enable -r rhel-6-server-rh-common-rpms-6_6-x86_64 - Create the repositories and push them to Pulp to allow synchronization:
#
katello-disconnected configureNote
The configure option forkatello-disconnectedreads the manifest, creates pulp repositories, and generates scripts before synchronization. It needs to be run each time a repository is enabled or disabled. - Synchronize the repositories:
#
katello-disconnected syncYou can use thewatchoption to monitor the synchronization process.#
katello-disconnected watchWatching sync... (this may be safely interrupted with Ctrl+C) running: rhel-6-server-rh-common-rpms-6_6-x86_64 running: rhel-6-server-rh-common-rpms-6_6-x86_64 ... finished: rhel-6-server-rh-common-rpms-6_6-x86_64 Watching finished
4.2.2.3. Exporting Content
- Export the synchronized repositories:
#
katello-disconnected export -t /var/tmp/exportYou can use thewatchoption to monitor the synchronization process. The output will look similar to:#
katello-disconnected watchWatching sync... (this may be safely interrupted with Ctrl+C) running: rhel-6-server-rh-common-rpms-6_6-x86_64 finished: rhel-6-server-rh-common-rpms-6_6-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 hostThis operation will create the following files in/var/tmp/export:#
ls /var/tmp/export/content-export-00 content-export-01 content-export-02 expand_export.sh - Copy the files from
/var/tmp/exportto the external media.Note
If the files are too big for your external media, the files can be copied sequentially in a series of DVDs.
4.2.2.4. Importing Content to a Disconnected Satellite Server
- Copy all of the Satellite Content ISOs to a directory that the Satellite can access. This example uses
/root/isos. - Create a local directory that will be shared via
httpdon the Satellite. This example uses/var/www.html/pub/sat-import/.#
mkdir -p /var/www/html/pub/sat-import/ - Recursively copy the contents of the first ISO to the local directory:
#
mkdir /mnt/iso#mount -o loop /root/isos/first iso /mnt/iso#cp -ruv /mnt/iso/* /var/www/html/pub/sat-import/#umount /mnt/iso#rmdir /mnt/iso - Repeat the above step for each ISO until you have copied all the data from the series of ISOs into the local directory
/var/www/html/pub/sat-import/. - Ensure that the SELinux contexts are correct:
#
restorecon -rv /var/www/html/pub/sat-import/ - Change the default provider URL in the Satellite web interface:
- Log in to the Satellite web interface and select the required organization.
- Click → and then click .
- On the Subscription Manifest information screen select the Actions tab. Under Red Hat Provider Details, click the edit icon next to the Red Hat CDN URL entry and change the URL to reference the location that the ISOs were copied to. This example uses the Satellite fully qualified domain name (FQDN)
server.example.com, so the URL is:http://server.example.com/pub/sat-import/
- Click to choose the manifest file.
- Click to import your manifest.
- Enable the repositories from the local CDN:
- Click →
- Enable the repositories that were enabled and synchronized in the Synchronizing Content section.
- Click → .
- Select the repositories you want to synchronize and click .
Note
http://localhost. This is not a requirement. The CDN can be hosted on a different machine inside the same disconnected network as long as it is accessible to the Satellite server via HTTP.
4.2.3. Migrating from Disconnected to Connected Satellite
- Ensure the correct organization is selected. Navigate to → and click .
- On the Subscription Manifest screen select the Actions tab. Click the edit icon next to the Red Hat CDN URL entry and insert the following URL:
https://cdn.redhat.com
Click .

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.