RHUIでRed Hat Enterprise Linuxクライアントを登録する
このセクションでは、Red Hat更新インフラストラクチャ(RHUI)を使用して、Red Hat Enterprise Linuxオペレーティングシステムを実行しているクライアントを登録する方法について説明します。
|
RHEL 10 requires x86-64-v3 CPU architecture. Red Hat Enterprise Linux 10 has raised the minimum supported x86-64 microarchitecture baseline to x86-64-v3. Systems running on x86-64-v1 or x86-64-v2 CPUs (e.g., pre-Haswell Intel or pre-Excavator AMD processors) cannot run RHEL 10 and will not be supported. This affects both physical hosts and virtual machines. Hypervisors (e.g., VMware EVC, KVM, etc.) must be configured to expose AVX/AVX2 CPU capabilities to guest VMs, otherwise RHEL 10 installation or boot will fail. Before deploying or upgrading to RHEL 10, verify that your hardware meets the x86-64-v3 requirement. References: |
SUSE Linux Enterprise Server with Expanded Supportを使用するのではなく、Red Hat Enterprise Linuxクライアントを直接実行している場合、Red Hatソースを使用してパッケージを取得および更新する必要があります。
Amazon EC2などのパブリッククラウドでクライアントを実行している場合は、この方法を使用します。
RHUIをRed Hatコンテンツデリバリネットワーク(CDN)と組み合わせて使用して、Red Hat Enterprise Linuxサブスクリプションを管理できます。 Red Hat CDNの使用については、CDNでRed Hat Enterprise Linuxクライアントを登録するを参照してください。
|
Red Hat Enterprise LinuxクライアントはRed Hatに基づいていて、SUSE Linux Enterprise Server with Expanded Support、RES、またはSUSE Linux Enterprise Serverとは関係ありません。 SUSE Multi-Linux ManagerサーバのRed Hat更新インフラストラクチャへの接続はユーザが行います。 このRHUI証明書を使用して更新したすべてのクライアントは、正しくライセンス供与されている必要があります。クラウドプロバイダに確認し、詳細については、Red Hatのサービス条項を確認してください。 |
|
RHUIで登録されたRed Hat Enterprise Linuxクライアントの電源がオフになっている場合、Red Hatが証明書を無効と宣言する場合があります。 この場合、クライアントの電源を再度オンにするか、新しいRHUI証明書を取得する必要があります。 |
1. エンタイトルメントと証明書のインポート
以前は、証明書とエンタイトルメントデータマニュアルをSUSE Multi-Linux Managerサーバにインポートする必要がありました。 SUSE PAYGインスタンスと同じメカニズムを使用して、このタスクが自動化されました。 詳細については、PAYG Overviewを参照してください。
このガイドでは、Red Hat更新インフラストラクチャ(RHUI)に登録されるクライアントについて説明します。 リポジトリコンテンツの認可済みサブスクリプションを使用して、1つ以上のシステムがRHUIに登録されている必要があります。
代わりにRed Hatコンテンツデリバリネットワーク(CDN)を使用する方法については、CDNでRed Hat Enterprise Linuxクライアントを登録するを参照してください。
|
クライアントシステムのサテライト証明書では、サテライトサーバおよびサブスクリプションが必要です。 サテライト証明書を使用するクライアントはSUSE Multi-Linux Managerサーバではサポートされていません。 |
|
PAYG接続は、最新の認証データを取得するために、定期的にクライアントをチェックします。 クライアントが実行され続け、定期的に更新されることが重要です。 これが行われない場合、リポジトリの同期はある時点で認証エラーにより失敗します。 |
|
接続する前に、Red Hat 7インスタンスを更新してください。 |
|
A Red Hat 9 instance needs to be configured with the crypto policy |
2. Red Hat更新インフラストラクチャへの接続
-
SUSE Multi-Linux ManagerのWeb UIで、に移動し、PAYGの追加をクリックします。
-
Start with the page section
PAYG connection Description. -
In the
Descriptionfield, add the description. -
Move to the page section
Instance SSH connection data. -
In the
Hostfield, enter the instance DNS or IP address to connect from SUSE Multi-Linux Manager. -
In the
SSH Portfield, enter the port number or use default value 22. -
In the
Userfield, enter the username as specified in the cloud. -
In the
Passwordfield, enter the password. -
In the
SSH Private Keyfield, enter the instance key. -
In the
SSH Private Key Passphrasefield, enter the key passphrase.
|
認証キーは常にPEM形式である必要があります。 |
インスタンスに直接接続していないが、SSH要塞を介して接続している場合は、プロシージャ: SSH要塞接続データを追加するに進みます。
それ以外の場合は、プロシージャ: Red Hat接続の終了 に進みます。
-
Navigate to the page section
Bastion SSH connection data. -
In the
Hostfield, enter the bastion hostname. -
In the
SSH Portfield, enter the bastion port number. -
In the
Userfield, enter the bastion username. -
In the
Passwordfield, enter the bastion password. -
In the
SSH Private Keyfield, enter the bastion key. -
In the
SSH Private Key Passphrasefield, enter the bastion key passphrase.
プロシージャ: Red Hat接続の終了でセットアップを完了します。
-
新しいRed Hat接続データの追加を完了するには、作成をクリックします。
-
Return to PAYG connection data
Detailspage. The updated connection status is displayed on the top section namedInformation. -
Connection status is shown in
Admin > Setup Wizard > Pay-as-you-goscreen, too. -
If the authentication data for the instance is correct, the column
StatusshowsCredentials successfully updated.
|
If invalid data is entered at any point, the newly created instance is shown in |
As soon as the authentication data is available on the server, repositories were added for all available repositories on the connected instance. The repositories can be seen in Software > Manage > Repositories
|
A Red Hat connection will create custom repositories which are owned by organization 1 by default. If a different organization should own the autogenerated repositories, configure |
これはリポジトリを定義して更新するだけです。 管理対象クライアントにリポジトリを使用する場合は、ソフトウェアチャンネルを指定して、リポジトリを接続する必要があります。
3. ソフトウェアチャンネルの追加
Red HatクライアントをSUSE Multi-Linux Managerサーバに登録する前に、必要なソフトウェアチャンネルを追加して同期する必要があります。
|
In the following section, descriptions often default to the |
SUSE Multi-Linux Managerサブスクリプションでは、SUSE Linux Enterprise Server with Expanded Supportのツールチャンネルを使用できます(Red Hat拡張サポートまたはRESとも呼ばれます)。クライアントツールチャンネルを使用してブートストラップリポジトリを作成する必要があります。このプロシージャは、Saltクライアントに適用されます。
このプロシージャで必要な製品は次のとおりです。
| OS Version | Product Name |
|---|---|
Red Hat 10 |
RHEL and Liberty 10 Base |
Red Hat 9 |
RHEL and Liberty 9 Base |
Red Hat 8 |
RHEL or SLES ES or CentOS 8 Base |
Red Hat 7 |
RHEL7 Base x86_64 |
SUSE Multi-Linux ManagerのWeb UIで、に移動します。
Locate the appropriate products for your client operating system and architecture using the search bar, and check the appropriate product. This will automatically check all mandatory channels. Also all recommended channels are checked as long as the
include recommendedtoggle is turned on. Click the arrow to see the complete list of related products, and ensure that any extra products you require are checked.製品の追加をクリックし、製品の同期が完了するまで待機します。
4. カスタムチャンネルの準備
RHUIからソフトウェアをミラーリングするには、自動生成リポジトリにリンクされたカスタムチャンネルをSUSE Multi-Linux Managerに作成する必要があります。
このプロシージャで必要なチャンネルは次のとおりです。
| OS Version | Base Product | Base Channel |
|---|---|---|
Red Hat 10 |
RHEL and Liberty 10 Base |
el10-pool-x86_64 |
Red Hat 9 |
RHEL and Liberty 9 Base |
el9-pool-x86_64 |
Red Hat 8 |
RHEL or SLES ES or CentOS 8 Base |
rhel8-pool-x86_64 |
Red Hat 7 |
RHEL7 Base x86_64 |
rhel7-pool-x86_64 |
SUSE Multi-Linux ManagerサーバのWeb UIで、に移動します。
チャンネルの作成をクリックし、チャンネルに適切なパラメータを設定します。
In the
Parent Channelfield, select the appropriate base channel.チャンネルの作成をクリックします。
作成する必要があるすべてのチャンネルで繰り返します。 各カスタムリポジトリに1つのカスタムチャンネルが必要です。
該当するすべてのチャンネルとリポジトリを作成したことを確認できます。そのためには、に移動します。
|
For Red Hat 10, Red Hat 9 and Red Hat 8 clients, add both the Base and AppStream channels. You require packages from both channels. If you do not add both channels, you cannot create the bootstrap repository, due to missing packages. |
すべてのチャンネルを作成済みの場合、これらのチャンネルを、作成したリポジトリと関連付けできます。
SUSE Multi-Linux ManagerサーバのWeb UIで、に移動し、関連付けるチャンネルをクリックします。
Navigate to the
Repositoriestab, and check the repository to associate with this channel.リポジトリの更新をクリックし、チャンネルとリポジトリを関連付けます。
関連付ける必要があるすべてのチャンネルとすべてのリポジトリを繰り返します。
OPTIONAL: Navigate to the
Synctab to set a recurring schedule for synchronization of this repository.今すぐ同期をクリックし、すぐに同期を開始します。
5. 同期ステータスの確認
In the SUSE Multi-Linux Manager Web UI, navigate to and select the
Productstab. This dialog displays a completion bar for each product when they are being synchronized.Alternatively, you can navigate to , then click the channel associated to the repository. Navigate to the
Repositoriestab, then clickSyncand checkSync Status.
tailを実行する前に利用可能なログを一覧表示するには、コンテナホストで次のコマンドを実行します。
mgrctl exec ls /var/log/rhn/reposync/SUSE Multi-Linux Managerコンテナホストのコマンドプロンプトで、rootとして、チャンネルログファイルの同期を確認します。
mgrctl exec -ti -- tail -f /var/log/rhn/reposync/<channel-label>.log同期の進行中に各子チャンネルは独自のログを生成します。 同期が完了したことを確認するには、ベースチャンネルと子チャンネルのログファイルをすべて確認する必要があります。
|
Red Hat Enterprise Linuxチャンネルは非常に大きいことがあります。 同期に数時間かかる場合があります。 |
6. GPGキーの管理
クライアントではGPGキーを使用して、ソフトウェアパッケージをインストールする前にパッケージ認証の確認が行われます。 信頼されているソフトウェアのみクライアントにインストールできます。
|
クライアントのセキュリティにとってGPGキーを信頼することは重要です。 必要かつ信頼できるキーを決定するのは管理者のタスクです。 GPGキーが信頼されていない場合、ソフトウェアチャンネルは使用できないため、クライアントにチャンネルを割り当てるかどうかは、キーを信頼するかどうかによって決まります。 |
GPGキーの詳細については、GPGキーを参照してください。
7. クライアントの登録
クライアントを登録するには、ブートストラップリポジトリが必要です。 デフォルトでは、ブートストラップリポジトリは自動的に作成され、すべての同期製品に対して毎日再生成されます。 コンテナホストのコマンドプロンプトからブートストラップリポジトリを手動で作成できます。
mgrctl exec -ti mgr-create-bootstrap-repo
クライアントの登録については、クライアントの登録を参照してください。