Proxy Migration from 5.1 to 5.2

1. 简介

This document provides the tested and validated procedures for migrating the host operating system and the proxy extension in environments managed by SUSE Multi-Linux Manager, specifically targeting systems deployed with SUSE Multi-Linux Manager Proxy 5.1.

涵盖的升级场景包括:

  • Migrating from SL Micro 6.1 to SL Micro 6.2

  • Updating SLES 15 SP7 with the new SUSE Multi-Linux Manager Proxy Extension 5.2 Beta 1

  • Upgrading the SUSE Multi-Linux Manager Proxy Extension from version 5.1 to version 5.2 Beta 1

Before migrating the proxy, it is required to first migrate the SUSE Multi-Linux Manager 5.1 Server to SUSE Multi-Linux Manager 5.2 Beta 1.

2. SL Micro 6.1 to SL Micro 6.2

This section provides the tested procedure to upgrade a SL Micro 6.1 host deployed with SUSE Multi-Linux Manager 5.1 Proxy to SL Micro 6.2 with SUSE Multi-Linux Manager 5.2 Beta 1 Proxy.

2.1. 先决条件

  • SUSE Multi-Linux Manager 5.1 Proxy is installed and running on SL Micro 6.1.

  • 已在 SUSE Multi-Linux Manager 服务器中注册代理系统。

2.2. 发行套件升级和代理迁移

Procedure: Migrate SUSE Multi-Linux Manager 5.1 Proxy to SUSE Multi-Linux Manager 5.2 Beta 1 Proxy
  1. 校验系统和 SUSE Multi-Linux Manager 工具版本。

    cat /etc/os-release
    mgrpxy --version

    确认以下信息:

    • Operating System: SL Micro 6.1

    • Tools version: mgrpxy version 5.1.x or higher

  2. 检查正在运行的容器。

    podman ps

    确保以下容器正在运行:

    • proxy-squid

    • proxy-ssh

    • proxy-httpd

    • proxy-tftpd

    • proxy-salt-broker

  3. 在 SUSE Multi-Linux Manager 服务器中同步新代理产品。有关详细信息,请参见 软件产品

    使用 Web UI 进行同步:

    • SL Micro 6.2

    • SUSE Multi-Linux Manager Proxy Extension 5.2 Beta 1

  4. 执行代理产品迁移。有关详细信息,请参见 产品迁移

    导航至代理系统,选择系统  概览 > 软件  产品迁移

    • SL Micro 6.1 + SUSE Multi-Linux Manager Proxy 5.1 Extension

      迁移到

    • SL Micro 6.2 + SUSE Multi-Linux Manager Proxy Extension 5.2 Beta 1

      出现提示时,请勿选择可选通道,除非您已确认必须使用这些通道。

      建议在执行实际迁移前先进行试运行。

  5. 监控迁移操作。

    您可在 Web UI 的系统  细节  事件选项卡中查看流程进度。

  6. After the upgrade completes, stop the proxy container and then reboot the system.

    mgrpxy stop
    reboot
  7. 执行重引导后的检查。

    校验升级后的操作系统和 SUSE Multi-Linux Manager 扩展:

    cat /etc/os-release
    SUSEConnect --status-text
  8. 校验 SUSE Multi-Linux Manager 工具版本。

    mgrpxy --version

    预期输出:

    • mgrpxy version 5.2.0 or higher

  9. Install the new proxy container images as RPM packages if they are not pulled from the registry.

    transactional-update pkg install suse-multi-linux-manager-5.2-<arch>-proxy*
  10. 重引导代理。

  11. 升级代理容器并重启。

    mgrpxy upgrade podman
    mgrpxy stop
    mgrpxy start
  12. 确认代理容器可正常运行。

    podman ps

    所有预期的代理容器均应正常启动并运行:

    • proxy-salt-broker

    • proxy-httpd

    • proxy-squid

    • proxy-tftpd

    • proxy-ssh

2.3. 迁移完成

The proxy host system is now running SL Micro 6.2 with updated SUSE Multi-Linux Manager 5.2 Beta 1 Proxy packages and synchronized product channels.

3. SUSE Linux Enterprise Server 15 SP7

This section provides the procedure to update a SUSE Linux Enterprise Server 15 SP7 host deployed with SUSE Multi-Linux Manager 5.1 Proxy to SUSE Multi-Linux Manager 5.2 Beta 1 Proxy.

3.1. 先决条件

  • SUSE Multi-Linux Manager Proxy 5.1 is installed and running on SUSE Linux Enterprise Server 15 SP7.

  • 已在 SUSE Multi-Linux Manager 服务器中注册代理系统。

3.2. Proxy component update

Procedure: Update SUSE Multi-Linux Manager Proxy components on SUSE Linux Enterprise Server 15 SP7
  1. 校验操作系统和 SUSE Multi-Linux Manager 工具版本。

    cat /etc/os-release
    mgrpxy --version

    确认以下信息:

    • Operating System: SUSE Linux Enterprise Server 15 SP7

    • Tools version: mgrpxy version 5.1.x or higher

  2. 列出正在运行的代理容器。

    podman ps

    确保以下容器正在运行:

    • proxy-salt-broker

    • proxy-httpd

    • proxy-squid

    • proxy-tftpd

    • proxy-ssh

  3. Synchronize the new Products in SUSE Multi-Linux Manager Server using the Web UI.

    For more information, see 软件产品.

    Synchronize:

    • SUSE Multi-Linux Manager Proxy Extension 5.2 Beta 1

  4. Perform proxy product migration.

    For more information, see 产品迁移.

    导航至代理系统,选择系统  概览 > 软件  产品迁移

    Migrate from:

    • SUSE Linux Enterprise Server 15 SP7 + SUSE Multi-Linux Manager Proxy 5.1 Extension

      to:

    • SUSE Linux Enterprise Server 15 SP7 + SUSE Multi-Linux Manager Proxy Extension 5.2 Beta 1

      出现提示时,请勿选择可选通道,除非您已确认必须使用这些通道。

      建议在执行实际迁移前先进行试运行。

  5. 监控迁移操作。

    You can follow the process under Systems  Details  Events in the Web UI.

  6. After the upgrade completes, stop the proxy container and then reboot the system.

    mgrpxy stop
    reboot
  7. 执行重引导后的检查。

    Verify the OS and SUSE Multi-Linux Manager extension version:

    cat /etc/os-release
    SUSEConnect --status-text
  8. 校验 SUSE Multi-Linux Manager 工具版本。

    mgrpxy --version

    预期输出:

    • mgrpxy version 5.2.0 or higher

  9. Install the new proxy container images as RPM packages if they are not pulled from the registry.

    zypper install suse-multi-linux-manager-5.2-<arch>-proxy*
  10. 重引导代理。

  11. 升级代理容器并重启。

    mgrpxy upgrade podman
    mgrpxy stop
    mgrpxy start
  12. 确认代理容器可正常运行。

    podman ps

    所有预期的代理容器均应正常启动并运行:

    • proxy-salt-broker

    • proxy-httpd

    • proxy-squid

    • proxy-tftpd

    • proxy-ssh

3.3. 迁移完成

代理主机系统现已运行 SUSE Linux Enterprise Server 15 SP7,且配备了更新后的 SUSE Multi-Linux Manager 5.2 Beta 1 代理软件包及已同步的产品通道。