Este contenido no está disponible en el idioma seleccionado.
Chapter 2. Installing Satellite Server
2.1. Preparing for Satellite Server Installation Copiar enlaceEnlace copiado en el portapapeles!
Ensure that you meet all the prerequisites before installing Satellite Server.
Prerequisites
- You must create a Red Hat Enterprise Linux 7 host before you can install and configure Satellite Server. Red Hat Enterprise Linux version 7.5 or later is supported. For more information about installing Red Hat Enterprise Linux 7, see the Red Hat Enterprise Linux 7 Installation Guide.
- Ensure that your environment meets the requirements for installation, including meeting storage requirements, and ensuring that network ports and firewalls are open and configured. For more information, see the Preparing your Environment for Installation in Installing Satellite Server from a Connected Network.
2.2. Registering to Red Hat Subscription Management Copiar enlaceEnlace copiado en el portapapeles!
Registering the host to Red Hat Subscription Management 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.
Procedure
Register your system with the Red Hat Content Delivery Network, entering your Customer Portal user name and password when prompted:
subscription-manager register
# subscription-manager register
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The command displays output similar to the following:
subscription-manager register
# subscription-manager register Username: user_name Password: The system has been registered with ID: 541084ff2-44cab-4eb1-9fa1-7683431bcf9a
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
2.3. Attaching the Satellite Infrastructure Subscription Copiar enlaceEnlace copiado en el portapapeles!
After you have registered Satellite Server, you must identify your subscription Pool ID and attach an available subscription. The Red Hat Satellite Infrastructure subscription provides access to the Red Hat Satellite, Red Hat Enterprise Linux, and Red Hat Software Collections (RHSCL) content. This is the only subscription required.
Red Hat Satellite Infrastructure is included with all subscriptions that include Smart Management. For more information, see the Red Hat Knowledgebase solution Satellite Infrastructure Subscriptions MCT3718 MCT3719.
Subscriptions are classified as available if they are not already attached to a system. If you are unable to find an available Satellite subscription, see the Red Hat Knowledgebase solution How do I figure out which subscriptions have been consumed by clients registered under Red Hat Subscription Manager? to run a script to see if your subscription is being consumed by another system.
Procedure
Identify the Pool ID of the Satellite Infrastructure subscription:
subscription-manager list --all --available --matches 'Red Hat Satellite Infrastructure Subscription'
# subscription-manager list --all --available --matches 'Red Hat Satellite Infrastructure Subscription'
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The command displays output similar to the following:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Make a note of the subscription Pool ID. Your subscription Pool ID is different from the example provided.
Attach the Satellite Infrastructure subscription to the base operating system that your Satellite Server is running on:
subscription-manager attach --pool=pool_id
# subscription-manager attach --pool=pool_id
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The command displays output similar to the following:
Successfully attached a subscription for: Red Hat Satellite Infrastructure Subscription
Successfully attached a subscription for: Red Hat Satellite Infrastructure Subscription
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Optional: Verify that the Satellite Infrastructure subscription is attached:
subscription-manager list --consumed
# subscription-manager list --consumed
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
2.4. Configuring Repositories Copiar enlaceEnlace copiado en el portapapeles!
Use this procedure to enable the repositories that are required to install Satellite Server.
Procedure
Disable all repositories:
subscription-manager repos --disable "*"
# subscription-manager repos --disable "*"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Enable the following repositories:
subscription-manager repos --enable=rhel-7-server-rpms \ --enable=rhel-7-server-satellite-6.9-rpms \ --enable=rhel-7-server-satellite-maintenance-6-rpms \ --enable=rhel-server-rhscl-7-rpms \ --enable=rhel-7-server-ansible-2.9-rpms
# subscription-manager repos --enable=rhel-7-server-rpms \ --enable=rhel-7-server-satellite-6.9-rpms \ --enable=rhel-7-server-satellite-maintenance-6-rpms \ --enable=rhel-server-rhscl-7-rpms \ --enable=rhel-7-server-ansible-2.9-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteIf you are installing Satellite Server as a virtual machine hosted on Red Hat Virtualization, you must also enable the Red Hat Common repository, and install Red Hat Virtualization guest agents and drivers. For more information, see Installing the Guest Agents and Drivers on Red Hat Enterprise Linux in the Virtual Machine Management Guide for more information.
Clear any metadata:
yum clean all
# yum clean all
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Optional: Verify that the required repositories are enabled:
yum repolist enabled
# yum repolist enabled
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
2.5. Installing Satellite Server Copiar enlaceEnlace copiado en el portapapeles!
Update all packages:
yum update
# yum update
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Install the Satellite Server package:
yum install satellite
# yum install satellite
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Install Satellite Server and perform the initial configuration:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
2.6. Importing a Subscription Manifest into Satellite Server Copiar enlaceEnlace copiado en el portapapeles!
Use the following procedure to import a Subscription Manifest into Satellite Server.
Prerequisites
- You must have a Subscription Manifest file exported from the Customer Portal. For more information, see Using Manifests in the Using Red Hat Subscription Management guide.
Procedure
- In the Satellite web UI, ensure the context is set to the organization you want to use.
- Navigate to Content > Subscriptions and click Manage Manifest.
- In the Manage Manifest window, click Browse.
- Navigate to the location that contains the Subscription Manifest file, then click Open. If the Manage Manifest window does not close automatically, click Close to return to the Subscriptions window.
For CLI Users
Copy the Subscription Manifest file from your client to Satellite Server:
scp ~/manifest_file.zip root@satellite.example.com:~/.
$ scp ~/manifest_file.zip root@satellite.example.com:~/.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Log in to Satellite Server as the
root
user and import the Subscription Manifest file:hammer subscription upload \ --file ~/manifest_file.zip \ --organization "organization_name"
# hammer subscription upload \ --file ~/manifest_file.zip \ --organization "organization_name"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow