Understanding mgr-storage-server and mgr-storage-proxy
mgr-storage-server and mgr-storage-proxy are helper scripts provided with SUSE Multi-Linux Manager 5.0 and later.
これらはSUSE Multi-Linux Managerサーバおよびプロキシのストレージを設定するように設計されています。
The scripts take disk devices as arguments. mgr-storage-proxy requires a single argument for the storage disk device. mgr-storage-server requires a storage disk device and can optionally accept a second argument for a dedicated database disk device. While both normal and database storage can reside on the same disk, it is advisable to place the database on a dedicated, high-performance disk to ensure better performance and easier management.
1. これらのツールの機能
Both mgr-storage-server and mgr-storage-proxy perform standard storage setup operations:
-
提供されたストレージデバイスを検証します。
-
デバイスが空で使用に適していることを確認します。
-
指定されたデバイス上にXFSファイルシステムを作成します。
-
データ移行のためデバイスを一時的にマウントします。
-
関連するストレージディレクトリを新しいデバイスに移動します。
-
Create entries in
/etc/fstabso that the storage mounts automatically on boot. -
デバイスを最終的な場所で再マウントします。
|
Optionally supports a separate device for database storage. Stops SUSE Multi-Linux Manager services during migration, restarts them afterward. Moves Podman volumes directory |
|
Focuses only on proxy storage (no database storage support). Stops and restarts the proxy service during migration. Moves podman volumes directory |
|
どちらのツールも標準的なLinuxストレージ操作を自動化します。 Linx管理者が手動で行う範囲を超えた、隠れたロジックやカスタムロジックはありません。 |
2. これらのツールが実行しないこと
-
LVMボリュームを作成または管理しません。
-
RAIDや複雑なストレージトポロジを設定しません。
-
セットアップ後に通常のLinuxツールを使用したストレージの管理を妨げることはありません。
-
動的なサイズ変更や拡張機能は提供しません。これらは標準的なLinuxストレージツールで処理する必要があります。
3. インストール後のストレージ管理
ストレージが設定されると、標準的なLinuxコマンドを使用して安全に管理できます。
3.1. 例
lvextend -L +10G /dev/your_vg/your_lv xfs_growfs /var/lib/containers/storage/volumes
-
新規ディスクを追加してフォーマットします。
-
一時的にマウントします。
-
rsyncを使用してデータをコピーします。 -
/etc/fstabを更新します。 -
正しい場所に再マウントします。
4. 使用する場合、使用しない場合
|
ストレージセットアップに変更を行う前に、必ずバックアップを取ってください。 |
-
これらのツールは初期ストレージセットアップ中、またはツールがデータ移行と
/etc/fstabの更新を処理することが想定される新しいストレージへの移行時にのみ使用します。 -
Do not rerun these scripts for resizing or expanding storage. Use standard Linux tools (e.g.,
lvextend,xfs_growfs) for such operations.
5. 概要
mgr-storage-server and mgr-storage-proxy help automate the initial persistent storage setup for SUSE Multi-Linux Manager components using standard Linux storage practices. They do not limit or interfere with standard storage management afterward.
セットアップ後は、使い慣れたLinuxツールを使用してストレージの管理を続行してください。
|
A full database volume can cause significant issues with system operation. As disk usage notifications have not yet been adapted for containerized environments, users are encouraged to monitor the disk space used by Podman volumes themselves, either through tools such as Grafana, Prometheus, or any other preferred method. Pay particular attention to the var-pgsql volume, located under |