7.3. Obtaining the Required Packages for the Capsule Server

Prerequisites

  • The Satellite Server's base system must be able to resolve the host name of the Capsule Server's base system.
  • You will need a Red Hat Satellite user name and password.
  • Register the Capsule Server to the Red Hat Satellite Server to use the Red Hat Satellite Server products and subscriptions:

  1. Install the Red Hat Satellite Server's CA certificate in the Capsule Server:
    # rpm -Uvh http://satellite.example.com/pub/katello-ca-consumer-latest.noarch.rpm
    
  2. Register the Capsule server with your organization by using the organization label:
    # subscription-manager register --org organization_label
    You will be prompted for your Red Hat Satellite user name and password. The Satellite Server administrator can configure new users. See the Users and Roles chapter in the Red Hat Satellite 6.1 User Guide for more information.

Procedure 7.1. To Install a Satellite Capsule Server on a Certificate-managed System:

  1. List all the available subscriptions to find the correct Red Hat Satellite and Red Hat Enterprise Linux product to allocate to your system:
    # subscription-manager list --available --all
    The screen displays:
    Subscription Name: Red Hat Satellite Capsule Server
    Provides:          Red Hat Satellite Proxy
                       Red Hat Satellite Capsule
                       Red Hat Software Collections (for RHEL Server)
                       Red Hat Satellite Capsule
                       Red Hat Enterprise Linux Server
                       Red Hat Enterprise Linux High Availability (for RHEL Server)
                       Red Hat Software Collections (for RHEL Server)
                       Red Hat Enterprise Linux Load Balancer (for RHEL Server)
    SKU:               MCT0369
    Pool ID:           9e4cc4e9b9fb407583035861bb6be501
    Available:         3
    Suggested:         1
    Service Level:     Premium
    Service Type:      L1-L3
    Multi-Entitlement: No
    Ends:              10/07/2015
    System Type:       Physical
    

    Note

    The SKU and Pool ID depend on the Red Hat Satellite product type that corresponds to your system version and product type.
  2. Subscribe to the required pool IDs:
    # subscription-manager subscribe --pool=Red_Hat_Satellite_Capsule_Pool_Id
  3. Disable all existing repositories:
    # subscription-manager repos --disable "*"
    
  4. Enable the Satellite and Red Hat Enterprise Linux repositories by running subscription-manager. You might need to alter the Red Hat Enterprise Linux repository to match the specific version you are using. If enabling a repository unexpectedly fails, check the correct repository is enabled on the Satellite Server. In the web UI, navigate to ContentRed Hat Repositories and check the status of the repository under ContentSync Status.
    For Red Hat Enterprise Linux 6:
    # subscription-manager repos --enable rhel-6-server-rpms \
    --enable rhel-6-server-satellite-capsule-6.1-rpms
    For Red Hat Enterprise Linux 7:
    # subscription-manager repos --enable rhel-7-server-rpms \
    --enable rhel-7-server-satellite-capsule-6.1-rpms
  5. If required, to verify what repositories have been enabled, use the yum repolist enabled command. For example, on Red Hat Enterprise Linux 7:
    # yum repolist enabled
    Loaded plugins: langpacks, product-id, subscription-manager
    repo id                                            repo name                                                status
    !rhel-7-server-rpms/7Server/x86_64                 Red Hat Enterprise Linux 7 Server (RPMs)                 7,617
    !rhel-7-server-satellite-capsule-6.1-rpms/x86_64   Red Hat Satellite Capsule 6.1 (for RHEL 7 Server) (RPMs)   176
    repolist: 7,793
  6. Run the following command as the root user to install the capsule-installer package:
    # yum install capsule-installer
    The capsule-installer package provides the capsule-installer functionality.