Documentation survey

SUSE Manager 5.0 Server Deployment

This guide shows you how to install and configure a SUSE Manager 5.0 container on SLE Micro 5.5 or SUSE Linux Enterprise Server 15 SP6.

1. SUSE Manager의 하드웨어 요구사항

이 테이블은 베어 메탈 머신에 SUSE Manager 서버를 배포하기 위한 소프트웨어 및 하드웨어 요구 사항을 보여줍니다. 이 가이드의 목적에 따라 컴퓨터에는 16GB의 RAM과 최소 200GB의 디스크 공간이 있어야 합니다. 디스크 공간에 대한 배경 정보는 하드웨어 요구사항에서 확인할 수 있습니다.

Table 1. 소프트웨어 및 하드웨어 요구사항
Software and Hardware Recommended

Operating System

SLE Micro 5.5 or

SUSE Linux Enterprise Server 15 SP6

Architecture

x86-64, ARM, s390x, ppc64le

Processor (CPU)

Minimum of four (4) 64-bit CPU cores

RAM

16 GB

Disk Space

200 GB

Channel Requirements

50 GB per SUSE or openSUSE product

360 GB per Red Hat product

Swap space:

3 GB

서버 컨테이너 호스트에 지원되는 운영 체제

The supported operating system for the container host is SLE Micro 5.5 or SUSE Linux Enterprise Server 15 SP6.

컨테이너 호스트

A container host is a server equipped with a container engine like Podman, which lets it manage and deploy containers. These containers hold applications and their essential parts, such as libraries, but not a full operating system, making them lightweight. This setup ensures applications run the same way in different environments. The container host supplies the necessary resources such as CPU, memory, and storage for these containers.

서버를 배포하려면 FQDN(정규화된 도메인 이름)을 사용해야 합니다. 라우터 또는 네트워크에서 FQDN을 자동으로 DNS 프로비저닝하지 않으면 배포 프로세스가 성공적으로 진행되지 않습니다. FQDN은 일반적으로 <호스트>.<도메인>.com 형식을 따릅니다.

예:

  • suma.example.com

  • suma.container.lab

자세한 내용은 네트워크 요구사항의 네트워크 요구사항 섹션을 참조하십시오.

2. 영구 볼륨

SUSE Manager 5.0은(는) 기본적으로 필요한 영구 스토리지 볼륨을 정의합니다. 이러한 볼륨이 아직 없다면 설치 중에 mgradm 도구에 의해 볼륨이 생성됩니다.

이러한 볼륨은 /var/lib/containers/storage/volumes/에 생성되며, Podman은 기본적으로 해당 볼륨을 저장합니다.

권장

이 디렉토리에 외부 스토리지 장치를 마운트하여 간소화된 스토리지를 활용할 수 있습니다. 여기에는 PostgreSQL 데이터베이스, 리포지토리용 이진 패키지, 캐시, 운영 체제 이미지, 자동 설치 배포 및 구성 파일이 저장되므로 다음과 같은 3가지 권장 사항이 있습니다.

고속 스토리지

이 탑재 지점은 NVMe 또는 SSD급 장치를 사용하는 것이 가장 좋습니다. 스토리지 속도가 느리면 SUSE Manager의 성능에 부정적인 영향을 미칩니다.

대용량

이를 위한 최소 권장 크기는 300GB 이상이며, 관리해야 할 Linux 배포 또는 아키텍처가 여러 개일 경우 더 큰 크기가 권장됩니다.

권장 파일 시스템

XFS(SLE Micro 5.5용으로 지원되는 모든 파일 시스템이 작동할 수도 있음).

선택 사항

/var/lib/containers/storage/volumes/var-spacewalk와 같은 예상 볼륨 경로에 디스크를 마운트하여 볼륨에 대한 사용자 지정 스토리지를 제공할 수 있습니다. 이렇게 하면 SUSE Manager 배포의 복잡도가 높아지며 기본 스토리지 권장 사항이 제공하는 복원력에 영향을 줄 수 있습니다.

컨테이너의 모든 영구 볼륨 목록은 영구 스토리지 볼륨 목록에서 확인할 수 있습니다.

3. Prepare SUSE Manager Server Host

SUSE Manager을(를) SLE Micro 5.5 또는 SUSE Linux Enterprise Server 15 SP6에 배포할 수 있습니다. SLE Micro는 트랜잭션 시스템이고 SUSE Linux Enterprise Server는 전체 서버 운영 체제입니다.

사용자의 결정에 따라 Prepare SLE Micro 5.5 Host 또는 Prepare SUSE Linux Enterprise Server 15 SP6 Host를 사용해 계속 진행한 후 선택하지 않은 섹션을 건너뜁니다.

3.1. Prepare SLE Micro 5.5 Host

3.1.1. Download the installation media

Procedure: Downloading the Installation Media
  1. https://www.suse.com/download/sle-micro/에서 SLE Micro 5.5 설치 미디어를 찾습니다.

  2. SLE-Micro-5.5-DVD-x86_64-GM-Media1.iso를 다운로드합니다.

  3. 설치하기 위해 다운로드한 .iso 이미지가 들어 있는 DVD 또는 USB 플래시 드라이브를 준비합니다.

3.1.2. Install SLE Micro 5.5

시스템(가상 또는 물리) 준비에 대한 자세한 내용은 SLE Micro 5.5 배포 가이드를 참조하십시오.

Procedure: Installing SLE Micro 5.5
  1. SLE Micro 5.5의 설치 이미지가 들어 있는 DVD 또는 USB 플래시 드라이브(USB 디스크 또는 키)를 삽입합니다.

  2. 시스템을 부팅하거나 재부팅합니다.

  3. 화살표 키를 사용하여 설치를 선택합니다.

  4. Adjust Keyboard and language.

  5. 확인란을 클릭하여 라이선스 계약에 동의합니다.

  6. 다음을 클릭하여 계속합니다.

  7. Select the registration method. For this example, we will register the server with SUSE Customer Center.

    The SUSE Manager 5.0 containers are installed as extensions. Depending on the specific extension needed from the list below, additional SUSE Customer Center registration codes will be required for each.

    • SUSE Manager 5.0 서버

    • SUSE Manager 5.0 프록시

    • SUSE Manager 5.0 Retail Branch Server

    The SLE Micro 5.5 entitlement is included within the SUSE Manager entitlement, so it does not require a separate registration code.

  8. Enter your SUSE Customer Center email address.

  9. SLE Micro 5.5 등록 코드를 입력합니다.

  10. 다음을 클릭하여 계속합니다.

  11. To install a proxy, select the SUSE Manager 5.0 Proxy extension; to install a server, select the SUSE Manager 5.0 Server extension Checkbox.

  12. 다음을 클릭하여 계속합니다.

  13. Enter your SUSE Manager 5.0 extension registration code.

  14. 다음을 클릭하여 계속합니다.

  15. NTP 구성 페이지에서 다음을 클릭합니다.

  16. 시스템 인증 페이지에서 루트 사용자의 비밀번호를 입력합니다. 다음을 클릭합니다.

  17. 설치 설정 페이지에서 설치를 클릭합니다.

이를 통해 SLE Micro 5.5 및 SUSE Manager 5.0의 확장으로 설치가 완료됩니다.

3.1.3. OPTIONAL: Registration from the command line

If you added SUSE Manager 5.0 as an extension during SLE Micro 5.5 installation then you can skip this procedure. However, optionally you may skip registration during SLE Micro 5.5 installation by selecting the Skip Registration button. This section provides steps on registering your products after SLE Micro 5.5 installation.

The following steps register a SUSE Manager 5.0 extension with the x86-64 architecture and thus require a registration code for the x86-64 architecture. To register ARM or s390x architectures use the correct registration code.

Procedure: Registering from the Command Line
  1. List available extensions with the following command:

    transactional-update --quiet register --list-extensions
  2. From the list of available extensions, select the one you wish to install:

    1. If installing the Server, use your SUSE Manager Server Extension 5.0 x86_64 registration code with following command:

      transactional-update register -p SUSE-Manager-Server/5.0/x86_64 -r <reg_code>
    2. If installing the Proxy, use your SUSE Manager Proxy Extension 5.0 x86_64 registration code with following command:

      transactional-update register -p SUSE-Manager-Proxy/5.0/x86_64 -r <reg_code>
  3. 재부팅합니다.

3.1.4. 시스템 업데이트

Procedure: Updating the System
  1. root로 로그인합니다.

  2. transactional-update 실행:

    transactional-update
  3. 재부팅합니다.

SLE Micro는 기본적으로 자동으로 업데이트되도록 설계되어 있으며, 업데이트를 적용한 이후에는 재부팅됩니다. 그러나 SUSE Manager 환경에서 이는 올바른 동작이 아닙니다. SUSE Manager은(는) 서버에서 자동 업데이트를 방지하기 위해 부트스트랩 프로세스 중에 트랜잭션 업데이트 타이머를 비활성화합니다.

SLE Micro 기본 동작을 사용하려면 다음 명령을 실행하여 타이머를 활성화합니다.

systemctl enable --now transactional-update.timer

To continue with deployment, see 사용자 정의 영구 스토리지 구성.

3.2. Prepare SUSE Linux Enterprise Server 15 SP6 Host

Alternatively, you can deploy SUSE Manager on SUSE Linux Enterprise Server 15 SP6.

The following procedure describes the main steps of the installation process.

Procedure: Installing SUSE Manager Extensions on SUSE Linux Enterprise Server 15 SP6
  1. Locate and download SUSE Linux Enterprise Server 15 SP6 .iso at https://www.suse.com/download/sles/.

  2. 호스트 운영 체제(SUSE Linux Enterprise Server 15 SP6) 및 확장 프로그램 모두에 대해 등록 코드가 있어야 합니다.

  3. Start the installation of SUSE Linux Enterprise Server 15 SP6.

    1. On the Language, keyboard and product selection select the product to install.

    2. 라이선스 계약에서 계약서를 읽고 라이선스 약관에 동의합니다에 체크 표시합니다.

  4. Select the registration method. For this example, we will register the server with SUSE Customer Center.

  5. Enter your SUSE Customer Center email address.

  6. Enter your registration code for SUSE Linux Enterprise Server 15 SP6.

  7. 다음을 클릭하여 계속합니다.

    SUSE Linux Enterprise Server 15 SP6의 경우 유효한 SUSE Linux Enterprise Server 구독과 해당 등록 코드가 있어야 하며, 이 화면에서 해당 정보를 제공해야 합니다. 아래에 SUSE Manager 확장 프로그램 등록 코드를 입력해야 합니다.

  8. In the screen Extensions and Modules Selection check the following:

    • 서버를 설치하려면 SUSE Manager 서버 확장 프로그램을 선택하고, 프록시를 설치하려면 SUSE Manager 프록시 확장 프로그램을 선택합니다.

    • Basesystem Module

    • Containers Module

  9. 다음을 클릭하여 계속합니다.

  10. Enter your SUSE Manager 5.0 extension registration code.

  11. 다음을 클릭하여 계속합니다.

  12. 설치를 완료합니다.

  13. When the installation completes, log in to the newly installed server as root.

  14. 시스템 업데이트(선택 사항, 설치 중에 시스템이 업데이트를 다운로드하도록 설정되지 않은 경우):

    zypper up
  15. 재부팅합니다.

  16. 루트 권한으로 로그인하여 podmanmgradmmgradm-bash-completion 설치(아직 자동으로 설치되지 않은 경우):

    zypper install podman mgradm mgradm-bash-completion
  17. 시스템을 재부팅하거나 다음 명령을 실행하여 podman 서비스 시작:

    systemctl enable --now podman.service

To continue with deployment, see 사용자 정의 영구 스토리지 구성.

4. 사용자 정의 영구 스토리지 구성

Configuring persistent storage is optional, but it is the only way to avoid serious trouble with container full disk conditions. It is highly recommended to configure custom persistent storage with the mgr-storage-server tool.

자세한 내용은 mgr-storage-server --help를 참조하십시오. 이 도구는 컨테이너 스토리지 및 데이터베이스 볼륨 생성을 간소화합니다.

+ 다음 방법으로 명령 사용:

+

mgr-storage-server <storage-disk-device> [<database-disk-device>]

+

예:

+

mgr-storage-server /dev/nvme1n1 /dev/nvme2n1

+

이 명령은 /var/lib/containers/storage/volumes에 영구 스토리지 볼륨을 생성합니다.

For more information, see

5. Deploy SUSE Manager with mgradm

Procedure: Deploying SUSE Manager 5.0 Using mgradm
  1. 루트로 로그인합니다.

  2. 다음 명령을 실행하여 <suma.example.com>을 정규화된 도메인 이름으로 바꿉니다.

    mgradm install podman <suma.example.com>

    위의 명령이 실패하면 SUSE Manager 5.0을(를) 등록했는지 확인합니다. 설치 중에 등록을 건너뛰고 이제 명령줄에서 등록해야 하는 경우 아래 단계에 따라 레지스트리에 로그인합니다.

    podman login -u <EMAIL> -p <REGISTRATION-CODE> registry.suse.com

    메시지가 표시되면 SUSE Manager 5.0 등록 키를 사용합니다.

  3. Enter CA key (certificate authority) and administrator account password when prompted.

    관리자 계정 비밀번호는 5자 이상 48자 미만이어야 합니다.

  4. Enter를 누릅니다.

  5. 관리 계정의 이메일 주소를 입력합니다. Enter를 누릅니다.

  6. 배포가 완료될 때까지 기다립니다.

  7. 브라우저를 열고 서버 FQDN으로 이동합니다.

  8. 사용자 이름(기본값은 admin)과 배포 프로세스 중에 설정한 비밀번호를 입력합니다.

In this guide you deployed SUSE Manager 5.0 Server as a container. Proceed to the next section to add your organization credentials for syncing with SUSE Customer Center.

6. Connect SUSE Manager 5.0 to SUSE Customer Center

This section covers synchronizing with SCC from the Web UI and adding your first client channel.

절차: 조직 인증서 입력
  1. 브라우저를 열고 서버 FQDN으로 이동합니다.

  2. 사용자 이름(기본값은 admin)과 배포 프로세스 중에 설정한 비밀번호를 입력합니다.

  3. SUSE Manager Web UI에서 관리  설정 마법사를 선택합니다.

  4. 설정 마법사 페이지에서 조직 인증서 탭을 선택합니다.

  5. 새 인증서 추가를 클릭합니다.

  6. Point your browser to the SUSE Customer Center.

  7. 왼쪽 탐색에서 조직을 선택합니다.

  8. 페이지 상단에서 사용자 탭을 선택한 다음 조직 자격 증명을 선택합니다.

  9. 미러링 자격 증명을 기록해 둡니다.

  10. SUSE Manager Web UI에 사용자 이름비밀번호를 다시 입력한 다음 저장을 눌러 확인합니다.

체크 표시 아이콘으로 인증서가 확인되면 Procedure: Synchronizing with SUSE Customer Center를 진행합니다.

Procedure: Synchronizing with SUSE Customer Center
  1. Web UI에서 관리  설정 마법사로 이동합니다.

  2. From the Setup Wizard page select the SUSE Products tab. If you recently registered with SUSE Customer Center a list of products will begin populating the table. This operation could take up to a few minutes. You can monitor the progress of the operation in section on the right Refresh the product catalog from SUSE Customer Center. The table of products lists architecture, channels, and status information. For more information, see Wizard.

    admin suse products
  3. 제품 설명으로 필터링아키텍처로 필터링을 사용하여 표시되는 제품 목록을 필터링할 수 있습니다. 제품 페이지에 나열된 채널은 클라이언트를 위한 리포지토리를 제공합니다.

    • 각 채널 왼쪽의 확인란을 선택하여 SUSE Manager에 채널을 추가합니다. 설명 왼쪽의 화살표 기호를 클릭하면 제품이 펼쳐지고 사용 가능한 모듈이 나열됩니다.

    • 페이지 상단의 제품 추가를 클릭하여 제품 동기화를 시작합니다.

After adding the channel, SUSE Manager will schedule the channel to be synchronized. This can take a long time as SUSE Manager will copy channel software sources from the SUSE repositories located at SUSE Customer Center to the local /var/lib/containers/storage/volumes/var-spacewalk/ directory of your server.

채널이 완전히 동기화되면 채널에 대한 부트스트랩 리포지토리가 자동으로 생성됩니다. 이 단계는 클라이언트를 성공적으로 부트스트랩하기 위해 매우 중요한 단계로, 클라이언트 측에서 채널 동기화 및 배포가 작동하는지 확인합니다. 이를 통해 SUSE Manager의 설치 및 구성이 완료되고 클라이언트 부트스트랩에 필요한 채널이 준비됩니다.

채널 동기화 프로세스가 완료되면 클라이언트를 등록할 수 있습니다. 자세한 지침은 클라이언트 등록을 참조하십시오.

자세한 지침은 클라이언트 등록에서 확인할 수 있습니다.

7. Entering the Container for Management

컨테이너 내부의 셸로 이동하려면 컨테이너 호스트에서 실행합니다.

mgrctl term