SUSE Multi-Linux Manager Server Upgrade

업그레이드 명령을 실행하기 전에 호스트 운영 체제를 업데이트해야 합니다. 호스트 운영 체제를 업데이트하면 mgradm 도구와 같은 SUSE Multi-Linux Manager 도구도 함께 업데이트됩니다.

Procedure: Upgrading Server
  1. Refresh software repositories with zypper:

    zypper ref
  2. Depending on the host operating system, proceed with these steps:

    For a transactional system such as SL Micro:
    1. Apply available updates with transactional-update:

      transactional-update
    2. 업데이트가 완료되면 reboot를 수행합니다.

    For SUSE Linux Enterprise Server:

    Update installed software with zypper:

    zypper up
  3. The SUSE Multi-Linux Manager Server container can be updated using the following command:

    mgradm upgrade podman

    이 명령은 컨테이너의 상태를 최신 상태로 가져오고 서버를 다시 시작합니다.

  4. 사용하지 않는 컨테이너 이미지를 정리하여 디스크 공간을 확보합니다.

    podman image prune -a
Upgrading with third-party SSL certificate

타사 인증서를 사용하는 경우, 데이터베이스 컨테이너에는 다음의 SAN(Subject Alternate Names)이 포함된 SSL 인증서가 필요합니다.

  • db

  • reportdb

  • 외부에 노출되는 정규화된 도메인 이름

기본 컨테이너와 데이터베이스 컨테이너 모두에 동일한 인증서를 사용할 수 있지만 해당 SAN도 있어야 합니다.

업그레이드 명령에 새 인증서를 전달하려면 --ssl-db-ca-root, --ssl-db-cert--ssl-db-key 파라미터를 사용합니다.

특정 버전으로 업그레이드

If you do not specify the tag parameter, it will default to upgrading to the most recent version. To upgrade to a specific version, provide the tag parameter with the desired image tag.

업그레이드 명령과 해당 파라미터에 대한 자세한 내용은 다음 명령을 참조하십시오.

mgradm upgrade podman -h

air-gapped 설치의 경우, 먼저 컨테이너 RPM 패키지를 업그레이드한 후 mgradm 명령을 실행합니다.

1. Database Backup Volume

Server migration or upgrade with mgradm migration or mgradm upgrade can create a volume with the database backup.

When the PostgreSQL database version is increased, the old database must be stored in a separate location before running the upgrade. For this purpose mgradm dynamically creates the volume var-pgsql-backup. When the migration or upgrade is done and the user has validated that the new system is working as expected, this volume can be removed safely.