- 概述
- 要求
- 安装
- 安装后
- 集群管理
- 监控和警示
- 迁移和升级
- 特定于产品的配置
- 最佳实践和维护
- 故障排除
- 如何在安装过程中对服务进行故障排除
- 如何卸载集群
- 如何清理离线工件以改善磁盘空间
- 如何清除 Redis 数据
- 如何启用 Istio 日志记录
- 如何手动清理日志
- 如何清理存储在 sf-logs 存储桶中的旧日志
- 如何禁用 AI Center 的流日志
- 如何对失败的 Automation Suite 安装进行调试
- 如何在升级后从旧安装程序中删除映像
- 如何自动清理 Longhorn 快照
- 如何禁用 TX 校验和卸载
- 如何手动将 ArgoCD 日志级别设置为 Info
- 如何为外部注册表生成已编码的 pull_secret_value
- 如何解决 TLS 1.2 中的弱密码问题
- 如何使用证书
- 如何使用集群内对象存储 (Ceph) 收集 DU 使用情况数据
- 如何在离线环境中安装 RKE2 SELinux
- 如何清理 NFS 服务器上的旧差异备份
- 无法获取沙盒映像
- Pod 未显示在 ArgoCD 用户界面中
- Redis 探测器失败
- RKE2 服务器无法启动
- 在 UiPath 命名空间中找不到密码
- ArgoCD 在首次安装后进入“进行中”状态
- 访问 ArgoCD 只读帐户时出现问题
- MongoDB Pod 处于 CrashLoopBackOff 状态或在删除后处于“等待 PVC 配置”状态
- 集群还原或回滚后服务运行状况不佳
- Pod 在 Init:0/X 中卡住
- Prometheus 处于 CrashLoopBackoff 状态,并出现内存不足 (OOM) 错误
- 监控仪表板中缺少 Ceph-rook 指标
- Pod 无法在代理环境中与 FQDN 通信
- 无法配置升级后的电子邮件警示
- 无正常的上游问题
- 使用 Automation Suite 诊断工具
- 使用 Automation Suite 支持捆绑包
- 探索日志
为 Task Mining 添加专用代理节点
硬件要求
Before starting the Task Mining installation, make sure to check the Hardware requirements. Task Mining has a dependency on AI Center; therefore, to use Task Mining, you must also install AI Center.
完成 Automation Suite 安装后,请执行以下步骤设置 Task Mining。
在集群上启用 Task Mining
如果您在主安装期间已在配置中启用 Task Mining,则可以跳过此步骤。如果没有,您需要通过编辑配置并重新运行安装来启用 AI Center 和 Task Mining。
编辑配置
应用高级配置时,您必须在 cluster_config.json 配置文件中启用 aicenter 和 task_mining。
cluster_config.json
Task Mining 配置
{
"aicenter": {
"enabled": Boolean
},
"task_mining": {
"enabled": Boolean
}
}
{
"aicenter": {
"enabled": Boolean
},
"task_mining": {
"enabled": Boolean
}
}
为 Task Mining 配置专用节点
第一步:配置计算机
Follow the steps for configuring a server node to ensure the disk is partitioned correctly.
第二步:将交互式安装向导复制到目标计算机以进行安装
在线安装
通过 SSH 连接到正确的计算机:
- 如果您已将 Task Mining 添加到单节点评估安装中,请转到计算机并运行下一步。
- 如果您已将 Task Mining 添加到多节点 HA 生产就绪安装中,请转到任意服务器节点。
运行以下命令,将 UiPathAutomationSuite 文件夹的内容复制到 Task Mining 节点(用户名和 DNS 特定于 Task Mining 节点):
sudo su -
scp -r /opt/UiPathAutomationSuite <username>@<node dns>:/opt/
scp -r ~/* <username>@<node dns>:/opt/UiPathAutomationSuite/
sudo su -
scp -r /opt/UiPathAutomationSuite <username>@<node dns>:/opt/
scp -r ~/* <username>@<node dns>:/opt/UiPathAutomationSuite/
离线安装
通过 SSH 连接到主安装节点
Ensure that the UiPathAutomationSuite directory contains as-infra.tar.gz file ( is a part of the installation package download step )
scp -r ~/opt/UiPathAutomationSuite <username>@<node dns>:/var/tmp
scp -r ~/opt/UiPathAutomationSuite <username>@<node dns>:/var/tmp
第三步:运行交互式安装程序以配置专用节点
在线安装
通过 SSH 连接到 Task Mining 节点并运行以下命令:
sudo su -
cd /opt/UiPathAutomationSuite
yum install unzip jq -y
CONFIG_PATH=/opt/UiPathAutomationSuite/cluster_config.json
UNATTENDED_ACTION="accept_eula,download_bundle,extract_bundle,join_task_mining" ./installUiPathAS.sh
sudo su -
cd /opt/UiPathAutomationSuite
yum install unzip jq -y
CONFIG_PATH=/opt/UiPathAutomationSuite/cluster_config.json
UNATTENDED_ACTION="accept_eula,download_bundle,extract_bundle,join_task_mining" ./installUiPathAS.sh
离线安装
通过 SSH 连接到 Task Mining 专用节点,并使用以下脚本在其上安装平台捆绑包。
sudo su
mv /var/tmp/UiPathAutomationSuite /opt
cd /opt/UiPathAutomationSuite
sudo chmod -R 755 /opt/UiPathAutomationSuite
sudo ./install-uipath.sh -i ./cluster_config.json -o ./output.json -k -j task-mining --offline-bundle ./as-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement
sudo su
mv /var/tmp/UiPathAutomationSuite /opt
cd /opt/UiPathAutomationSuite
sudo chmod -R 755 /opt/UiPathAutomationSuite
sudo ./install-uipath.sh -i ./cluster_config.json -o ./output.json -k -j task-mining --offline-bundle ./as-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement
第四步:启用 kubectl
运行以下命令,以在 Taskmining 计算机上设置 kubectl 上下文
sudo su -
export KUBECONFIG=/var/lib/rancher/rke2/agent/kubelet.kubeconfig
export PATH=$PATH:/var/lib/rancher/rke2/bin
kubectl get nodes
sudo su -
export KUBECONFIG=/var/lib/rancher/rke2/agent/kubelet.kubeconfig
export PATH=$PATH:/var/lib/rancher/rke2/bin
kubectl get nodes
您应该会看到节点及其相应的名称。下一步需要 Task Mining 节点的名称。
步骤 5:验证 Task Mining 配置
Finally, run the following command to check if the Task Mining node is configured. Please update the <node name> with Task Mining node name in below command.
kubectl describe node <node name> | grep -i "taints"
kubectl describe node <node name> | grep -i "taints"
上面的命令应返回以下输出
此时,您已成功完成 Task Mining 的安装。登录到 Automation Suite 门户,并在租户管理用户体验的“管理员”部分下启用它。
配置电子邮件
请务必配置系统电子邮件通知,因为 Task Mining 依赖于 Automation Suite 通知系统来发送电子邮件。
开始 Task Mining 项目
有关创建 Task Mining 项目的说明,请参阅 Task Mining 文档。
在 AI Center 中配置 Task Mining ML 模型
请按照给定部署类型的在线或离线步骤操作。
在线安装和离线安装
Before proceeding with the steps below, it is mandatory to start with following the steps from Uploading ML Packages.
上传 ML 包后,请按照列出的步骤操作:
-
访问租户的 AI Center 主页,然后单击“创建项目”按钮。此项目可以任意命名,但我们建议您将其与 Task Mining 项目的名称相匹配。
-
从项目中导航至“ML 包”页面,然后选择“开箱即用的包”
-
选择“UiPath Task Mining”包。
-
选择“TMAnalyzerModel”,然后单击“提交”。
请始终选择最新版模型包。
- 给包命名,选择最新版的包,然后单击“提交”,以创建机器学习部署包。
增加辅助磁盘/Longhorn 存储
由于 Task Mining 是一个数据量很大的应用程序,我们建议额外增加 1024 GB 的存储空间,以处理研究期间收集的屏幕截图和元数据。 添加辅助磁盘后,您必须调整 Longhorn 存储的大小以将其合并。
在集群中配置新磁盘
您可以在安装前或安装后添加其他磁盘。如果是在安装后添加,则必须执行其他步骤才能在集群中配置此新磁盘。
For details, see Configuring new data disk in the cluster.
增加存储容量
要在完成安装后增加存储容量,请导航至 UiPathAutomationSuite 文件夹并运行以下命令:
sudo su -
cd /opt/UiPathAutomationSuite
sudo ./configureUiPathAS.sh objectstore resize-pvc --size 1000Gi --sub-component data
sudo su -
cd /opt/UiPathAutomationSuite
sudo ./configureUiPathAS.sh objectstore resize-pvc --size 1000Gi --sub-component data