Proxy Migration from 5.0 to 5.1
1. 简介
本文提供了经过测试和验证的步骤,专门针对部署了 SUSE Multi-Linux Manager 代理 5.0 的系统,在 SUSE Multi-Linux Manager 管理的环境中迁移主机操作系统和代理扩展。
涵盖的升级场景包括:
-
从 SUSE Linux Enterprise Micro (SLE Micro) 5.5 迁移到 SLE Micro 6.1
-
从 SUSE Linux Enterprise Server (SLES) 15 SP6 迁移到 SLES 15 SP7
-
将 SUSE Multi-Linux Manager 代理扩展从 5.0 版本升级到 5.1 版本
|
Before migrating the proxy, it is required to first migrate the SUSE Manager 5.0 Server to SUSE Multi-Linux Manager 5.1. |
2. 从 SLE Micro 5.5 迁移到 SL Micro 6.1
本节提供了经过测试的步骤,用于将部署了 SUSE Multi-Linux Manager 5.0 代理的 SLE Micro 5.5 主机升级到部署了 SUSE Multi-Linux Manager 5.1 代理的 SL Micro 6.1。
2.1. 先决条件
-
SUSE Multi-Linux Manager 5.0 代理已在 SLE Micro 5.5 上安装并运行。
-
已在 SUSE Multi-Linux Manager 服务器中注册代理系统。
2.2. Distribution upgrade and proxy migration
Verify System and SUSE Multi-Linux Manager Tools version.
cat /etc/os-release mgrpxy --versionConfirm:
Operating System:
SLE Micro 5.5Tools version:
mgrpxy version 0.1.29or higherCheck running containers.
podman ps确保以下容器正在运行:
proxy-squid
proxy-ssh
proxy-httpd
proxy-tftpd
proxy-salt-brokerSynchronize the new Proxy Products in SUSE Multi-Linux Manager Server. For more information, see 软件产品.
使用 Web UI 进行同步:
SUSE Linux Micro 6.1
SUSE Multi-Linux Manager Proxy Extension 5.1Perform proxy product migration. For more information, see 产品迁移.
Navigate to the proxy system and select > .
Migrate from
SLE Micro 5.5+SUSE Manager Proxy 5.0 Extensionto
SL Micro 6.1+SUSE Multi-Linux Manager Proxy Extension 5.1
出现提示时,请勿选择可选通道,除非您已确认必须使用这些通道。
It is recommended to do a dry-run first before performing the actual migration.
Monitor the migration action.
You can follow the process under tab in the Web UI.
After the upgrade completes, stop the proxy container and then reboot the system.
mgrpxy stop rebootPerform post-reboot checks.
校验升级后的操作系统和 SUSE Multi-Linux Manager 扩展:
cat /etc/os-release SUSEConnect --status-text您应看到以下内容:
PRETTY_NAME="SUSE Linux Micro 6.1"
SUSE Multi-Linux Manager Proxy 5.1 ExtensionVerify SUSE Multi-Linux Manager tools version.
mgrpxy --version预期输出:
mgrpxy version 5.1.11or higher启用 root SSH 访问权限(如果需要)。SL Micro 6.1 默认会禁用 root 登录。请编辑
/etc/ssh/sshd_config.d/sshd.conf:PermitRootLogin yes重启服务:
systemctl restart sshd有关详细信息,请参见 SL Micro 上的远程 root 登录。
Install the new proxy container images as RPM packages.
transactional-update pkg install suse-multi-linux-manager-5.1-x86_64-proxy*Reboot the P-roxy.
Upgrade proxy containers and restart them.
mgrpxy upgrade podman mgrpxy stop mgrpxy startConfirm proxy containers are operational.
podman psAll expected proxy containers should be up and running:
proxy-salt-broker
proxy-httpd
proxy-squid
proxy-tftpd
proxy-ssh
2.3. Migration complete
代理主机系统现已运行 SL Micro 6.1,并配备了更新后的 SUSE Multi-Linux Manager 5.1 代理软件包及已同步的产品通道。
3. 从 SUSE Linux Enterprise Server 15 SP6 升级到 15 SP7
This section provides the procedure to upgrade a SUSE Linux Enterprise Server SP6 host deployed with SUSE Multi-Linux Manager 5.0 Proxy to SUSE Linux Enterprise Server SP7 with SUSE Multi-Linux Manager 5.1 Proxy.
3.1. 先决条件
-
SUSE Multi-Linux Manager 5.0 代理已在 SUSE Linux Enterprise Server 15 SP6 上安装并运行。
-
已在 SUSE Multi-Linux Manager 服务器中注册代理系统。
3.2. Distribution upgrade and proxy migration
Verify operating system and SUSE Multi-Linux Manager tools version.
cat /etc/os-release mgrpxy --versionConfirm:
Operating System:
SUSE Linux Enterprise Server 15 SP6Tools version:
mgrpxy version 0.1.29or higherList running proxy containers.
podman ps校验以下容器是否正在运行:
proxy-salt-broker
proxy-httpd
proxy-squid
proxy-tftpd
proxy-ssh支撑性基础架构容器
Synchronize the new proxy products in SUSE Multi-Linux Manager Server. For more information see 软件产品.
Using the Web UI, synchronize the following:
SUSE Linux Enterprise Server 15 SP7
SUSE Multi-Linux Manager Proxy Extension for SLE 5.1
Proxy extensions are listed under
Basesystem Module 15 SP7` > `Containers Module 15 SP7.Perform proxy product migration. For more information, see 产品迁移.
Navigate to the proxy system and select .
Migrate from
SUSE Linux Enterprise Server 15 SP6+SUSE Manager Proxy Extension 5.0to
SUSE Linux Enterprise Server 15 SP7+SUSE Multi-Linux Manager Proxy Extension for SLE 5.1
出现提示时,请勿选择可选通道,除非您已确认必须使用这些通道。
It is recommended to do a dry-run first before performing the actual migration.
Monitor the migration action.
You can follow the process under tab in the Web UI.
After the upgrade completes, stop the proxy container and then reboot the system.
mgrpxy stop rebootPerform post-reboot checks:
Verify upgraded OS and SUSE Multi-Linux Manager extension.
cat /etc/os-release SUSEConnect --status-text您应看到以下内容:
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP7"
SUSE Multi-Linux Manager Proxy 5.1 Extension for SLEVerify SUSE Multi-Linux Manager tools version.
mgrpxy --version预期输出:
mgrpxy version 5.1.11or higherInstall the new proxy container images as RPM packages.
zypper install suse-multi-linux-manager-5.1-x86_64-proxy*Upgrade proxy containers and restart them.
mgrpxy upgrade podman mgrpxy stop mgrpxy startConfirm proxy containers are operational.
podman psAll expected proxy containers should be up and running:
proxy-salt-broker
proxy-httpd
proxy-squid
proxy-tftpd
proxy-ssh
3.3. Migration complete
代理主机系统现已运行 SUSE Linux Enterprise Server 15 SP7,且配备了更新后的 SUSE Multi-Linux Manager 5.1 代理软件包及已同步的产品通道。