automation-suite
2023.10
false
EKS/AKS 上的 Automation Suite 安装指南
- 概述
- 要求
- 安装
- 安装后
- 迁移和升级
- 监控和警示
- 集群管理
- 特定于产品的配置
- 故障排除
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。
步骤 5:更新已迁移的产品连接字符串
使用 uipathctl 和 input.json 配置文件在 Automation Suite 中更新已迁移的产品连接字符串。
正在下载 uipathctl
要下载uipathctl ,请参阅下载安装包。
生成配置文件
要生成input.json配置文件,请执行以下步骤之一:
- 选项 A :生成最新的
input.json文件:uipathctl manifest get-revision | Out-File -Encoding ascii input.jsonuipathctl manifest get-revision | Out-File -Encoding ascii input.json - 选项 B :列出所有过去的
input.json文件,并确定您要选择的文件:uipathctl manifest list-revisionsuipathctl manifest list-revisions
替换连接字符串并开始安装
-
将
versions.json文件移动到与input.json相同的目录。 您可以从 Automation Suite 安装文件夹中获取versions.json。 -
为已安装的产品提供新的连接字符串。
- 要将已还原的连接字符串提供给 Orchestrator 服务,请在
sql_connection_strorchestrator文input.json件中的 下添加或更新 :"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 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 } - 如果测试自动化表未放置在独立的 Orchestrator 数据库中,则必须在
input.json的testautomation下添加或更新sql_connection_str:"testautomation": { "enabled": true, "sql_connection_str": "<restored test-automation connection string>", (added line) }"testautomation": { "enabled": true, "sql_connection_str": "<restored test-automation connection string>", (added line) } - 要将还原的连接字符串提供给 Insights 服务,请在
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 } - 要将还原的连接字符串提供给 Test Manager 服务,请在
input.json文件的test_manager下添加或更新sql_connection_str。"test_manager": { "sql_connection_str": "<restored test_manager connection string>", (added line) "enabled": true }"test_manager": { "sql_connection_str": "<restored test_manager connection string>", (added line) "enabled": true }
- 要将已还原的连接字符串提供给 Orchestrator 服务,请在
-
通过运行安装程序来更新
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 - 要仅迁移 Test Manager,请运行以下命令:
./bin/uipathctl manifest apply cluster_config.json --only test_manager --versions versions/helm-chart.json./bin/uipathctl manifest apply cluster_config.json --only test_manager --versions versions/helm-chart.json
备注:如果在 Windows 上运行该命令,请将命令中的
uipathctl替换为.\uipathctl.exe。 - 如要仅迁移 Orchestrator,请运行以下命令:
-
在 Insights 表中重新映射组织 ID。有关更多详细信息,请参阅重新映射组织 ID 。
-
运行 Test Manager 迁移脚本并提供必要的参数:
./testmanager_migrator.sh -k <encryption_key> -y./testmanager_migrator.sh -k <encryption_key> -y- 要迁移作为 Orchestrator 一部分的测试自动化模块,请运行以下命令:
./bin/uipathctl manifest apply cluster_config.json --only testautomation --versions versions/helm-chart.json./bin/uipathctl manifest apply cluster_config.json --only testautomation --versions versions/helm-chart.json
- 要迁移作为 Orchestrator 一部分的测试自动化模块,请运行以下命令: