サーバのアップグレード

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

プロシージャ: サーバのアップグレード
  1. zypperを使用してソフトウェアリポジトリを更新します。

    zypper ref
  2. 利用可能な更新を適用します。

    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
特定のバージョンへのアップグレード

タグパラメータを指定しない場合、デフォルトで最新バージョンにアップグレードされます。特定のバージョンにアップグレードするには、タグパラメータと目的のイメージタグを指定します。

upgradeコマンドとそのパラメータの詳細については、次のコマンドを使用します。

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コマンドを実行します。