Red Hat Training
A Red Hat training course is available for Red Hat Satellite
Chapter 4. Populating Red Hat Satellite with Content
4.1. Connected Satellite
4.1.1. Using Red Hat Content Providers
4.1.1.1. Setting up a Manifest
You must meet the following conditions before continuing with this task:
- A Customer Portal user name and password.
- Sufficient subscriptions to add to the manifest.
- Log in to the Customer Portal.
- Click Subscriptions. On the Red Hat Subscription Management Page, scroll down and click on Subscription Management Applications, then, click Satellite.
- On the upper right corner of the Subscriptions Management Applications page, click Register a Satellite.
- Create a name to distinguish your Satellite from the other Satellite systems in your account.
- Select Satellite 6.0 from the drop-down menu as the Satellite version. It is important to select the correct version as each version requires a certain subset of packages.
- Click Register.
- Click Attach a subscription, add the subscriptions required for Red Hat Satellite, and then click Attach Selected. See How to generate a certificate for more information.The minimum requirements for generating a manifest are:
- A valid Red Hat Satellite subscription on your Customer Portal account
- At least one Red Hat Enterprise Linux subscription to attach to the manifest
Warning
If a valid Red Hat Satellite subscription is not in the account, the Download Manifest will not be clickable. - Click Download manifest to generate an archive in .zip format that contains the manifest for Red Hat Satellite.
A subscription manifest is created and downloaded for Red Hat Satellite.
4.1.1.2. Uploading a Subscription Manifest
Procedure 4.1. To Upload a Subscription Manifest
- Log in to the Satellite server.
- Click Any Context → Any Organization and select the organization that you want to assign the subscription manifest to.
- Click Content → Red Hat Subscriptions and then click Manage Manifest at the upper right of the page.
- In the Subscription Manifest section, click Actions and under the Upload New Manifest subsection, click Browse.
- Select the manifest file to upload, and then click Upload.
4.1.1.3. Enabling Red Hat Repositories
Procedure 4.2. Enabling Repositories
- Click Content → Red Hat Repositories.
- Click on the tab of the type of content to be enabled. The tabs are: RPMs, Source RPMs, Debug RPMs, Beta, ISOs, Other.
- Expand each Red Hat product to examine the different repository sets available by clicking on the arrow by the product name.
- Choose which Red Hat repository sets you wish to add. Choosing it will automatically enable that repository for your Red Hat Satellite server.For example, a common basic set of subscriptions which contain repositories with the latest packages for Red Hat Enterprise Linux 6 would be:
- Red Hat Enterprise Linux 6 Server Kickstart x86_64 6Server Repository
- Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server Repository
- Red Hat Enterprise Linux 6 Server - RH Common RPMs x86_64 Repository
Note
The Red Hat Common repository must be enabled as it provides client systems registered to the Satellite Server katello-agent and puppet packages for both katello-agent and puppet.
Repositories have been enabled and are ready to be synchronized.
Note
4.1.2. Using Products
4.1.2.1. Creating a Product
Procedure 4.3. Creating a Product
- Click Content → Products.
- Click the + New Product link.
- Type in the name of the new product in the Name field.
- Type in label for the new product in the Label field.
- Select a GPG key from the GPG Key drop down menu.
- Select a synchronization plan from the Sync Plan drop down menu. Alternatively select the + New Sync Plan link to create a new synchronization plan.
- Type in a description of the new product in the Description field.
- Click the Save button to save your new product.
A new product is created.
4.1.2.2. Adding Repositories to a Product
Procedure 4.4. Adding Repositories to a Product
- Click Content → Products.
- Click the product you wish to add a repository to.
- Click the Repositories subtab.
- Click the Create Repository button.
- Type in the name of the new repository in the Name field.
- Type in a label for the new repository in the Label field.
- Select the type of the repository from the Type drop down menu.
- Type in the URL of the repository in the URL field.
- Choose whether to publish the repository via HTTP by clicking the Publish via HTTP checkbox.
- Select a GPG key for the repository from the GPG Key drop down menu.
- Click the Create button to save your new repository.
A new repository is added to your product.
4.1.2.3. Using Bulk Actions for Products
Procedure 4.5. To Perform Tasks on Multiple Products:
- Click Content → Products.
- Select the check box for the products you want to work with.
- Click Bulk Actions.
- To synchronize all selected products, click the Product Sync tab and then click Sync Now.
- To remove all selected products, click Remove Products and then click Remove.
You can also update the synchronization plans for multiple products at the same time.
- To create a new synchronization plan, click Create Sync Plan.
- To remove the synchronization plans from the selected products, click Unattach Sync Plan.
- To update the synchronization plans for the selected products, click Update Sync Plan.
4.1.2.4. Using Repository Discovery
Procedure 4.6. Using Repository Discovery
- Click the Content → Products menu.
- Click the Repo Discovery button.
- Enter the URL where the repositories are located in the Yum Repo Discovery field.
- Click the Discover button.
- A list of the repositories at the URL is displayed under Results.
- Click the Discovered URLs check box for the repositories to be added to a product.
- Click the Create selected button.
- Choose whether to add the repositories to an existing product or create a new product.
- To add the repositories to an existing product:
- Select the Existing Product radio button.
- Select the required product from the drop down menu.
- To create a new product to add the repositories to:
- Select the New Product radio button.
- Enter the Name and Label for the new product and select a GPG Key from the drop down menu.
- Select the Serve via HTTP check box to serve the repository via HTTP.
- Edit the Name and Label for the Selected URLs.
- Click the Create button.
The repositories have been discovered and added to a product.
4.1.2.5. Removing a Product
Procedure 4.7. To Remove a Product from Satellite:
- Click Content → Products.
- Select the check box next to the products you want to remove.
- Click Bulk Actions and then click Remove Products.
- Click Remove to confirm that you want to remove the products.
4.1.3. Synchronizing Content from Source Repositories to Red Hat Satellite
- Data integrity between packages
- Updated packages, security fixes, and errata
4.1.3.1. Synchronization Status
Important
Procedure 4.8. Synchronize Products
- Click Content → Sync Status. Based on the subscriptions and repositories enabled, the list of product channels available for synchronization is displayed.
- Click the arrow next to the product name to see available content.
- Select the content you wish to synchronize.
- Click the Synchronize Now button to starting synchronizing. The status of the synchronization process will appear in the Result column. If synchronization is successful, Sync complete will appear in the Result column. If synchronization failed, Error syncing will appear.
A product is synchronized.
Note
4.1.3.2. Creating a Synchronization Plan
Procedure 4.9. To Create a Synchronization Plan:
- Click Content → Sync Plans.
- Click the New Sync Plan link to create a new synchronization plan.
- Enter the Name, Description and other details for the plan.
- Click Save to create the synchronization plan.
4.1.3.3. Applying a Synchronization Schedule
Procedure 4.10. To Create a Synchronization Schedule:
- Click Content → Sync Plans and select the synchronization plan you want to implement.
- Click Products → Add in the synchronization plan main page.
- Select the check box of the product to associate with the synchronization plan.
- Click Add Selected.