SUSE Multi-Linux Manager Server Upgrade
Before running the upgrade command, it is recommended to 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.
-
Refresh software repositories with
zypper
:zypper ref
-
Depending on the host operating system, proceed with these steps:
- For a transactional system such as SL Micro:
-
-
使用
transactional-update
应用可用的更新:transactional-update
-
如果已应用更新,请
重引导
。
-
- For SUSE Linux Enterprise Server:
-
Update installed software with
zypper
:zypper up
-
可使用以下命令更新 SUSE Multi-Linux Manager 服务器容器:
mgradm upgrade podman
此命令可使容器保持最新状态并重启动服务器。
升级到特定版本
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. |
要查看 upgrade 命令及其参数的详细信息,请使用以下命令:
mgradm upgrade podman -h
对于物理隔离的安装,请先升级容器 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.