하드웨어 요구사항

This table outlines hardware and software requirements for the SUSE Multi-Linux Manager Server and Proxy, on x86-64, ARM, ppc64le and s390x architecture.

SUSE Multi-Linux Manager installations based on ppc64le or s390x architecture cannot use secure boot for network booting clients. This limitation exists because the shim bootloader is not available for both these architectures.

SUSE Multi-Linux Manager for Retail 하드웨어 요구사항은 Retail Requirements을 참조하십시오.

1. 서버 요구사항

One of SL Micro 6.1 or SUSE Linux Enterprise Server 15 SP7 is the operating system of the container host.

In the following, SUSE Linux Enterprise Server as the installed host operating system is explicitly mentioned only if it matters. Otherwise we either write SL Micro or just host operating system.

The container host with SL Micro as operating system requires as free disk space:

  • 기본 설치 시 최소 100GB

  • 리포지토리 데이터용 공간 최소 130GB

Depending on the amount of selected software, SUSE Linux Enterprise Server as operating system can require considerably more disk space.

By default the SUSE Multi-Linux Manager Server container stores mirrored repository (packages or products), database, and other data in subdirectories of the /var/lib/containers/storage/volumes/ directory. Repository synchronization fails if this directory runs out of disk space. Estimate how much space the /var/lib/containers/storage/volumes/ directory requires based on the number and kind of clients and repositories you plan to mirror.

파일 시스템 및 파티셔닝 세부 정보에 대한 자세한 내용은 영구 스토리지 및 권한 및 이 가이드의 설치 및 배포 섹션에 있는 세부 설치 지침을 참조하십시오.

Table 1. 서버 하드웨어 요구사항
하드웨어 세부 정보 권장

CPU

x86-64, ARM, ppc64le 또는 s390x

최소 4개의 전용 64비트 CPU 코어

RAM

최소

16GB

권장

32GB

디스크 공간

/ (루트 디렉토리)

40GB

/var/lib/containers/storage/volumes

최소 150GB(제품 수에 따라 다름)

/var/lib/containers/storage/volumes/var-pgsql

최소 50GB

스왑 공간

시스템은 추가 스왑 공간의 이점을 누릴 수 있습니다. SUSE는 스왑 파티션 대신 스왑 파일을 사용할 것을 권장합니다. 스왑 공간에 대한 자세한 내용은 see Swap space에서 확인할 수 있습니다.

8~12GB

기본적으로 이미지에는 40GB / 파티션이 있습니다. SL Micro 6.1의 클라우드 이미지에는 5GB / 파티션만 있습니다. 두 파티션 모두 SUSE Multi-Linux Manager에서 완벽하게 작동합니다. 외부 스토리지가 /var/lib/containers/storage/volumes에 마운트된 경우 SUSE Multi-Linux Manager은(는) / 파티션에서 스토리지를 필요로 하거나 사용하지 않으며, 컨테이너 호스트가 직접 관리하도록 합니다.

SUSE Multi-Linux Manager 성능은 하드웨어 리소스, 네트워크 대역폭, 클라이언트와 서버 간 대기 시간 등에 따라 달라집니다.

사용 중인 환경과 다양한 배포에 따라 적절한 수의 프록시가 배치된 SUSE Multi-Linux Manager 서버의 최적 성능을 달성하려면 단일 서버당 10,000개의 클라이언트를 초과하지 않는 것이 좋습니다. 클라이언트가 10,000개를 초과하는 경우 허브 설정으로 이동하여 컨설팅을 포함하는 것이 매우 권장됩니다. 미세 조정 및 적절한 수의 프록시가 포함된 경우에도 클라이언트의 수가 그렇게 많으면 성능 문제가 발생할 수 있습니다.

대규모 클라이언트 관리에 대한 자세한 내용은 Multiple Servers with Hub to Manage Large Scale Deployments에서 확인할 수 있습니다.

2. 프록시 요구사항

One of SL Micro 6.1 or SUSE Linux Enterprise Server 15 SP7 is the operating system of the container host.

Minimum requirements are suitable for a quick test installation, such as a Proxy with one client. If you want to use a production environment start with recommended values.

Table 2. 프록시 하드웨어 요구사항
하드웨어 세부 정보 권장

CPU

x86-64, ARM

최소 2개의 전용 64비트 CPU 코어

권장

최소값과 동일

RAM

최소

2GB

권장

8GB

디스크 공간

/ (루트 디렉토리)

최소 40GB

/var/lib/containers/storage/volumes

최소 100GB

스왑 공간

시스템은 추가 스왑 공간의 이점을 누릴 수 있습니다. SUSE는 스왑 파티션 대신 스왑 파일을 사용할 것을 권장합니다. 스왑 공간에 대한 자세한 내용은 Swap space에서 확인할 수 있습니다.

4~8GB

By default the SUSE Multi-Linux Manager Proxy container caches packages in the /var/lib/containers/storage/volumes/uyuni-proxy-squid-cache/ directory. If there is not enough space available, the proxy will remove old, unused packages and replace them with newer packages.

이 동작의 결과:

  • The larger /var/lib/containers/storage/volumes/uyuni-proxy-squid-cache/ directory is on the proxy, the less traffic will be between the proxy and the SUSE Multi-Linux Manager Server.

  • By making the /var/lib/containers/storage/volumes/uyuni-proxy-squid-cache/ directory on the proxy the same size as /var/lib/containers/storage/volumes/var-spacewalk/ on the SUSE Multi-Linux Manager Server, you avoid a large amount of traffic after the first synchronization.

  • The /var/lib/containers/storage/volumes/uyuni-proxy-squid-cache/ directory can be small on the SUSE Multi-Linux Manager Server compared to the proxy. For a guide to size estimation, see the 서버 요구사항 section.

In general, SUSE recommends to adjust the value for the cache directory to about 80 % of available free space. The cache_dir value is set when generating proxy configuration on the server. You cannot set the option directly in squid.conf.

3. Swap space

Workloads differ from system to system. Systems with heavy or unpredictable workloads can benefit from additional swap space, regardless of total RAM. It is recommended to place swap on the fastest available storage (for example, SSD). SUSE recommends using a swap file instead of a swap partition.

For size recommendations, see the tables above.

The following shell command snippet creates a 8GiB swap file.

A swap file on BtrFS filesystem prevent creating of a snapshot of that volume. /var in the following example is already excluded from the snapper snapshots, so it is safe to use /var/swap.

## setup swapfile at /var/swap
# run following as a root user

# allocate 8GiB for swap file
fallocate -l 8G /var/swap
# ensure CoW is disabled for the swap file
chattr +C /var/swap
# allow only root access
chmod 600 /var/swap
# make swap file based on allocated file
mkswap /var/swap
# activate swap use for the running system
swapon /var/swap
# activate swap during the next boots
echo "/var/swap swap swap defaults 0 0" >> /etc/fstab

4. 데이터베이스 요구사항

PostgreSQL 데이터베이스만 지원됩니다. 원격 PostgreSQL 데이터베이스 또는 원격 파일 시스템(예: NFS)을 PostgreSQL 데이터베이스와 함께 사용하는 기능은 지원되지 않습니다. 즉, PostgreSQL은 SUSE Multi-Linux Manager에 대해 사용 가능한 가장 빠른 저장소 장치에 있어야 합니다.

잠재적인 성능 문제로 인해 PostgreSQL 데이터베이스를 SUSE Multi-Linux Manager에서 원격으로 실행하는 것은 일반적으로 권장하지 않습니다. 이러한 환경은 많은 경우에 사용할 수 있고 안정적이지만, 문제가 발생하면 데이터가 손실될 위험이 항상 있습니다.

그러한 경우 SUSE에서 지원을 제공하지 못할 수 있습니다.

5. 영구 스토리지 및 권한

컨테이너를 배포할 때 기본적으로 영구 볼륨이 생성됩니다.

However, it is recommended that the volumes are stored on one or more separate storage devices. Such a setup helps avoid data loss in production environments. This can be done after container deployment.

Storage devices best should be set up after first deploying the container. For more details, see Persistent Container Volumes.

We recommend you use XFS as the filesystem type for all volumes. The size of the disk for repositories storage is dependent on the number of distributions and channels you intend to manage with SUSE Multi-Linux Manager. See the tables in this section for guides to estimate the size required.

Do not use NFS for Cobbler or PostgreSQL storage, neither NFS on SELinux environments. These scenarios are not supported.

SUSE Multi-Linux Manager 서버에서 이 명령을 사용하여 사용할 수 있는 모든 스토리지 장치를 찾습니다.

hwinfo --disk | grep -E "장치 파일:"

lsblk 명령을 사용하여 각 장치의 이름 및 크기를 확인합니다.

Use the mgr-storage-server command with the device names to set up the external disks as the locations for the storage and, optionally on a disk of its own, for the database:

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

예:

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

외부 저장소 볼륨은 /manager_storage/pgsql_storage에 마운트된 XFS 파티션으로 설정됩니다.

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

자세한 내용은 Persistent Container Volumes에서 확인할 수 있습니다.

채널 데이터 및 데이터베이스 모두에서 동일한 스토리지 장치를 사용할 수 있습니다. 채널 리포지토리가 증가하여 스토리지가 가득 차 데이터베이스 무결성이 손상될 수 있으므로 이 방법은 권장되지 않습니다. 별도의 스토리지 장치를 사용하면 성능도 향상할 수 있습니다. 1개의 스토리지 장치를 사용하려면 단일 장치 이름 파라미터와 함께 mgr-storage-server를 실행합니다.

If you are installing a proxy, the mgr-storage-proxy command takes only one device name parameter and will set up the external storage location as the Squid cache.

6. Logical Volume Management (LVM)

For all kind of virtual machines (VM), LVM is generally not needed and not recommended. The disk setup is virtual and separate disks for volumes are possible and recommended.

다른 배포의 경우 볼륨에 대한 별도의 디스크도 권장됩니다.

On the container host of the SUSE Multi-Linux Manager Server, the mgr-storage-server command moves the complete content of the /var/lib/containers/storage/volumes directory to a separate disk and remounts it to /var/lib/containers/storage/volumes.

Optionally, if a second device name is specified, mgr-storage-server moves the content of the /var/lib/containers/storage/volumes/var-pgsql database directory to a second separate disk and remounts it to /var/lib/containers/storage/volumes/var-pgsql.

Similarly, on the container host of the SUSE Multi-Linux Manager Proxy, the mgr-storage-proxy command moves the complete content of the /var/lib/containers/storage/volumes directory to a separate disk and remounts it to /var/lib/containers/storage/volumes.