- 概述
- 要求
- 安装
- 安装后
- 集群管理
- 监控和警示
- 迁移和升级
- 特定于产品的配置
- 最佳实践和维护
- 故障排除
- 无法获取沙盒映像
- Pod 未显示在 ArgoCD 用户界面中
- Redis 探测器失败
- RKE2 服务器无法启动
- 在 UiPath 命名空间中找不到密码
- 初始安装后,ArgoCD 应用程序进入“进行中”状态
- MongoDB Pod 处于 CrashLoopBackOff 状态或在删除后处于“等待 PVC 配置”状态
- 意外错误:不一致;手动运行 fsck
- 集群还原后 MongoDB 或业务应用程序降级
- 缺少 Self-heal-operator 和 Sf-k8-utils 存储库
- 集群还原或回滚后服务不正常
- RabbitMQ Pod 卡在 CrashLoopBackOff 中
- Prometheus 处于 CrashLoopBackoff 状态,并出现内存不足 (OOM) 错误
- 监控仪表板中缺少 Ceph-rook 指标
- Pod 无法在代理环境中与 FQDN 通信
- 使用 Automation Suite 诊断工具
- 使用 Automation Suite 支持捆绑包
- 探索日志
步骤 5:更新已迁移的产品连接字符串
生成 cluster_config.json 文件
生成最新的cluster_config.json文件,如下所示:
-
Option A: If you have the old
cluster_config.json, generate the configuration file from the cluster by running the following command on the server node:cd /opt/UiPathAutomationSuite/{version}/installer ./configureUiPathAS.sh config get -i /path/to/old/cluster_config.json -o ./cluster_config.jsoncd /opt/UiPathAutomationSuite/{version}/installer ./configureUiPathAS.sh config get -i /path/to/old/cluster_config.json -o ./cluster_config.json -
Option B: If you do not have the old
cluster_config.jsonfile, generate an override of any default values resulted during the installation of the previous version by running the following command on the server node:cd /opt/UiPathAutomationSuite/{version}/installer ./configureUiPathAS.sh config get -o ./cluster_config.jsoncd /opt/UiPathAutomationSuite/{version}/installer ./configureUiPathAS.sh config get -o ./cluster_config.json
For details on how to configure the cluster_config.json parameters, see Advanced installation experience.
步骤 5.2:为已安装的产品提供新的连接字符串
您必须提供已还原数据库的数据库连接字符串。
-
要将已还原的连接字符串提供给 Orchestrator 服务,请在
sql_connection_strorchestrator文cluster_config.json件中的 下添加或更新 :"orchestrator": { "sql_connection_str": "<dotnet connection string>", (added line) "enabled": true }"orchestrator": { "sql_connection_str": "<dotnet connection string>", (added line) "enabled": true } -
If Test Automation tables are placed inside the standalone Orchestrator database, you can add the same connection string for Test Automation feature inside the
cluster_config.jsonfile:"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 } -
要验证服务是否已成功迁移,请运行以下命令,其中
[service-name]是您要验证的服务:kubectl -n uipath get secret [service-name]-secrets -o jsonpath='{.data.sqlConnectionString}' | base64 --decodekubectl -n uipath get secret [service-name]-secrets -o jsonpath='{.data.sqlConnectionString}' | base64 --decode
Make sure you escape special characters in the connection string's password.
步骤 5.3:运行服务安装程序
在线
要在在线环境中运行服务安装程序,请在服务器节点上运行以下命令:
cd /opt/UiPathAutomationSuite/{version}/installer
./install-uipath.sh -i ./cluster_config.json -s -o output.json --accept-license-agreement
cd /opt/UiPathAutomationSuite/{version}/installer
./install-uipath.sh -i ./cluster_config.json -s -o output.json --accept-license-agreement
离线
要在离线环境中运行服务安装程序,请在服务器节点上使用以下命令:
cd /opt/UiPathAutomationSuite/{version}/installer
./install-uipath.sh -i ./cluster_config.json -s --install-type offline -o output.json --accept-license-agreement
cd /opt/UiPathAutomationSuite/{version}/installer
./install-uipath.sh -i ./cluster_config.json -s --install-type offline -o output.json --accept-license-agreement