SLE Micro 클라이언트 등록

이 섹션에는 x86-64, arm64 및 IBM Z(s390x) 아키텍처에서 SLE Micro 운영 체제 5.1, 5.2, 5.3, 5.4 및 5.5를 실행하는 클라이언트를 등록하는 방법에 대한 정보가 포함되어 있습니다.

SLE Micro는 트랜잭션 업데이트를 사용합니다. 트랜잭션 업데이트는 원자적(모든 업데이트가 성공한 경우에만 모든 업데이트가 적용됨)이며 롤백을 지원합니다. 시스템이 재부팅될 때까지 변경 사항이 적용되지 않으므로 실행 중인 시스템에 영향을 주지 않습니다.

For more information on transactional updates and rebooting, see https://documentation.suse.com/sles/15-SP7/html/SLES-all/cha-transactional-updates.html.

이 장에서 설명하는 클라이언트 등록은 다음 단계로 구성됩니다.

  • Web UI 또는 명령줄 인터페이스를 사용하여 새 클라이언트의 운영 체제 및 아키텍처에 대한 소프트웨어 채널을 동기화합니다.

  • Web UI 또는 명령줄 인터페이스를 사용하여 SUSE Multi-Linux Manager 서버와 함께 클라이언트를 등록합니다.

추가 섹션에서는 등록 절차를 확인하고 검증하는 방법을 설명합니다.

1. 소프트웨어 채널 추가

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

Web UI를 사용하거나 명령줄에서 소프트웨어 채널을 추가할 수 있습니다.

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

Web UI 절차를 위해서는 다음 제품이 필요합니다.

Table 1. SLE Micro 제품 - WebUI
OS 버전 제품 이름

SLE Micro 5.5 x86-64

SUSE Linux Enterprise Micro 5.5 x86_64

SLE Micro 5.5 arm64

SUSE Linux Enterprise Micro 5.5 aarch64

SLE Micro 5.5 s390x

SUSE Linux Enterprise Micro 5.5 s390x

SLE Micro 5.4 x86-64

SUSE Linux Enterprise Micro 5.4 x86_64

SLE Micro 5.4 arm64

SUSE Linux Enterprise Micro 5.4 aarch64

SLE Micro 5.4 s390x

SUSE Linux Enterprise Micro 5.4 s390x

SLE Micro 5.3 x86-64

SUSE Linux Enterprise Micro 5.3 x86_64

SLE Micro 5.3 arm64

SUSE Linux Enterprise Micro 5.3 aarch64

SLE Micro 5.3 s390x

SUSE Linux Enterprise Micro 5.3 s390x

SLE Micro 5.2 x86-64

SUSE Linux Enterprise Micro 5.2 x86_64

SLE Micro 5.2 arm64

SUSE Linux Enterprise Micro 5.2 aarch64

SLE Micro 5.2 s390x

SUSE Linux Enterprise Micro 5.2 s390x

SLE Micro 5.1 x86-64

SUSE Linux Enterprise Micro 5.1 x86_64

SLE Micro 5.1 arm64

SUSE Linux Enterprise Micro 5.1 aarch64

SLE Micro 5.1 s390x

SUSE Linux Enterprise Micro 5.1 s390x

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. 제품 추가를 클릭하고 제품이 동기화를 마칠 때까지 기다립니다.

또는 명령 프롬프트에서 채널을 추가할 수 있습니다. 이 절차에는 다음 제품이 필요합니다.

Table 2. SLE Micro 제품 - CLI
OS 버전 기본 채널 업데이트 채널

SLE Micro 5.5 x86-64

sle-micro-5.5-pool-x86_64

sle-micro-5.5-updates-x86_64

SLE Micro 5.5 arm64

sle-micro-5.5-pool-arm64

sle-micro-5.5-updates-arm64

SLE Micro 5.5 IBM Z (s390x)

sle-micro-5.5-pool-s390x

sle-micro-5.5-updates-s390x

SLE Micro 5.4 x86-64

sle-micro-5.4-pool-x86_64

sle-micro-5.4-updates-x86_64

SLE Micro 5.4 arm64

sle-micro-5.4-pool-arm64

sle-micro-5.4-updates-arm64

SLE Micro 5.4 IBM Z (s390x)

sle-micro-5.4-pool-s390x

sle-micro-5.4-updates-s390x

SLE Micro 5.3 x86-64

sle-micro-5.3-pool-x86_64

sle-micro-5.3-updates-x86_64

SLE Micro 5.3 arm64

sle-micro-5.3-pool-arm64

sle-micro-5.3-updates-arm64

SLE Micro 5.3 IBM Z (s390x)

sle-micro-5.3-pool-s390x

sle-micro-5.3-updates-s390x

SLE Micro 5.2 x86-64

suse-microos-5.2-pool-x86_64

suse-microos-5.2-updates-x86_64

SLE Micro 5.2 arm64

suse-microos-5.2-pool-aarch64

suse-microos-5.2-updates-aarch64

SLE Micro 5.2 IBM Z (s390x)

suse-microos-5.2-pool-s390x

suse-microos-5.2-updates-s390x

SLE Micro 5.1 x86-64

suse-microos-5.1-pool-x86_64

suse-microos-5.1-updates-x86_64

SLE Micro 5.1 arm64

suse-microos-5.1-pool-aarch64

suse-microos-5.1-updates-aarch64

SLE Micro 5.1 IBM Z (s390x)

suse-microos-5.1-pool-s390x

suse-microos-5.1-updates-s390x

Procedure: Adding software channels at the command prompt
  1. SUSE Multi-Linux Manager 컨테이너 호스트의 명령 프롬프트에서 루트 권한으로 적절한 채널을 추가합니다.

    mgrctl exec -ti -- mgr-sync add channel <channel_label_1>
    mgrctl exec -ti -- mgr-sync add channel <channel_label_2>
    mgrctl exec -ti -- mgr-sync add channel <channel_label_n>
  2. 동기화가 자동으로 시작됩니다. 채널을 수동으로 동기화하려면 다음 명령을 사용하십시오.

    mgrctl exec -- mgr-sync sync --with-children <channel_name>
  3. 계속하기 전에 동기화가 완료되었는지 확인합니다.

2. 동기화 상태 확인

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. 각 하위 채널은 동기화 진행 중에 자체 로그를 생성합니다. 동기화가 완료되었는지 확인하려면 모든 기본 및 하위 채널 로그 파일을 확인해야 합니다.

3. 클라이언트 등록

SLE Micro 클라이언트는 등록 후 재부팅해야 합니다.

Following the bootstrapping process, automatic booting is disabled on SLE Micro clients. This change was implemented due to intermittent automatic reboots, which could occur before Salt could relay the results of applying the bootstrap Salt state.

등록이 완료되면 재부팅이 자동으로 예약되지만, 기본 재부팅 관리자 유지보수 기간이 적용됩니다. 이 기간은 클라이언트가 등록되고 몇 시간이 지난 후가 될 수 있습니다. 등록 스크립트가 완료된 후 등록 속도를 향상하고 시스템이 시스템 목록에 표시되도록 하려면 클라이언트를 수동으로 재부팅하는 것이 좋습니다.

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

mgrctl exec -ti mgr-create-bootstrap-repo

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

SLE Micro 시스템에서 부트스트랩 스크립트를 사용할 때 스크립트의 인증서 섹션에 다음 내용이 있는지 확인하십시오.

ORG_CA_CERT=RHN-ORG-TRUSTED-SSL-CERT
ORG_CA_CERT_IS_RPM_YN=0

부트스트랩 스크립트를 직접 편집하고 설정을 추가하거나 다음 매개변수를 사용하여 부트스트랩 스크립트를 생성하십시오.

mgrctl exec -ti -- mgr-bootstrap --script=bootstrap-sle-micro.sh \
    --ssl-cert=/srv/www/htdocs/pub/RHN-ORG-TRUSTED-SSL-CERT

4. SLE Micro 재부팅

SLE Micro is a transactional system. Transactional updates in general support several reboot methods. It is recommended to use systemd for rebooting in systems managed by SUSE Multi-Linux Manager. Using other methods can lead to undesired behavior.

When bootstrapping a transactional system on SUSE Multi-Linux Manager, systemd will be configured as the reboot method (REBOOT_METHOD), if the system is in its default configuration. Such a configuration allows SUSE Multi-Linux Manager to control the reboot action, and rebooting can be performed immediately or scheduled with SUSE Multi-Linux Manager as wanted.

4.1. 배경 정보

By default, the reboot method during client installation is set to auto. With the auto boot method, rebootmgrd will be used to reboot the system according to the configured policies if the service is running. Policies can be to reboot instantly or during a maintenance window. For more information, see the rebootmgrd(8) man page. Otherwise if rebootmgrd is not running, SUSE Multi-Linux Manager will call systemctl reboot.

Using any method different from systemd may cause undesired behavior.