Automation Suite
2023.10
False
横幅背景图像
Linux 版 Automation Suite 安装指南
上次更新日期 2024年4月19日

执行升级后操作

完成升级后,您必须执行所需的清理和迁移操作,然后才能开始使用 Automation Suite 集群。

下表描述了您必须执行清理和迁移操作的可能情况:

条件

操作

  1. 您是从 Automation Suite 2022.10 或更早版本升级。

  2. Apps 已安装在 Automation Suite 集群上。

  1. 通过在其中一个服务器节点上运行以下命令来卸载 MongoDB:

    ./configureUiPathAS.sh mongodb uninstall --force./configureUiPathAS.sh mongodb uninstall --force
  1. 您是从 Automation Suite 2023.4 或更早版本升级。

  2. 您已使用外部注册表配置了在线设置或离线设置。

  1. 为 AI Center 训练管道添加磁盘。有关要求的详细信息,请参阅 AI Center 硬件要求。有关配置用于训练管道的磁盘的说明,请参阅在选定计算机上配置 AI Center 磁盘

  2. 通过运行以下命令,将 Longhorn 卷迁移到磁盘上的本地卷:

    ./configureUiPathAS.sh longhorn migrate --excluded registry./configureUiPathAS.sh longhorn migrate --excluded registry
    重要提示:

    如果迁移失败并显示“无法在 4500 秒内完成迁移”,请参阅故障排除指南中的此部分

    为了获得更多控制权和可见性,请单独迁移每个组件。运行帮助命令并引用 --included 标志:
    ./configureUiPathAS.sh longhorn migrate --help./configureUiPathAS.sh longhorn migrate --help
  3. 通过运行以下命令卸载 Longhorn:

    ./configureUiPathAS.sh longhorn uninstall./configureUiPathAS.sh longhorn uninstall
备注:

只能在从 Longhorn 迁移所有组件后卸载 Longhorn。

  1. 您是从 Automation Suite 2023.4 或更早版本升级。

  2. 您使用集群内注册表配置了离线设置。

  1. 为 AI Center 训练管道添加磁盘。有关要求的详细信息,请参阅 AI Center 硬件要求。有关配置用于训练管道的磁盘的说明,请参阅在选定计算机上配置 AI Center 磁盘

  2. 通过运行以下命令,将 Longhorn 卷迁移到磁盘上的本地卷:

    ./configureUiPathAS.sh longhorn migrate --config <path_to_cluster_config.json>./configureUiPathAS.sh longhorn migrate --config <path_to_cluster_config.json>
  3. 通过运行以下命令卸载 Longhorn:

    ./configureUiPathAS.sh longhorn uninstall./configureUiPathAS.sh longhorn uninstall
备注:

只能在从 Longhorn 迁移所有组件后卸载 Longhorn。

  1. 您在升级前配置了临时 Docker 注册表,如设置临时注册表中所述

  1. 通过运行以下命令卸载临时注册表:

    ./configureUiPathAS.sh registry uninstall-temp-registry -i cluster_config.json./configureUiPathAS.sh registry uninstall-temp-registry -i cluster_config.json
  1. 您执行了升级,现在遇到了映像漏洞或存储消耗问题。

  1. 删除旧版安装程序中的映像。有关说明,请参阅如何在升级后删除旧版安装程序中的映像

启用升级后备份

升级并执行清理和迁移操作后,您必须继续备份。

重要提示:

在继续以下步骤之前,请确保 Automation Suite 已启动并正在运行,并且您的自动化按预期继续进行。

要启用备份,请按照备份和还原集群文档中所述的说明进行操作。

正在卸载内部注册表

备注:

如果您在升级过程中迁移到符合 OCI 的外部注册表,则需要执行此步骤。

要卸载内部注册表,请运行以下命令:

kubectl delete ns docker-registrykubectl delete ns docker-registry
  • 启用升级后备份
  • 正在卸载内部注册表

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.