- 概述
- 要求
- 部署模板
- 手动:准备安装
- 手动:准备安装
- 步骤 2:为离线安装配置符合 OCI 的注册表
- 步骤 3:配置外部对象存储
- 步骤 4:配置 High Availability Add-on
- 步骤 5:配置 SQL 数据库
- 步骤 7:配置 DNS
- 步骤 8:配置磁盘
- 步骤 9:配置内核和操作系统级别设置
- 步骤 10:配置节点端口
- 步骤 11:应用其他设置
- 步骤 12:验证并安装所需的 RPM 包
- 步骤 13:生成 cluster_config.json
- Cluster_config.json 示例
- 常规配置
- 配置文件配置
- 证书配置
- 数据库配置
- 外部对象存储配置
- 预签名 URL 配置
- ArgoCD 配置
- Kerberos 身份验证配置
- 符合 OCI 的外部注册表配置
- Disaster Recovery:主动/被动和主动/主动配置
- High Availability Add-on 配置
- 特定于 Orchestrator 的配置
- Insights 特定配置
- Process Mining 特定配置
- Document Understanding 特定配置
- Automation Suite Robot 特定配置
- 监控配置
- 可选:配置代理服务器
- 可选:在多节点 HA 就绪生产集群中启用区域故障恢复
- 可选:传递自定义 resolv.conf
- 可选:提高容错能力
- 添加具有 GPU 支持的专用代理节点
- 为 Automation Suite Robot 添加专用代理节点
- 步骤 15:为离线安装配置临时 Docker 注册表
- 步骤 16:验证安装的先决条件
- 正在运行 uipathctl
- 手动:执行安装
- 安装后
- 集群管理
- 监控和警示
- 迁移和升级
- 特定于产品的配置
- 最佳实践和维护
- 故障排除
- 如何在安装过程中对服务进行故障排除
- 如何减少 NFS 备份目录的权限
- 如何卸载集群
- 如何清理离线工件以改善磁盘空间
- 如何清除 Redis 数据
- 如何启用 Istio 日志记录
- 如何手动清理日志
- 如何清理存储在 sf-logs 存储桶中的旧日志
- 如何禁用 AI Center 的流日志
- 如何对失败的 Automation Suite 安装进行调试
- 如何在升级后从旧安装程序中删除映像
- 如何禁用 TX 校验和卸载
- 如何手动将 ArgoCD 日志级别设置为 Info
- 如何扩展 AI Center 存储
- 如何为外部注册表生成已编码的 pull_secret_value
- 如何解决 TLS 1.2 中的弱密码问题
- 如何查看 TLS 版本
- 如何使用证书
- 如何计划 Ceph 备份和还原数据
- 如何使用集群内对象存储 (Ceph) 收集 DU 使用情况数据
- 如何在离线环境中安装 RKE2 SELinux
- 如何清理 NFS 服务器上的旧差异备份
- 如何在已启用 FIPS 的集群中部署 Insights
- 如何迁移到 cgroup v2
- 如何在虚拟机重新启动后恢复 Kerberos 身份验证
- 如何将本地 Docker 映像推送到集群内注册表
- 如何从备份中排除存储桶
- 无法获取沙盒映像
- Pod 未显示在 ArgoCD 用户界面中
- Redis 探测器失败
- RKE2 服务器无法启动
- 在 UiPath 命名空间中找不到密码
- ArgoCD 在首次安装后进入“进行中”状态
- 处于 CrashLoopBackOff 状态的 ArgoCD 存储库服务器 Pod
- 手动 ArgoCD 网络策略缓解措施 (MHSA-47m3-95c7-g2g8)
- 监控仪表板中缺少 Ceph-rook 指标
- 诊断性运行状况检查期间报告的错误不匹配
- 为 uipathctl 创建的工作负载配置资源请求和限制
- 无正常的上游问题
- 杀毒软件阻止了 Redis 启动
- 无法在启用 TLS 证书验证的情况下启动 AI Center 和 Document Understanding Pod
- Fluentd 不会在 IPv6 环境中导出日志
- Studio 桌面版无法加载 Integration Service 连接器和活动
- 运行诊断工具
- 使用 Automation Suite 支持捆绑包
- 探索日志
为 Automation Suite Robot 添加专用代理节点,以将机器人工作负载与其他集群服务分开。
要求
在开始安装 Automation Suite 机器人之前,请确保您满足硬件要求。
-
在单节点评估安装中,Automation Suite Robot 在主服务器节点上运行。缓存的包存储在主节点的文件系统中,位于交互式安装程序自动配置的文件夹中。在单节点评估安装中,为 Automation Suite Robot 添加专用代理节点是可选的。
备注:在单节点评估安装中,并发无服务器作业的数量限制为 5 个。
-
在多节点 HA 就绪生产环境中,必须为 Automation Suite 机器人添加专用节点。有关专用节点必须满足的要求的详细信息,请参阅硬件和软件要求。
备注:在多节点 HA 就绪生产安装中,并发 Serverless 作业的最大数量由节点的资源(CPU/内存)确定。
-
包缓存至少需要 10GB。
将 Automation Suite 代理节点添加到集群
以下部分说明了如何为 Automation Suite 机器人添加专用代理节点。
步骤 1:配置计算机
步骤 1.1:对磁盘进行分区
为确保磁盘已正确分区,请参阅配置磁盘。请确保按照代理节点的步骤操作。
步骤 1.2:配置磁盘以进行包缓存
选项 A
如果您在安装期间启用了包缓存,则必须在主机的文件系统上的/uipath_asrobots_package_cache位置或通过cluster_config.json/packagecachefolder配置的自定义路径配置一个文件夹。 该文件夹必须至少有 10GB 的可用空间,否则安装将失败。
选项 B
或者,您可以为configureUiPathDisks脚本配置单独的磁盘,该脚本可以配置磁盘和路径:
./bin/uipathctl rke2 disk --robot-package-disk-name [DISKNAME] --robot-package-path /uipath_asrobots_package_cache
./bin/uipathctl rke2 disk --robot-package-disk-name [DISKNAME] --robot-package-path /uipath_asrobots_package_cache
--robot-package-path参数是可选的。如果未设置,则参数默认为/uipath_asrobots_package_cache 。如果修改cluster_config.json/packagecachefolder的默认值,请确保传递给--robot-package-path参数的值与配置的值匹配。
步骤 1.3:为 Serverless Robot 配置节点
为 Serverless Robot 配置节点时,设置取决于将节点添加到集群的方式:
选项 A :添加专用 ASR 节点
如果将新节点作为专用 ASR 节点添加到集群,则系统会自动应用所需的标签和污点。运行以下命令:
./bin/uipathctl rke2 install -i ./cluster_config.json -o ./output.json -k -j asrobots --accept-license-agreement
./bin/uipathctl rke2 install -i ./cluster_config.json -o ./output.json -k -j asrobots --accept-license-agreement
该命令会自动添加以下内容:
- 污点:
serverless.robot=present:NoSchedule - 标签:
serverless.robot=true和serverless.daemon=true
选项 B :使用现有代理节点
如果要重新调整已配置的代理节点(默认情况下未配置为 ASR),则必须手动添加标签、污点并配置包缓存磁盘。运行以下命令以手动配置节点:
-
为 Serverless Robot 添加污点:
kubectl taint nodes [NODE_NAME] serverless.robot=present:NoSchedulekubectl taint nodes [NODE_NAME] serverless.robot=present:NoSchedule -
为 Serverless Robot 添加标签:
kubectl label nodes [NODE_NAME] serverless.robot=true serverless.daemon=truekubectl label nodes [NODE_NAME] serverless.robot=true serverless.daemon=true
步骤 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/
步骤 3:运行交互式安装程序以配置专用节点
要配置专用节点,请执行以下步骤:
-
通过 SSH 连接到 Automation Suite 机器人节点。
-
运行 Automation Suite 交互式安装程序。
sudo su - cd /opt/UiPathAutomationSuite yum install unzip jq -y CONFIG_PATH=/opt/UiPathAutomationSuite/cluster_config.json ./bin/uipathctl rke2 install -i ./cluster_config.json -o ./output.json -k -j asrobots --accept-license-agreementsudo su - cd /opt/UiPathAutomationSuite yum install unzip jq -y CONFIG_PATH=/opt/UiPathAutomationSuite/cluster_config.json ./bin/uipathctl rke2 install -i ./cluster_config.json -o ./output.json -k -j asrobots --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 机器人的安装。