UiPath Documentation
automation-suite
2021.10
false
Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

为 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 中。

aicentertask_mining 应在 cluster_config.json 中添加为已启用。

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 sf-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 ./sf-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 ./sf-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 &lt;node name&gt; 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 包后,请按照列出的步骤操作:

  1. 访问租户的 AI Center 主页,然后单击“创建项目”按钮。此项目可以任意命名,但我们建议您将其与 Task Mining 项目的名称相匹配。

  2. 从项目中导航至“ML 包”页面,然后选择“开箱即用的包”

  3. 选择“UiPath Task Mining”包。

  4. 选择“TMAnalyzerModel”,然后单击“提交”

备注:

请始终选择最新版模型包。

  1. 给包命名,选择最新版的包,然后单击“提交”,以创建机器学习部署包。

增加辅助磁盘/Longhorn 存储

由于 Task Mining 是一个数据量很大的应用程序,我们建议额外增加 1024 GB 的存储空间,以处理研究期间收集的屏幕截图和元数据。 添加辅助磁盘后,您必须调整 Longhorn 存储的大小以将其合并。

在集群中配置新磁盘

您可以在安装前或安装后添加其他磁盘。如果是在安装后添加,则必须执行其他步骤才能在集群中配置此新磁盘。

增加存储容量

要在完成安装后增加存储容量,请导航至 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

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新