SUSE Multi-Linux Managerサーバのアップグレード
Before running the upgrade command, it is required to update the host operating system. Updating the host operating system will also result in the update of the SUSE Multi-Linux Manager tooling such as the mgradm tool.
zypperを使用してソフトウェアリポジトリを更新します。zypper refホストオペレーティングシステムに応じて、以下のステップに進みます。
- SL Microなどのトランザクションシステムの場合:
transactional-updateを使用して利用可能な更新を適用します。transactional-update更新が適用されたら、
rebootを実行して再起動します。- SUSE Linux Enterprise Serverの場合:
zypperを使用してインストールされたソフトウェアを更新します。zypper upSUSE Multi-Linux Managerサーバコンテナは、次のコマンドを使用して更新できます。
mgradm upgrade podmanこのコマンドは、コンテナのステータスを最新に更新してサーバを再起動します。
Clean up the unused container images to free disk space:
podman image prune -a
|
Upgrading with third-party SSL certificate
If you are using third-party certificates, the database container needs to have an SSL certificate with the following Subject Alternate Names (SANs):
The same certificate can be used for both the main container and the database one, but it needs to have those SANs too. In order to pass the new certificate to the upgrade command, use the |
|
特定のバージョンへのアップグレード
タグパラメータを指定しない場合、デフォルトで最新バージョンにアップグレードされます。特定のバージョンにアップグレードするには、タグパラメータと目的のイメージタグを指定します。 |
upgradeコマンドとそのパラメータの詳細については、次のコマンドを使用します。
mgradm upgrade podman -h
Air-gappedインストールでは、まずコンテナのRPMパッケージをアップグレードし、その後mgradmコマンドを実行します。
1. データベースバックアップボリューム
mgradm migrationまたはmgradm upgradeを使用したサーバ移行またはアップグレードにより、データベースバックアップを含むボリュームを作成できます。
PostgreSQLデータベースのバージョンを上げる際には、アップグレードを実行する前に古いデータベースを別の場所に保存する必要があります。この目的のために、mgradmはボリュームvar-pgsql-backupを動的に作成します。移行またはアップグレードが完了し、ユーザが新しいシステムが期待通りに動作することを確認したら、このボリュームは安全に削除できます。