automation-suite
2024.10
true
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Linux 版 Automation Suite 安装指南

上次更新日期 2025年5月30日

步骤 6:更新已迁移的产品连接字符串

正在下载 uipathctl

uipathctl包含在 as-installer.zip 安装包中。要下载 installer.zip,请参阅下载安装包

生成配置文件

要生成cluster_config.json配置文件,请执行以下步骤之一:

  • 选项 A :生成最新的cluster_config.json文件:
    ./bin/uipathctl manifest get-revision | Out-File -Encoding ascii cluster_config.json./bin/uipathctl manifest get-revision | Out-File -Encoding ascii cluster_config.json
  • 选项 B :列出所有过去的cluster_config.json文件,并确定您要选择的文件:
    ./bin/uipathctl manifest list-revisions./bin/uipathctl manifest list-revisions

替换连接字符串并开始安装

  1. 为已安装的产品提供新的连接字符串。
    • 要将还原的连接字符串提供给 Orchestrator 服务,请在cluster_config.json文件的orchestrator下添加或更新sql_connection_str
      "orchestrator": {
        "sql_connection_str": "<restored orchesrator connection string>",   (added line)
        "enabled": true
      }"orchestrator": {
        "sql_connection_str": "<restored orchesrator connection string>",   (added line)
        "enabled": true
      }
    • 如果将测试自动化表放置在独立的 Orchestrator 数据库中,您还可以在cluster_config.json文件中为测试自动化功能添加相同的连接字符串:

      "orchestrator": {
        "testautomation": {
          "enabled": true,
          "sql_connection_str": "<restored orchestrator connection string>"
        },
        "sql_connection_str": "<restored orchestrator connection string>",   (added line)
        "enabled": true
      }"orchestrator": {
        "testautomation": {
          "enabled": true,
          "sql_connection_str": "<restored orchestrator connection string>"
        },
        "sql_connection_str": "<restored orchestrator connection string>",   (added line)
        "enabled": true
      }
    • 要将还原的连接字符串提供给 Insights 服务,请在cluster_config.json文件的insights下添加或更新sql_connection_str
      "insights": {   
         "sql_connection_str": "<restored connection string>",   (added line)
         "enabled": true }"insights": {   
         "sql_connection_str": "<restored connection string>",   (added line)
         "enabled": true }
  2. 通过运行安装程序来更新cluster_config.json文件。
    • 如要仅迁移 Orchestrator,请运行以下命令:
      ./bin/uipathctl manifest apply cluster_config.json --only orchestrator --versions versions/helm-chart.json./bin/uipathctl manifest apply cluster_config.json --only orchestrator --versions versions/helm-chart.json
    • 如要仅迁移 Insights,请运行以下命令:
      ./bin/uipathctl manifest apply cluster_config.json --only insights --versions versions/helm-chart.json./bin/uipathctl manifest apply cluster_config.json --only insights --versions versions/helm-chart.json
  3. 重新映射 Insights 表格中的组织 ID。

    有关更多详细信息,请参阅重新映射组织 ID

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
© 2005-2025 UiPath。保留所有权利。