UiPath Documentation
automation-suite
2023.4
false
Automation Suite on Linux installation guide

Adding a dedicated agent Node for Task Mining

Hardware requirements​

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.

After completing the Automation Suite installation, take the following steps to set up Task Mining.

Enable Task Mining on the Cluster​

If you already enabled Task Mining in the configuration during the main install, you can skip this step. If not, you need to enable AI Center and Task Mining by editing the configuration and rerunning the install.

Editing the Configuration​

You must enable aicenter and task_mining in the cluster_config.json configuration file when applying the advanced configuration.

cluster_config.json​

Task Mining config

{
    "aicenter": {
        "enabled": Boolean
    },
    "task_mining": {
        "enabled": Boolean
    }
}
{
    "aicenter": {
        "enabled": Boolean
    },
    "task_mining": {
        "enabled": Boolean
    }
}

Configuring a Dedicated Node for Task Mining​

Step One: Configure the Machine​

Follow the steps for configuring a server node to ensure the disk is partitioned correctly.

Step Two: Copy the Interactive Installation Wizard to the Target Machine for Installation​

For online installation​

SSH to the right machine:

  • If you added Task Mining to a single-node evaluation install, go to the machine and run this next step.
  • If you added Task Mining to a multi-node HA-ready production install, go to any of the server nodes.

Run the following command to copy the contents of the UiPathAutomationSuite folder to the Task Task Mining node (username and DNS are specific to the Task Mining node):

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/
For offline installation​

SSH to the primary installation node

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

Step Three: Run the Interactive Installer to Configure the Dedicated Node​

For online installation​

SSH to the Task Mining Node and run the following commands:

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
For offline installation​

Connect via SSH to the Task Mining dedicated node & install the platform bundle on it using the script below.

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

Step Four: Enabling Kubectl​

Run below command to set the kubectl context on taskmining machine

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

You should see the nodes and their corresponding names. You need the name of the Task Mining node for the next step.

Step Five: Verifying Task Mining Configuration​

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"

Above command should return you the following output

At this point, you have successfully completed the installation for Task Mining. Sign in to the Automation Suite Portal and enable it in the tenant management UX under the Admin section.

Configuring email​

You must configure system email notifications as Task Mining relies on the Automation Suite notification system to send emails.

Starting a Task Mining project​

For instructions on creating a Task Mining project, see the Task Mining documentation.

Configuring the Task Mining ML Model in AI Center​

Follow the steps for the given deployment type, online or offline.

Online and Offline Installations​

Before proceeding with the steps below, it is mandatory to start with following the steps from Uploading ML Packages.

After uploading the ML package, follow the listed steps:

  1. Access AI Center home page for your tenant and click on the Create Project button. This project can be named anything you want but we recommend matching it to the name of your Task Mining project.

  2. From the project, navigate to the ML Packages page and then choose Out of the box Packages

  3. Select the UiPath Task Mining package.

  4. Select TMAnalyzerModel and click Submit.

Note:

Please always select the latest version of the model packages.

  1. Name the package, choose the most recent package version, and click Submit to create a machine-learning deployment package.

Increasing secondary disk/Longhorn storage​

As Task Mining is a data-heavy application, we recommend an additional 1024 GB of storage to handle the screenshots and metadata collected during studies. After adding a secondary disk, you must resize the Longhorn storage to incorporate it.

Configuring a new disk in the cluster​

You can add the additional disk either pre- or post installation. If you add it post-installation, you must take additional steps to configure the new disk in the cluster.

Increasing storage capacity​

To increase the storage capacity after completing the installation, navigate to UiPathAutomationSuite folder and run the following command:

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

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated