Automation Suite
2023.10
False
横幅背景图像
EKS/AKS 上的 Automation Suite 安装指南
上次更新日期 2024年5月20日

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

正在下载 uipathctl

要下载 uipathctl,请参阅下载安装包

生成配置文件

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

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

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

  1. versions.json 文件移动到与 input.json 相同的目录。您可以从 Automation Suite 安装文件夹中获取 versions.json
  2. 为已安装的产品提供新的连接字符串。
    • 要将还原的连接字符串提供给 Orchestrator 服务,请在 input.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 数据库中,您还可以在 input.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
      }
    • 要将还原的连接字符串提供给 Orchestrator 服务,请在 input.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. 通过运行安装程序来更新 input.json 文件。
    • 如要仅迁移 Orchestrator,请运行以下命令:
      uipathctl manifest apply input.json --only orchestrator --versions versions.jsonuipathctl manifest apply input.json --only orchestrator --versions versions.json
    • 如要仅迁移 Insights,请运行以下命令:
      uipathctl manifest apply input.json --only insights --versions
              versions.jsonuipathctl manifest apply input.json --only insights --versions
              versions.json
    备注:
    如果在 Windows 上运行该命令,请将命令中的 uipathctl 替换为 .\uipathctl.exe
  4. 重新映射 Insights 表格中的组织 ID。

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

删除 Orchestrator Pod

删除所有与 Orchestrator 相关的 Pod,然后等待系统自动创建新 Pod 以应用更改。您可以使用 Lens 或 OpenLens 来执行此任务。

docs image

此页面是否有帮助?

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