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

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

正在下载 uipathctl

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

生成配置文件

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

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

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

  1. versions.json 文件移动到与 cluster_config.json相同的目录。您可以从 Automation Suite 安装文件夹中获取 versions.json
  2. 为已安装的产品提供新的连接字符串。
    • 要将还原的连接字符串提供给 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 orchesrator connection string>"
        },
        "sql_connection_str": "<restored orchesrator connection string>",   (added line)
        "enabled": true
      }"orchestrator": {
        "testautomation": {
          "enabled": true,
          "sql_connection_str": "<restored orchesrator connection string>"
        },
        "sql_connection_str": "<restored orchesrator 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 }
  3. 通过运行安装程序来更新 cluster_config.json 文件。
    • 如要仅迁移 Orchestrator,请运行以下命令:
      uipathctl manifest apply cluster_config.json --only orchestrator --versions versions.jsonuipathctl manifest apply cluster_config.json --only orchestrator --versions versions.json
    • 如要仅迁移 Insights,请运行以下命令:
      uipathctl manifest apply cluster_config.json --only insights --versions
              versions.jsonuipathctl manifest apply cluster_config.json --only insights --versions
              versions.json
  4. 重新映射 Insights 表格中的组织 ID。

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

此页面是否有帮助?

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