RHUI를 사용하여 Red Hat Enterprise Linux 클라이언트 등록

이 섹션에는 Red Hat Enterprise Linux 운영 체제를 실행하는 클라이언트를 등록하기 위해 Red Hat RHUI(업데이트 인프라)를 사용하는 방법에 대한 정보가 포함되어 있습니다.

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 사용에 대한 정보는 Red Hat Enterprise Linux 클라이언트를 CDN으로 등록을 참조하십시오.

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)에 등록된 클라이언트에 대해 설명합니다. RHUI에 등록된 시스템이 최소 한 개 있어야 하고, 이와 함께 리포지토리 컨텐트에 대한 인증 구독이 있어야 합니다.

Red Hat 컨텐트 제공 네트워크(CDN)를 사용하는 방법에 대한 정보 대신에 Red Hat Enterprise Linux 클라이언트를 CDN으로 등록을 참조하십시오.

클라이언트 시스템에 대한 Satellite 서버는 Satellite 서버 및 구독이 있어야 합니다. Satellite 인증서를 사용하는 클라이언트는 SUSE Multi-Linux Manager 서버에서 지원하지 않습니다.

PAYG 연결은 클라이언트를 정기적으로 확인하여 최신 인증 데이터를 가져옵니다. 클라이언트가 계속 실행 중이고 정기적으로 업데이트하는 것이 중요합니다. 그러지 않으면 특정 시점에 인증 오류가 발생하며 리포지토리 동기화가 실패합니다.

Red Hat 7 인스턴스를 업데이트한 후 연결하십시오.

A Red Hat 9 instance needs to be configured with the crypto policy LEGACY to be able to connect it. Execute sudo update-crypto-policies --set LEGACY to configure it accordingly.

2. Red Hat 업데이트 인프라에 연결

절차: 새 Red Hat 인스턴스 연결
  1. SUSE Multi-Linux Manager Web UI에서 관리  설치 마법사  PAYG으로 이동하고 PAYG 추가를 클릭합니다.

  2. Start with the page section PAYG connection Description.

  3. In the Description field, add the description.

  4. Move to the page section Instance SSH connection data.

  5. In the Host field, enter the instance DNS or IP address to connect from SUSE Multi-Linux Manager.

  6. In the SSH Port field, enter the port number or use default value 22.

  7. In the User field, enter the username as specified in the cloud.

  8. In the Password field, enter the password.

  9. In the SSH Private Key field, enter the instance key.

  10. In the SSH Private Key Passphrase field, enter the key passphrase.

인증 키는 항상 PEM 형식이어야 합니다.

인스턴스에 직접 연결하지 않고 SSH 배스천을 통해 연결하는 경우 절차: SSH 배스천 연결 데이터 추가를 진행합니다.

그 외의 경우, 절차: Red Hat 연결 종료를 진행합니다.

절차: SSH 배스천 연결 데이터 추가
  1. Navigate to the page section Bastion SSH connection data.

  2. In the Host field, enter the bastion hostname.

  3. In the SSH Port field, enter the bastion port number.

  4. In the User field, enter the bastion username.

  5. In the Password field, enter the bastion password.

  6. In the SSH Private Key field, enter the bastion key.

  7. In the SSH Private Key Passphrase field, enter the bastion key passphrase.

절차: Red Hat 연결 종료로 설정을 완료합니다.

절차: Red Hat 연결 종료
  1. 새 Red Hat 연결 데이터 추가를 완료하려면 생성을 클릭합니다.

  2. Return to PAYG connection data Details page. The updated connection status is displayed on the top section named Information.

  3. Connection status is shown in Admin > Setup Wizard > Pay-as-you-go screen, too.

  4. If the authentication data for the instance is correct, the column Status shows Credentials successfully updated.

If invalid data is entered at any point, the newly created instance is shown in Admin > Setup Wizard > PAYG, with column Status displaying an error message.

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 java.rhui_default_org_id in /etc/rhn/rhn.conf.

이는 리포지토리만 정의하고 업데이트합니다. 관리 클라이언트용 리포지토리를 사용하려면 소프트웨어 채널을 지정하고 해당 채널에 리포지토리를 연결해야 합니다.

3. 소프트웨어 채널 추가

Red Hat 클라이언트를 SUSE Multi-Linux Manager 서버에 등록하기 전에 필요한 소프트웨어 채널을 추가하고 이 채널을 동기화해야 합니다.

In the following section, descriptions often default to the x86_64 architecture. Replace it with other architectures if appropriate.

SUSE Multi-Linux Manager 구독을 통해 사용자는 SUSE Linux Enterprise Server with Expanded Support용 도구 채널(Red Hat Expanded Support 또는 RES라고도 함)을 이용할 수 있는 자격을 얻게 됩니다. 사용자는 클라이언트 도구 채널을 사용해 부트스트랩 리포지토리를 생성해야 합니다. 이 절차는 Salt 클라이언트에 적용됩니다.

이 절차에 필요한 제품은 다음과 같습니다.

Table 1. Red Hat 제품 - WebUI
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

Procedure: Adding software channels
  1. SUSE Multi-Linux Manager Web UI에서 관리  설정 마법사  제품으로 이동합니다.

  2. 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 recommended toggle is turned on. Click the arrow to see the complete list of related products, and ensure that any extra products you require are checked.

  3. 제품 추가를 클릭하고 제품이 동기화를 마칠 때까지 기다립니다.

4. 사용자 정의 채널 준비

RHUI에서 소프트웨어를 미러링하려면 자동 생성 리포지토리에 연결된 SUSE Multi-Linux Manager에 사용자 정의 채널을 생성해야 합니다.

이 절차에 필요한 채널은 다음과 같습니다.

Table 2. Red Hat 사용자 정의 채널
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

Procedure: Creating custom channels
  1. SUSE Multi-Linux Manager 서버 Web UI에서 소프트웨어  관리  채널로 이동합니다.

  2. 채널 생성을 클릭하여 채널에 적절한 파라미터를 설정합니다.

  3. In the Parent Channel field, select the appropriate base channel.

  4. 채널 생성을 클릭합니다.

  5. 생성해야 하는 모든 채널에 대해 이를 반복합니다. 각 사용자 정의 리포지토리에는 하나의 사용자 정의 채널이 있어야 합니다.

소프트웨어  채널 목록  전체로 이동하여 적절한 채널 및 리포지토리를 모두 생성했는지 확인할 수 있습니다.

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.

모든 채널을 생성했으면 생성한 리포지토리를 다음과 같이 채널과 연결할 수 있습니다.

Procedure: Associating channels with repositories
  1. SUSE Multi-Linux Manager 서버 Web UI에서 소프트웨어  관리  채널로 이동한 다음, 연결할 채널을 클릭합니다.

  2. Navigate to the Repositories tab, and check the repository to associate with this channel.

  3. 리포지토리 업데이트를 클릭하여 채널과 리포지토리를 연결합니다.

  4. 연결하려는 모든 채널과 리포지토리에 대해 이를 반복합니다.

  5. OPTIONAL: Navigate to the Sync tab to set a recurring schedule for synchronization of this repository.

  6. 지금 동기화를 클릭하여 즉시 동기화를 시작합니다.

5. 동기화 상태 확인

Procedure: Checking synchronization progress from the Web UI
  1. In the SUSE Multi-Linux Manager Web UI, navigate to Admin  Setup Wizard and select the Products tab. This dialog displays a completion bar for each product when they are being synchronized.

  2. Alternatively, you can navigate to Software  Manage  Channels, then click the channel associated to the repository. Navigate to the Repositories tab, then click Sync and check Sync Status.

Procedure: Checking synchronization progress from the command prompt
  1. 테일링 하기 전 사용 가능한 로그를 나열하려면 컨테이너 호스트에서 다음 명령을 실행합니다.

    mgrctl exec ls /var/log/rhn/reposync/
  2. SUSE Multi-Linux Manager 컨테이너 호스트의 명령 프롬프트에서 루트 권한으로 채널 로그 파일의 동기화를 확인합니다.

    mgrctl exec -ti -- tail -f /var/log/rhn/reposync/<channel-label>.log
  3. 각 하위 채널은 동기화 진행 중에 자체 로그를 생성합니다. 동기화가 완료되었는지 확인하려면 모든 기본 및 하위 채널 로그 파일을 확인해야 합니다.

Red Hat Enterprise Linux 채널은 규모가 매우 클 수 있습니다. 일부 경우 동기화에 몇 시간이 걸릴 수 있습니다.

6. GPG 키 관리

클라이언트는 소프트웨어 패키지가 설치되기 전에 GPG 키를 사용해 신뢰성을 확인합니다. 신뢰할 수 있는 소프트웨어만 클라이언트에 설치할 수 있습니다.

클라이언트의 보안을 위해 GPG 키를 신뢰하는 것이 중요합니다. 어떤 키가 필요하고 신뢰할 수 있는지 결정하는 것은 관리자가 수행해야 하는 작업입니다. GPG 키를 신뢰할 수 없는 경우 소프트웨어 채널을 사용할 수 없기 때문에 채널을 클라이언트에 할당하는 결정은 키를 신뢰하는 결정에 따라 달라집니다.

GPG 키에 대한 자세한 내용은 GPG 키에서 확인할 수 있습니다.

7. 클라이언트 등록

클라이언트를 등록하려면 부트스트랩 리포지토리가 필요합니다. 기본적으로 부트스트랩 리포지토리는 자동으로 생성되며 동기화된 모든 제품에 대해 매일 재생성됩니다. 컨테이너 호스트의 명령 프롬프트에서 수동으로 부트스트랩 리포지토리를 생성할 수 있습니다.

mgrctl exec -ti mgr-create-bootstrap-repo

클라이언트 등록에 대한 자세한 내용은 클라이언트 등록에서 참조하십시오.