How to enable and sync "Red Hat Enterprise Linux 8 for x86_64 - High Availability" repository on Red Hat Satellite 6 using hammer CLI?
Environment
- Red Hat Satellite 6
- Red Hat Enterprise Linux 8
Issue
- Is it possible to enable and sync
Red Hat Enterprise Linux 8 for x86_64 - High Availabilityrepository onRed Hat Satellite 6using hammer CLI?
Resolution
-
Execute the below commands to enable the
RHEL 8.x High Availabilityrepository on theRed Hat Satellite 6server.# hammer organization list ### Note down the organization ID # hammer repository-set enable --name 'Red Hat Enterprise Linux 8 for x86_64 - High Availability (RPMs)' --releasever 8.x --basearch x86_64 --organization-id Y ### Replace 8.x with the required minor release (ex- 8.6, 8.8, 8.9) and Y with the noted organization ID-
If the High Availability subscription is added to the
Red Hat Satellite 6manifest file, still no repository found to enable, refresh the Satellite manifest as follows, and try to enable the High Availability repository again:# hammer subscription refresh-manifest --organization=Y ### Replace Y with the noted organization ID
-
-
To sync the
RHEL 8.x High Availability repositoryon the Satellite server, execute the following command:# hammer repository synchronize --name 'Red Hat Enterprise Linux 8 for x86_64 - High Availability RPMs 8.x' --product 'Red Hat Enterprise Linux High Availability for x86_64' --organization-id Y ### Replace 8.x with the required minor release (ex- 8.6, 8.8, 8.9) and Y with the noted organization ID -
Reach out to the Red Hat Technical Support , if any further assistance is required.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments