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

Procedure: Migrate SUSE Multi-Linux Manager 5.0 Proxy to SUSE Multi-Linux Manager 5.1 Proxy
  1. Verify System and SUSE Multi-Linux Manager Tools version.

    cat /etc/os-release
    mgrpxy --version

    Confirm:

    • Operating System: SLE Micro 5.5

    • Tools version: mgrpxy version 0.1.29 or higher

  2. Check running containers.

    podman ps

    确保以下容器正在运行:

    • proxy-squid

    • proxy-ssh

    • proxy-httpd

    • proxy-tftpd

    • proxy-salt-broker

  3. Synchronize 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.1

  4. Perform proxy product migration. For more information, see 产品迁移.

    Navigate to the proxy system and select Systems  Overview > Software  Product Migration.

    Migrate from

    • SLE Micro 5.5 + SUSE Manager Proxy 5.0 Extension

      to

    • 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.

  5. Monitor the migration action.

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

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

    mgrpxy stop
    reboot
  7. Perform 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 Extension

  8. Verify SUSE Multi-Linux Manager tools version.

    mgrpxy --version

    预期输出:

    • mgrpxy version 5.1.11 or higher

  9. 启用 root SSH 访问权限(如果需要)。SL Micro 6.1 默认会禁用 root 登录。请编辑 /etc/ssh/sshd_config.d/sshd.conf

    PermitRootLogin yes

    重启服务:

    systemctl restart sshd

    有关详细信息,请参见 SL Micro 上的远程 root 登录

  10. Install the new proxy container images as RPM packages.

    transactional-update pkg install suse-multi-linux-manager-5.1-x86_64-proxy*
  11. Reboot the P-roxy.

  12. Upgrade proxy containers and restart them.

    mgrpxy upgrade podman
    mgrpxy stop
    mgrpxy start
  13. Confirm proxy containers are operational.

    podman ps

    All 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

Procedure: Update SUSE Multi-Linux Manager Proxy components on SUSE Linux Enterprise Server 15 SP6
  1. Verify operating system and SUSE Multi-Linux Manager tools version.

    cat /etc/os-release
    mgrpxy --version

    Confirm:

    • Operating System: SUSE Linux Enterprise Server 15 SP6

    • Tools version: mgrpxy version 0.1.29 or higher

  2. List running proxy containers.

    podman ps

    校验以下容器是否正在运行:

    • proxy-salt-broker

    • proxy-httpd

    • proxy-squid

    • proxy-tftpd

    • proxy-ssh

    • 支撑性基础架构容器

  3. 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.

  4. Perform proxy product migration. For more information, see 产品迁移.

    Navigate to the proxy system and select Systems  Overview  Software  Product Migration.

    Migrate from

    • SUSE Linux Enterprise Server 15 SP6 + SUSE Manager Proxy Extension 5.0

      to

    • 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.

  5. Monitor the migration action.

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

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

    mgrpxy stop
    reboot
  7. Perform 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 SLE

  8. Verify SUSE Multi-Linux Manager tools version.

    mgrpxy --version

    预期输出:

    • mgrpxy version 5.1.11 or higher

  9. Install the new proxy container images as RPM packages.

    zypper install suse-multi-linux-manager-5.1-x86_64-proxy*
  10. Upgrade proxy containers and restart them.

    mgrpxy upgrade podman
    mgrpxy stop
    mgrpxy start
  11. Confirm proxy containers are operational.

    podman ps

    All 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 代理软件包及已同步的产品通道。