SUSE Multi-Linux Manager 5.1 Server Deployment

This guide shows you how to install and configure a SUSE Multi-Linux Manager 5.1 container on SL Micro 6.1 or SUSE Linux Enterprise Server 15 SP7.

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

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

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

Operating System

SL Micro 6.1 or

SUSE Linux Enterprise Server 15 SP7

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 SL Micro 6.1 or SUSE Linux Enterprise Server 15 SP7.

컨테이너 호스트

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 형식을 따릅니다.

예:

  • mlm.example.com

  • mlm.container.lab

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

2. 영구 볼륨

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

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

권장

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

고속 스토리지

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

대용량

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

권장 파일 시스템

XFS (though any supported filesystem for SL Micro 6.1 could work).

선택 사항

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

컨테이너의 모든 영구 볼륨 목록은 Persistent Container Volumes에서 확인할 수 있습니다.

3. Prepare SUSE Multi-Linux Manager Server Host

You can deploy SUSE Multi-Linux Manager on SL Micro 6.1 or SUSE Linux Enterprise Server 15 SP7. SL Micro is a transactional system, while SUSE Linux Enterprise Server is a full server operating system.

Depending on your decision, either continue with Install SL Micro 6.1 and Deploy Server or with Install SUSE Linux Enterprise Server 15 SP7 and Deploy Server and skip the not selected section.

3.1. Install SL Micro 6.1 and Deploy Server

3.1.1. Download the Installation Media

Procedure: Downloading the Installation Media
  1. Locate the SL Micro 6.1 installation media at https://www.suse.com/download/sle-micro/.

  2. Download SL-Micro-6.1-DVD-x86_64-GM-Media1.iso.

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

  4. Insert the DVD or USB flash drive (USB disk or key) containing the installation image for SL Micro 6.1.

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

For more information about preparing your machines (virtual or physical), see Introduction to SL Micro 6.1 Deployment.

3.1.2. Install SL Micro

Procedure: Installing SL Micro 6.1
  1. 화살표 키를 사용하여 설치를 선택합니다.

  2. 키보드 및 언어를 조정합니다.

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

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

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

    설치 중 SUSE Multi-Linux Manager을(를) 확장으로 등록

    The SUSE Multi-Linux Manager 5.1 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 Multi-Linux Manager 5.1 서버

    • SUSE Multi-Linux Manager 5.1 프록시

    • 리테일 분기 서버

    The SL Micro 6.1 entitlement is included within the SUSE Multi-Linux Manager entitlement, so it does not require a separate registration code.

  6. Enter your SUSE Customer Center email address.

  7. Enter your registration code for SL Micro 6.1.

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

  9. SUSE Multi-Linux Manager 5.1 서버 확장 확인란을 선택합니다.

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

  11. SUSE Multi-Linux Manager 5.1 서버 확장 등록 코드를 입력합니다.

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

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

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

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

This concludes installation of SL Micro 6.1 and SUSE Multi-Linux Manager 5.1 as an extension.

3.1.3. 명령줄에서 등록(선택 사항)

If you added SUSE Multi-Linux Manager 5.1 as an extension during SL Micro 6.1 installation then you can skip this step. However, optionally you may skip registration during SL Micro 6.1 installation by selecting the Skip Registration button. This section provides steps on registering your products after SL Micro 6.1 installation.

절차: 설치 후 제품 등록
  1. Register SL Micro 6.1 to SUSE Customer Center from the command line run the following commands on the container host:

    transactional-update register -r <reg_code> -e <your_email>
  2. Use the registration code you obtained from your SUSE Customer Center account for SL Micro 6.1.

    다음 단계에서는 x86-64 아키텍처로 서버를 등록하므로 x86-64 아키텍처에 대한 등록 코드가 필요합니다. ARM 또는 s390x 아키텍처를 등록하려면 올바른 등록 코드를 사용하십시오.

  3. Next add the SUSE Multi-Linux Manager Server Extension 5.1 x86_64 Extension. List available extensions with the following command:

    transactional-update --quiet register --list-extensions
  4. Use your SUSE Multi-Linux Manager Server Extension 5.1 x86_64 registration code with the following command:

    transactional-update register -p SUSE-Manager-Server/5.1/x86_64 -r <reg_code>
  5. 재부팅합니다.

3.1.4. 시스템 업데이트

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

  2. transactional-update 실행:

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

SL Micro is designed to update itself automatically by default and will reboot after applying updates. However, this behavior is not desirable for the SUSE Multi-Linux Manager environment. To prevent automatic updates on your server, SUSE Multi-Linux Manager disables the transactional-update timer during the bootstrap process.

If you prefer the SL Micro default behavior, enable the timer by running the following command:

systemctl enable --now transactional-update.timer

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

3.2. Install SUSE Linux Enterprise Server 15 SP7 and Deploy Server

Alternatively, you can deploy SUSE Multi-Linux Manager on SUSE Linux Enterprise Server 15 SP7.

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

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

  2. Make sure that the SCC code you plan to use has the Extensions enabled.

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

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

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

  4. Select the registration method.

    For SUSE Linux Enterprise Server 15 SP7, you are required to have a valid SUSE Linux Enterprise Server subscription and corresponding regcode, which you must provide on this screen. You will be required to enter the SUSE Multi-Linux Manager Extension regcode below.

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

    • SUSE Multi-Linux Manager Server Extension

    • Basesystem Module

    • Containers Module

  6. 설치를 완료합니다.

    Enter the SUSE Multi-Linux Manager Extension regcode.

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

  8. Update the System (optional, if the system was not set to download updates during install):

    zypper up
  9. 재부팅합니다.

  10. Log in as root and install podman plus mgradm and mgradm-bash-completion (if not already automatically installed):

    zypper install podman mgradm mgradm-bash-completion
  11. Start the Podman service by rebooting the system, or running a command:

    systemctl enable --now podman.service

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

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

영구 스토리지 구성은 선택 사항이지만, 컨테이너 디스크가 가득 찬 상황에 심각한 문제를 방지할 수 있는 유일한 방법입니다. mgr-storage-server 도구를 사용하여 사용자 지정 영구 스토리지를 구성하는 것이 적극 권장됩니다.

  • 자세한 내용은 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 Multi-Linux Manager with mgradm

Procedure: Deploying SUSE Multi-Linux Manager 5.1 Using mgradm
  1. 루트로 로그인합니다.

  2. Execute the following command, replacing <multi-linux-manager.example.com> with your fully qualified domain name:

    mgradm install podman <multi-linux-manager.example.com>

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

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

    메시지가 표시되면 SUSE Multi-Linux Manager 5.1 등록 키를 사용합니다.

  3. 메시지가 표시되면 인증서와 관리자 계정 비밀번호를 입력합니다.

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

  4. Enter를 누릅니다.

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

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

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

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

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

6. Connect SUSE Multi-Linux Manager 5.1 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 Multi-Linux Manager Web UI에서 관리  설정 마법사를 선택합니다.

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

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

  6. Point your browser to the SUSE Customer Center.

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

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

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

  10. SUSE Multi-Linux 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 Multi-Linux Manager에 채널을 추가합니다. 설명 왼쪽의 화살표 기호를 클릭하면 제품이 펼쳐지고 사용 가능한 모듈이 나열됩니다.

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

After adding the channel, SUSE Multi-Linux Manager will schedule the channel to be synchronized. This can take a long time as SUSE Multi-Linux 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 Multi-Linux Manager의 설치 및 구성이 완료되고 클라이언트 부트스트랩에 필요한 채널이 준비됩니다.

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

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

7. Entering the Container for Management

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

mgrctl term