ハードウェア要件

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

SUSE Manager for Retailハードウェアの要件については、Retail Requirementsを参照してください。

1. サーバ要件

By default the SUSE Manager Server container stores packages in the /var/lib/containers/storage/volumes/var-spacewalk/ directory. Repository synchronization fails if this directory runs out of disk space. Estimate how much space the /var/lib/containers/storage/volumes/var-spacewalk/ directory requires based on the clients and repositories you plan to mirror.

For more information about filesystem and partitioning details, see Persistent Storage and Permissions.

Table 1. サーバハードウェアの要件
Hardware Details Recommendation

CPU

x86-64, ARM, s390x

Minimum 4 dedicated 64-bit CPU cores

RAM

Minimum

16 GB

Recommended

32 GB

Disk Space

/ (root directory)

Minimum 40 GB

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

Minimum 50 GB

/var/lib/containers/storage/volumes/var-spacewalk

Minimum storage required: 100 GB (this will be verified by the implemented check)

* 50 GB for each SUSE product and Package Hub

360 GB for each Red Hat product

/var/lib/containers/storage/volumes/var-cache

Minimum 10 GB. Add 100 MB per SUSE product, 1 GB per Red Hat or other product. Double the space if the server is an ISS Master.

SUSE Managerのパフォーマンスは、ハードウェアリソース、ネットワーク帯域幅、クライアントとサーバ間の遅延などによって異なります。

経験および使用されているさまざまな配備に基づいて、適切な数のプロキシを備えたSUSE Managerサーバの最適なパフォーマンスを得るためには、単一サーバあたり10,000クライアントを超えないようにすることをお勧めします。 クライアント数が10,000を超える場合は、ハブのセットアップに移行し、コンサルティングを利用することを強くお勧めします。 微調整と適切な数のプロキシを使用しても、このような多数のクライアントによって、パフォーマンスの問題が生じる可能性があります。

For more information about managing a large number of clients, see Multiple Servers with Hub to Manage Large Scale Deployments.

2. プロキシ要件

Table 2. プロキシハードウェア要件
Hardware Details Recommendation

CPU

x86-64, ARM

Minimum 2 dedicated 64-bit CPU cores

RAM

Minimum

2 GB

Recommended

8 GB

Disk Space

/ (root directory)

Minimum 40 GB

/var/lib/containers/storage/volumes/srv-www

Minimum 100 GB

Storage requirments should be calculated for the number of ISO distribution images, containers, and bootstrap repositories you will use.

/var/lib/containers/storage/volumes/var-cache (Squid)

Minimum 100 GB

By default the SUSE Manager Proxy container caches packages in the /var/lib/containers/storage/volumes/var-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/var-cache/ directory is on the proxy, the less traffic will be between the proxy and the SUSE Manager Server.

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

  • The /var/lib/containers/storage/volumes/var-cache/ directory can be small on the SUSE Manager Server compared to the proxy. For a guide to size estimation, see the サーバ要件 section.

3. Database Requirement

PostgreSQLはサポートされている唯一のデータベースです。 PostgreSQLデータベースとともにリモートのPostgreSQLデータベースやリモートのファイルシステム(NFS など)を使用することはサポートされていません。 つまり、PostgreSQLは、SUSE Managerで使用可能な最速のストレージデバイス上に存在する必要があります。

Because of potential performance issues, running a PostgreSQL database remotely from SUSE Manager is discouraged. While such an environment is possible and even stable in many cases, there is always a risk of data loss if something goes wrong.

このような場合、SUSEは支援を提供できないことがあります。

4. Persistent Storage and Permissions

Persistent volumes are created by default when deploying the container.

However, it is recommended that the repositories and the database for SUSE Manager are stored on separate storage devices. Such a setup helps avoid data loss in production environments.

Storage devices must be set up prior to deploying the container. For more details, see Persistent Container Volumes.

SUSE Managerでは、3つの異なるボリュームが必要です。

  • Database volume: /var/lib/containers/storage/volumes/var-pgsql

  • Channel volume: /var/lib/containers/storage/volumes/var-spacewalk

  • Cache: /var/lib/containers/storage/volumes/var-cache

すべてのボリュームで、ファイルシステムの種類にはXFSを使用することをお勧めします。 また、オンプレミスインストールでは、論理ボリューム管理(LVM)を使用してディスクを管理することを検討してください。 リポジトリストレージのディスクのサイズは、SUSE Managerで管理するディストリビューションおよびチャンネルの数によって決まります。 必要サイズを推測するガイドについては、このセクションの表を参照してください。

On the SUSE Manager Server, use this command to find all available storage devices:

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 database and repositories:

mgr-storage-server <channel_devicename> [<database_devicename>]

外部ストレージボリュームは、/manager_storageおよび/pgsql_storageにマウントされているXFSパーティションとして設定されます。

It is possible to use the same storage device for both channel data and the database. This is not recommended, as growing channel repositories might fill up the storage, which poses a risk to database integrity. Using separate storage devices may also increase performance. If you want to use a single storage device, run mgr-storage-server with a single device name parameter.

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

SUSE Managerサーバおよびプロキシのディスクパーティションを作成する場合、パーミッションを正しく設定してください。

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

  • オーナー: 読み取り、書き込み、実行

  • Group: Read, Execute

  • ユーザ: なし

For /var/lib/containers/storage/volumes/var-spacewalk:

  • オーナー: 読み取り、書き込み、実行

  • グループ: 読み取り、書き込み、実行

  • ユーザ: 読み取り、実行

次のコマンドでパーミッションを確認してください。

ls -l /var/lib/containers/storage/volumes/var-pgsql /var/lib/containers/storage/volumes/var-spacewalk

出力は次のようになります。

/var/lib/containers/storage/volumes/var-pgsql:
total 0
drwxr-x--- 1 10556 10556 48 Apr 19 14:33 _data

/var/lib/containers/storage/volumes/var-spacewalk:
total 0
drwxr-xr-x 1 10552 root 30 Apr 19 14:34 _data

必要に応じて、次のコマンドでパーミッションを変更します。

chmod 750 /var/lib/containers/storage/volumes/var-pgsql
chmod 775 /var/lib/containers/storage/volumes/var-spacewalk

オーナーでは次のコマンドを使用します。

chown postgres:postgres /var/lib/containers/storage/volumes/var-pgsql
chown wwwrun:www /var/lib/containers/storage/volumes/var-spacewalk