Server Upgrade

Before running the upgrade command, it is required to upgrade the mgradm tool first.

절차: 서버 업그레이드
  1. zypper로 소프트웨어 리포지토리 새로 고침:

    zypper ref
  2. Apply available updates:

    1. SLE Micro의 경우:

      transactional-update

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

    2. SUSE Linux Enterprise Server의 경우:

      zypper up
  3. 다음 명령을 사용하여 SUSE Manager 서버 컨테이너를 업데이트할 수 있습니다.

    Risk of Automated Version Downgrade and PTF Loss

    Running the mgradm upgrade podman command when no newer upgrade is available will cause the system to automatically revert to the base version. This process removes all currently applied Program Temporary Fixes (PTFs) without a confirmation prompt.

    To avoid unintended data or fix loss, verify upgrade availability before execution. Future releases will include a confirmation prompt to prevent this behavior.

mgradm upgrade podman

+

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

+

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

    podman image prune -a
특정 버전으로 업그레이드

태그 파라미터를 지정하지 않으면 기본적으로 가장 최신 버전으로 업그레이드됩니다. 특정 버전으로 업그레이드하려면 태그 파라미터에 원하는 이미지 태그를 지정합니다.

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

Risk of Automated Version Downgrade and PTF Loss

Running the mgradm upgrade podman command when no newer upgrade is available will cause the system to automatically revert to the base version. This process removes all currently applied Program Temporary Fixes (PTFs) without a confirmation prompt.

To avoid unintended data or fix loss, verify upgrade availability before execution. Future releases will include a confirmation prompt to prevent this behavior.

mgradm upgrade podman -h

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