UiPath Documentation
automation-suite
2023.10
false
Linux 版 Automation Suite 安装指南
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

准备新集群

通过从源集群生成和配置 cluster_config.json 文件,准备在 Automation Suite 中迁移的新集群。

准备 cluster_config.json 文件​

备注:

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

要准备 cluster_config.json 文件,请执行以下步骤:

  1. 通过运行以下命令之一,在源集群上生成 cluster_config.json 文件:
    1. 如果从 2023.10.0 之前的版本升级,请使用以下选项:
      • 选项 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.json
        cd /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.json
        cd /opt/UiPathAutomationSuite/{version}/installer
        
        ./configureUiPathAS.sh config get -o /opt/UiPathAutomationSuite/cluster_config.json
        
    2. 如果从 2023.10.0 或更高版本升级,请导航到最新的安装程序文件夹并运行以下命令,以生成配置文件:
      uipathctl manifest get-revision >> ./cluster_config.json
      uipathctl manifest get-revision >> ./cluster_config.json
      
    3. 如果选择了并行升级(单节点启动)模型,请在cluster_config.json文件中设置或编辑以下字段。
      {
                                      ....
                                      "profile": "default",
                                      "fault_tolerance": 0,
                                      ...
                                      }
      {
                                      ....
                                      "profile": "default",
                                      "fault_tolerance": 0,
                                      ...
                                      }
      
  2. 从源集群中复制 cluster_config.json 文件,并将其放置在目标集群中:
    scp cluster_config.json user@target_cluster_IP /foo/bar
    scp 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 16
      LC_CTYPE=C tr </dev/urandom -dc '!@#$%q_A-Z-a-z-0-9' | head -c 16
      
    • 您可以使用任何文本编辑器来修改 cluster_config.json 文件。
    • 可选外部对象存储:如果要更改外部对象存储的任何设置,请提供该外部对象存储。
    • 对于 Automation Suite 2023.10.9 或更高版本上的 Process Mining,建议对 Airflow 数据库使用 PostgreSQL。如果目标集群为 23.10.9 或更高版本,并且您需要最新版本的 Airflow,则需要为 Process Mining AutomationSuite_Airflow数据库引入一个 PostgreSQL 数据库,并在cluster_config.json中为其配置连接字符串。
重要提示:

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

  • 您必须为新的目标集群引入不同的 SQL 数据库。
  • 您必须为新的目标集群引入不同的外部对象存储桶。
备注:

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

安装新集群​

要在新的目标集群上安装基础架构和 Fabric,请按照准备和安装说明进行操作。

重要提示:

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

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

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新