1.3. Registering and Configuring the Host
The following sections describe how to register your host, identify subscriptions, and attach those subscriptions so that the host can consume content.
1.3.1. Registering to Red Hat Subscription Management
The first step in this process is to register the host to Red Hat Subscription Management. This enables the host to subscribe to and consume content for any subscriptions available to the user. This includes content such as Red Hat Enterprise Linux, Red Hat Software Collections (RHSCL), and Red Hat Satellite. Use the
subscription_manager register
command to register your Satellite:
# subscription-manager register Username: demouser Password: The system has been registered with ID: 541084ff2-44cab-4eb1-9fa1-7683431bcf9a
1.3.2. Identifying the Satellite Subscription
After you have registered your host, you need to identify your Satellite subscription Pool ID. You need this ID so that you can attach the required subscription to your host. The Satellite subscription provides access to the Satellite content, as well as Red Hat Enterprise Linux, Red Hat Software Collections (RHSCL), and Red Hat Satellite. This is the only subscription required.
Run the following command to identify your Satellite subscription:
# subscription-manager list --all --available Subscription Name: Red Hat Satellite Provides: Oracle Java (for RHEL Server) Red Hat Satellite 6 Beta Red Hat Enterprise Linux Server Red Hat Satellite Red Hat Enterprise Linux Load Balancer (for RHEL Server) SKU: MCT0370 Pool ID: 8a85f9874152663c0541943739717d11 Available: 3 Suggested: 1 Service Level: Premium Service Type: L1-L3 Multi-Entitlement: No Ends: 10/07/2014 System Type: Physical
Important
Make a note of the Pool ID; you need this value to attach your subscription to your Satellite host. In this example the Pool ID is 8a85f9874152663c0541943739717d11. The Pool ID for your subscription will be different.
Run the following command to attach your subscription to your Satellite. Ensure you substitute your own Pool ID:
# subscription-manager attach --pool=8a85f9874152663c0541943739717d11 Successfully attached a subscription for: Red Hat Satellite
Run the following command to ensure that the subscriptions were successfully attached:
# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Satellite Provides: Red Hat Satellite Red Hat Enterprise Linux Server Red Hat Software Collections (for RHEL Server) Red Hat Satellite Beta Red Hat Satellite 6 Beta Red Hat Software Collections Beta (for RHEL Server) Red Hat Satellite Capsule Beta Red Hat Enterprise Linux Load Balancer (for RHEL Server) Red Hat Satellite with Embedded Oracle Red Hat Satellite Capsule Red Hat Enterprise Linux High Availability (for RHEL Server) SKU: MCT0370 Contract: 10293569 Account: 5361051 Serial: 1653856191250699363 Pool ID: 8a85f9874152663c0541943739717d11 Active: True Quantity Used: 1 Service Level: Premium Service Type: L1-L3 Status Details: Starts: 10/08/2013 Ends: 10/07/2014 System Type: Physical
1.3.3. Configuring Repositories
You need to disable all existing repositories and only enable the Red Hat Enterprise Linux 6, Red Hat Software Collections, and Satellite 6 repositories. Run the following commands:
# subscription-manager repos --disable=* # subscription-manager repos --enable rhel-6-server-rpms \ --enable rhel-server-rhscl-6-rpms --enable rhel-6-server-satellite-6.0-rpms
1.3.4. Installing Satellite 6
Run the following command to install Satellite 6:
# yum install katello