8.3. HAProxy ノードでの必要なリポジトリーの有効化
RHUI をシステムにインストールするには、まず必要なパッケージを含むノードで特定のリポジトリーを有効にする必要があります。以下の手順では、HAProxy ノードで rhel-8-for-x86_64-baseos-rpms
リポジトリーおよび rhel-8-for-x86_64-appstream-rpms
リポジトリーを有効にする方法を説明します。
前提条件
- HAProxy ノードへの root アクセスがある。
手順
HAProxy ノードに移動し、有効なリポジトリーをリスト表示し、システムが正しくサブスクライブされていることを確認します。
Simple Content Access (SCA) を使用していない場合:
# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Update Infrastructure and RHEL Add-Ons for Providers Provides: JBoss Enterprise Application Platform from RHUI JBoss Enterprise Web Server from RHUI JBoss Operations Network from RHUI RHEL for SAP - Update Services for SAP Solutions from RHUI Red Hat Developer Tools from RHUI (for RHEL Server) Red Hat Enterprise Linux Server - Extended Update Support from RHUI RHEL for SAP HANA - Update Services for SAP Solutions from RHUI Red Hat Developer Tools Beta from RHUI (for RHEL Server) Red Hat Enterprise Linux High Availability (for RHEL Server) from RHUI Red Hat JBoss Core Services from RHUI Red Hat Enterprise Linux for x86_64 from RHUI Red Hat Enterprise Linux for x86_64 Beta from RHUI Red Hat Enterprise Linux Load Balancer (for RHEL Server) from RHUI Red Hat Enterprise Linux Resilient Storage (for RHEL Server) from RHUI Red Hat Enterprise Linux Scalable File System (for RHEL Server) from RHUI Red Hat Enterprise Linux High Performance Networking (for RHEL Server) from RHUI Red Hat Enterprise Linux for SAP from RHUI Red Hat CodeReady Linux Builder for x86_64 from RHUI Red Hat Enterprise Linux for SAP Hana from RHUI Red Hat CodeReady Linux Builder for ARM 64 from RHUI RHEL Software Test Suite (for RHEL Server) from RHUI Red Hat Gluster Storage Server for On-premise from RHUI Red Hat Single Sign-On from RHUI Red Hat Enterprise Linux High Availability for x86_64 from RHUI Red Hat Enterprise Linux Resilient Storage for x86_64 from RHUI Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support from RHUI Red Hat Enterprise Linux Server - Extended Life Cycle Support (from RHUI) Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support from RHUI RHEL for SAP HANA - Extended Update Support (from RHUI) RHEL for SAP - Extended Update Support (from RHUI) Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support from RHUI Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support from RHUI Red Hat Enterprise Linux for ARM 64 from RHUI Red Hat Enterprise Linux Server - Update Services for SAP Solutions from RHUI Red Hat Software Collections (for RHEL Server) from RHUI Red Hat Enterprise Linux Server for ARM from RHUI Red Hat Enterprise Linux High Availability - Update Services for SAP Solutions from RHUI Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support from RHUI Red Hat Software Collections (for RHEL Server for ARM) from RHUI Red Hat Ansible Engine from RHUI Red Hat Software Collections Beta (for RHEL Server for ARM) from RHUI Red Hat Enterprise Linux for ARM 64 Beta from RHUI Red Hat Developer Tools (for RHEL Server for ARM) from RHUI Red Hat Developer Tools Beta (for RHEL Server for ARM) from RHUI dotNET on RHEL (for RHEL Server) from RHUI dotNET on RHEL Beta (for RHEL Server) from RHUI Red Hat Update Infrastructure Red Hat Enterprise Linux Server from RHUI SKU: RC11164 Contract: 126839 Account: 5401 Serial: 5744492009337488 Pool ID: 8a85f9a1790fb0ed017961af515b7 Provides Management: No Active: True Quantity Used: 1 Service Type: L1-L3 Roles: Service Level: Premium Usage: Add-ons: Status Details: Subscription is current Subscription Type: Standard Starts: 05/12/2021 Ends: 05/11/2022 Entitlement Type: Physical ---------------------------------------------------------------------------------
Simple Content Access (SCA) を使用している場合:
# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Disabled Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status. System Purpose Status: Disabled ---------------------------------------------------------------------------------
すべてのリポジトリーを無効にします。
# subscription-manager repos --disable=*
関連するリポジトリーを有効にします。
# subscription-manager repos --enable rhel-8-for-x86_64-appstream-rpms --enable rhel-8-for-x86_64-baseos-rpms
検証
有効なリポジトリーをリスト表示し、関連するリポジトリーがリストに表示されるかどうかを確認します。
# yum repolist enabled repo id repo name rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)