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 스토리지 작업을 자동화합니다. Linux 관리자가 수동으로 수행하는 작업 이상의 숨겨진 또는 사용자 정의 논리는 존재하지 않습니다. |
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 |