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

准备新集群

准备 cluster_config.json 文件

备注:

启动导出-导入流程后,不得修改源集群。

要准备 cluster_config.json 文件,请执行以下步骤:
  1. 通过运行以下命令之一,在源集群上生成 cluster_config.json 文件:
    1. If you upgrade from versions prior to 2023.10.0, use the following options:
      • 选项 A:如果您已有可用的 cluster_config.json 文件,请导航到最新的安装程序文件夹并运行以下命令来获取该文件:
        cd /opt/UiPathAutomationSuite/latest/installer
        
        ./configureUiPathAS.sh config get -i /path/to/old/cluster_config.json -o /opt/UiPathAutomationSuite/cluster_config.jsoncd /opt/UiPathAutomationSuite/latest/installer
        
        ./configureUiPathAS.sh config get -i /path/to/old/cluster_config.json -o /opt/UiPathAutomationSuite/cluster_config.json
      • 选项 B:如果您没有可用的 cluster_config.json 文件,请导航到最新的安装程序文件夹并运行以下命令,以生成该文件:
        cd /opt/UiPathAutomationSuite/{version}/installer
        
        ./configureUiPathAS.sh config get -o /opt/UiPathAutomationSuite/cluster_config.jsoncd /opt/UiPathAutomationSuite/{version}/installer
        
        ./configureUiPathAS.sh config get -o /opt/UiPathAutomationSuite/cluster_config.json
    2. If you upgrade from 2023.10.0 or later versions, generate the config file by navigating to the latest installer folder and running the following command:
      uipathctl manifest get-revision >> ./cluster_config.jsonuipathctl manifest get-revision >> ./cluster_config.json
  2. 从源集群中复制 cluster_config.json 文件,并将其放置在目标集群中:
    scp cluster_config.json user@target_cluster_IP /foo/barscp cluster_config.json user@target_cluster_IP /foo/bar
  3. 根据需要为目标集群使用新生成的 rke_token GUID 以及不同的临时 FQDN、SQL Server 或其他配置,并相应地更新 cluster_config.json
    • 您必须为 rke_token 生成新的 GUID,以防止新集群加入源集群。为此,请运行以下命令:
      LC_CTYPE=C tr </dev/urandom -dc '!@#$%q_A-Z-a-z-0-9' | head -c 16LC_CTYPE=C tr </dev/urandom -dc '!@#$%q_A-Z-a-z-0-9' | head -c 16
    • 您可以使用任何文本编辑器来修改 cluster_config.json 文件。
    • 可选外部对象存储:如果要更改外部对象存储的任何设置,请提供该外部对象存储。

重要提示:

为确保在发生故障时即时回滚,您必须使用与源集群不同的资源,如下所示:

  • 您必须为新的目标集群引入不同的 SQL 数据库。

  • 您必须为新的目标集群引入不同的外部对象存储桶。

注意:我们目前不支持在并行升级过程中,从集群内对象存储迁移到外部对象存储。要在新环境中使用外部对象存储,您必须在开始并行升级之前或完成之后迁移到外部对象存储。

安装新集群

要安装新的目标集群,请按照准备安装说明进行操作。

重要提示:

仅在迁移数据后,才能完成服务的安装。

  • 准备 cluster_config.json 文件
  • 安装新集群

此页面是否有帮助?

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