- 概述
- 要求
- 安装
- 安装后
- 集群管理
- 监控和警示
- 迁移和升级
- 特定于产品的配置
- 最佳实践和维护
- 故障排除
- 无法获取沙盒映像
- Pod 未显示在 ArgoCD 用户界面中
- Redis 探测器失败
- RKE2 服务器无法启动
- 在 UiPath 命名空间中找不到密码
- ArgoCD 在首次安装后进入“进行中”状态
- 意外不一致;手动运行 fsck
- MongoDB Pod 处于 CrashLoopBackOff 状态或在删除后处于“等待 PVC 配置”状态
- MongoDB Pod 从 4.4.4-ent 升级到 5.0.7-ent 失败
- 集群还原或回滚后服务运行状况不佳
- Pod 在 Init:0/X 中卡住
- Prometheus 处于 CrashLoopBackoff 状态,并出现内存不足 (OOM) 错误
- 监控仪表板中缺少 Ceph-rook 指标
- Pod 无法在代理环境中与 FQDN 通信
- 使用 Automation Suite 诊断工具
- 使用 Automation Suite 支持捆绑包
- 探索日志
为 Automation Suite Robot 添加专用代理节点
要求
在开始安装 Automation Suite 机器人之前,请确保您满足硬件要求。
-
在单节点评估安装中,Automation Suite 机器人在主服务器节点上运行。 缓存的包存储在主节点的文件系统中,位于交互式安装程序自动配置的文件夹中。 在单节点评估安装中,为 Automation Suite 机器人添加专用代理节点是可选的。
备注:在单节点评估安装中,并发无服务器作业的数量限制为 5 个。
-
In a multi-node HA-ready production environment, adding a dedicated node for Automation Suite Robots is mandatory. For details on the requirements the dedicated node must meet, see Hardware and software requirements.
备注:在多节点 HA 就绪生产安装中,最大并发无服务器作业数由节点的资源(CPU/内存)决定。
-
包缓存至少需要 10GB。
将 Automation Suite 代理节点添加到集群
以下部分说明了如何为 Automation Suite 机器人添加专用代理节点。
步骤 1:配置计算机
步骤 1.1:对磁盘进行分区
To ensure the disk is partitioned correctly, see the instructions in Configuring the disk for a multi-node HA-ready production setup. Make sure to follow the steps for agent nodes.
步骤 1.2:配置磁盘以进行包缓存
选项 A
如果您在安装期间启用了包缓存,则必须在主机的文件系统上的/uipath_asrobots_package_cache位置或通过cluster_config.json/packagecachefolder配置的自定义路径配置一个文件夹。 该文件夹必须至少有 10GB 的可用空间,否则安装将失败。
选项 B
或者,您可以为configureUiPathDisks脚本配置单独的磁盘,该脚本可以配置磁盘和路径:
~/configureUiPathDisks.sh --node-type agent --robot-package-disk-name [DISKNAME] --robot-package-path [PATH]
~/configureUiPathDisks.sh --node-type agent --robot-package-disk-name [DISKNAME] --robot-package-path [PATH]
--robot-package-path参数是可选参数。 如果未设置,则参数默认为/uipath_asrobots_package_cache 。
如果您修改cluster_config.json/packagecachefolder的默认值,请确保传递给--robot-package-path参数的值与配置的值匹配。
步骤 2:将交互式安装程序复制到目标计算机
在线安装
要将交互式安装程序复制到在线安装的目标计算机,请执行以下步骤:
-
通过 SSH 连接到正确的计算机:
- 如果您已将 Automation Suite 机器人添加到单节点评估安装,请转到主机。
- 如果您已将 Automation Suite 机器人添加到多节点 HA 就绪生产安装,请转到任何服务器节点。
-
将
UiPathAutomationSuite文件夹的内容复制到 Automation Suite 机器人节点。 确保使用特定于 Automation Suite 机器人节点的用户名和 DNS。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/
Offline Installations
要在离线安装中将交互式安装程序复制到目标计算机,请执行以下步骤:
-
通过 SSH 连接到主安装节点。
-
Ensure that the
UiPathAutomationSuitedirectory contains thesf-infra.tar.gzfile. For download instructions, see sf-infra.tar.gz.scp -r ~/opt/UiPathAutomationSuite <username>@<node dns>:/var/tmpscp -r ~/opt/UiPathAutomationSuite <username>@<node dns>:/var/tmp
步骤 3:运行交互式安装程序以配置专用节点
在线安装
要在在线安装中配置专用节点,请执行以下步骤:
-
通过 SSH 连接到 Automation Suite 机器人节点。
-
运行 Automation Suite 交互式安装程序。
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_asrobots" ./installUiPathAS.shsudo 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_asrobots" ./installUiPathAS.sh
Offline Installations
要在离线安装中配置专用节点,请执行以下步骤:
-
通过 SSH 连接到 Automation Suite 机器人节点。
-
使用以下脚本安装平台捆绑包:
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 asrobots --offline-bundle ./as-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreementsudo 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 asrobots --offline-bundle ./as-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement
步骤 4:启用 kubectl
要在 Automation Suite 机器人计算机上设置 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
您应该会看到节点及其相应的名称。 在下一步中,您需要 Automation Suite 机器人节点的名称。
步骤 5:验证 Automation Suite Robot 配置
检查是否已配置 Automation Suite 机器人节点。 确保将<node name>替换为 Automation Suite 机器人节点名称。
kubectl describe node <node name> | grep -i "taints"
kubectl describe node <node name> | grep -i "taints"
该命令应返回以下输出:
$ kubectl describe node asrobots0 | grep -i "taints"
Taints: serverless.robot=present:NoSchedule
$ kubectl describe node asrobots0 | grep -i "taints"
Taints: serverless.robot=present:NoSchedule
至此,您已成功完成 Automation Suite 机器人的安装。