3.5. Registering an Offline System
- Open the Subscriptions tab in the Customer Portal, and select the Overview item under the Subscriptions area.
- In the Utilization area, click the Register a system link to create the new inventory entry.
- Fill in the architecture and hardware information for the system, along with other required information.
- The name for the entry, which is normally the hostname.
- The system type, physical or virtual.
- The architecture, which is used to determine compatible subscriptions.
- The number of sockets, either the number of physical sockets or, for virtual machines, the number of CPUs. Some subscriptions apply to a certain number of sockets, and multiple subscriptions may be required to cover larger systems.
- Once the system is created, attach the appropriate subscriptions to that system.
- Open thetab.
- Click the checkboxes by all of the subscriptions to attach, and then click the Add Selected button.
- Once the subscriptions are added, open thetab.
- Click thebutton. This exports all of the subscription certificates, for each product, to a single
.zipfile. Save the file to some kind of portable media, like a flash drive.
- Copy the subscription certificates from the media device over to the system.
- If all subscription certificates were downloaded in an archive file, then there are multiple archives in the downloaded
certificates.zipfile. Unzip the directories until the PEM files for the subscription certificates are available.
- Import the subscription certificates. This can be done using the System menu or using theitem in the
importcommand. For example:
# subscription-manager import --certificate=/tmp/export/entitlement_certificates/596576341785244687.pem --certificate=/tmp/export/entitlement_certificates/3195996649750311162.pem Successfully imported certificate 596576341785244687.pem Successfully imported certificate 3195996649750311162.pem
- Optionally, disable the automatic Red Hat repository.When a system is registered, Subscription Manager automatically creates a
redhat.repofile to access hosted repositories. For disconnected systems, it may be preferable to disable this repository. This is described in Section 6.3, “Disabling the Subscription Manager Repository”.
key.pemfiles into the