- 手动:准备安装
- 步骤 1:为离线安装配置符合 OCI 的注册表
- 步骤 2:配置外部对象存储
- 步骤 3:配置 Microsoft SQL Server
- 步骤 4:配置负载均衡器
- 步骤 5:配置 DNS
- 步骤 6:配置磁盘
- 步骤 7:配置节点端口
- 步骤 8:应用其他设置
- 步骤 10:验证并安装所需的 RPM 包
- 步骤 11:生成 cluster_config.json
- 证书配置
- 数据库配置
- 外部对象存储配置
- 预签名 URL 配置
- 外部 OCI 兼容注册表配置
- Disaster Recovery:主动/被动配置
- 特定于 Orchestrator 的配置
- Insights 特定配置
- Process Mining 特定配置
- 特定于 Document Understanding 的配置
- Automation Suite Robot 特定配置
- 监控配置
- 可选:配置代理服务器
- 可选:在多节点 HA 就绪生产集群中启用区域故障恢复
- 可选:传递自定义 resolv.conf
- 可选:提高容错能力
- install-uipath.sh 参数
- 为集群启用 Redis High Availability Add-on
- 添加具有 GPU 支持的专用代理节点
- 连接 Task Mining 应用程序
- 为 Task Mining 添加专用代理节点
- 为 Automation Suite Robot 添加专用代理节点
- 步骤 13:为离线安装配置临时 Docker 注册表
- 步骤 14:验证安装的先决条件
为 Automation Suite Robot 添加专用代理节点
要求
在开始安装 Automation Suite 机器人之前,请确保您满足硬件要求。
-
在单节点评估安装中,Automation Suite 机器人在主服务器节点上运行。 缓存的包存储在主节点的文件系统中,位于交互式安装程序自动配置的文件夹中。 在单节点评估安装中,为 Automation Suite 机器人添加专用代理节点是可选的。
注意:在单节点评估安装中,并发 Serverless 作业的数量的上限为 5 个。 -
在多节点 HA 就绪生产环境中,必须为 Automation Suite 机器人添加专用节点。有关专用节点必须满足的要求的详细信息,请参阅硬件和软件要求。
注意:在多节点 HA 就绪生产安装中,并发无服务器作业的最大数量由节点的资源(CPU/内存)决定。 - 包缓存至少需要 10GiB。
将 Automation Suite 代理节点添加到集群
以下部分说明了如何为 Automation Suite 机器人添加专用代理节点。
步骤 1:配置计算机
步骤 1.1:对磁盘进行分区
为确保磁盘分区正确,请参阅 中的说明。 请务必按照代理节点的步骤操作。
步骤 1.2:配置磁盘以进行包缓存
选项 A
如果在安装过程中启用了包缓存,则必须在主机文件系统上的 /uipath_asrobots_package_cache
位置或通过 cluster_config.json/packagecachefolder
配置的自定义路径配置一个文件夹。该文件夹必须至少有 10GiB 的可用空间,否则安装将失败。
选项 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 Robot 节点。确保使用特定于 Automation Suite Robot 节点的 用户名和 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 UNATTENDED_ACTION="accept_eula,download_bundle,extract_bundle,join_asrobots" ./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_asrobots" ./installUiPathAS.sh
步骤 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 机器人的安装。