订阅

UiPath Automation Suite

UiPath Automation Suite 指南

验证单节点评估设置中的先决条件

在使用专用脚本安装 Automation Suite 之前,验证您的单节点评估环境是否满足要求。

在安装 Automation Suite 之前,最好验证安装先决条件和基础架构是否准备就绪。 在执行安装之前,您可以使用专用脚本评估环境并生成摘要。

使用脚本验证安装先决条件


下载脚本

📘

离线安装

对于离线安装,您必须在可访问互联网的计算机上执行此步骤,且此计算机可访问已部署 Automation Suite 的离线计算机。将文件从联机计算机复制到第一台目标计算机。

必备程序脚本与安装程序一起打包在名为sf-installer.zip的存档中,支持工具捆绑为sf-infra.tar.gz ,仅供离线使用。 您需要这些文件来生成有关计划安装 Automation Suite 的所有计算机的报告。

Installation typeFiles to download
Onlinesf-installer.zipMandatory. For download instructions, see sf-installer.zip.
Offlinesf-installer.zipMandatory. For download instructions, see sf-installer.zip.
sf-infra.tar.gzMandatory. For download instructions, see sf-infra.tar.gz.

准备使用脚本

  1. 通过运行以下命令成为根用户:
sudo su -
  1. 运行以下命令,将文件复制到/opt/UiPathAutomationSuite/{version}文件夹:
VERSION="" #add the version number you are trying to install. Ex: for 2022.4.0 Set VERSION="2022.4.0"

mkdir -p /opt/UiPathAutomationSuite/${VERSION}

# For below command replace the /path/to where actually the files are present.

cp /path/to/sf-installer.zip /opt/UiPathAutomationSuite/${VERSION}

# Additionally for offline, copy sf-infra.tar.gz as well to /opt/UiPathAutomationSuite/{VERSION} folder

cp /path/to/sf-infra.tar.gz /opt/UiPathAutomationSuite/${VERSION}

cd /opt/UiPathAutomationSuite/${VERSION}
  1. 通过运行以下命令解压缩包:
unzip sf-installer.zip -d installer
  1. 通过运行以下命令分配必要的权限并导航到脚本文件夹:
chmod -R 755 installer
cd installer

Script parameters

要查看帮助部分和支持的标志,请运行以下命令:

./validateUiPathASReadiness.sh --help
单击此处查看输出。
***************************************************************************************

validateUiPathASReadiness.sh Runs pre-install validation checks

Arguments:
 -i|--input                                             Specify cluster config json file
 -m|--machines                                          Comma separated IP address / hostnames of all the machines
 -n|--node-type                                         Possible values [server|agent|task-mining|gpu]. Defaults to server
 --install-type                                         Possible values [online|offline]. Defaults to online
 --install-standalone-aicenter                          Run checks for standalone aicenter service only
 --prereq-bundle </uipath/sf-infra.tar.gz>   Specify the path to the prereq bundle, only for offline installation
 --prereq-tmp-folder </uipath>                          Specify parent directory for the temporary install folder, only for offline installation
 -h|--help                                              Display help

***************************************************************************************

下表描述了运行脚本时可以使用的参数:

ParameterDescription
-i|--inputAccepts the cluster_config.json file as input. This file defines the parameters, settings, and preferences applied to the UiPath services deployed via Automation Suite. For details, see Advanced Installation Experience.

If you do not provide this file, the script will trigger the interactive experience to collect these inputs. The file will then be generated on your behalf.
-m|--machinesAccepts comma-separated IP address / hostnames of all the machines. This is required to check the connectivity between all the nodes on the required port.

The parameter is mandatory for multi-node HA-ready production installations. In addition to that, the parameter is also required if you plan to add a Task Mining or GPU node in a single-node evaluation cluster.
-n|--node-typeAccepts the type of the current node. Possible values are: server, agent, task-mining, and gpu.
The default value is server.
--install-typeAccepts the installation method: online or offline.
The default value is online.
--install-standalone-aicenterThis is a Boolean flag. Pass it if you plan to install standalone AI Center.
--prereq-bundleAccepts the absolute path where the sf-infra.tar.gz is located.
--prereq-tmp-folderAccepts the absolute path where sf-infra.tar.gz bundle will be temporarily extracted. If this path is not provided, the installer will select the /tmp folder.

 

验证单节点评估设置


 
在线

要验证单节点评估计算机,请运行以下命令:

./validateUiPathASReadiness.sh \
  --node-type server \ # replace server with task-mining, gpu if you wish to install.
  --install-type online

离线

要验证单节点计算机,请运行以下命令:

./validateUiPathASReadiness.sh \
  --node-type server \
  --install-type offline \
  --prereq-bundle ../sf-infra.tar.gz \ 
  --prereq-tmp-folder /opt/UiPathAutomationSuite/tmp

要验证 Task Mining 或 GPU 节点,请执行以下步骤:

  1. 将服务器计算机上生成的cluster_config.json文件复制到所有代理计算机:
scp /opt/UiPathAutomationSuite/cluster_config.json <username>@<node dns>:/opt/UiPathAutomationSuite

📘

备注:

如果由于权限错误而无法将文件复制到/opt/UiPathAutomationSuite文件夹,则可以将其临时复制到新计算机上的/var/tmp ,然后将其移动到/opt/UiPathAutomationSuite

或者,您也可以通过运行以下命令来提供对新计算机上/opt/UiPathAutomationSuite文件夹的完全访问权限 ( 777 ): chmod -R 777 /opt/UiPathAutomationSuite

  1. 要验证环境,请在代理计算机上运行以下命令:

📘

备注:

如果您在 Task Mining 或 GPU 节点上运行该命令,请将--node-type agent分别替换为--node-type task-mining--node-type gpu

在线

./validateUiPathASReadiness.sh \
  --input /opt/UiPathAutomationSuite/cluster_config.json \
  --node-type agent \ # replace agent with task-mining, gpu if you wish to install.
  --install-type online \ #replace with offline for airgap
  --machines "10.0.1.8, 10.0.1.9" #replace with actual machine IP of all the nodes in cluster

离线

./validateUiPathASReadiness.sh \
  --input /opt/UiPathAutomationSuite/cluster_config.json \
  --node-type agent \ # replace agent with task-mining, gpu if you wish to install.
  --install-type offline 
  --prereq-bundle ../sf-infra.tar.gz \ 
  --prereq-tmp-folder /opt/UiPathAutomationSuite/tmp \
  --machines "10.0.1.8, 10.0.1.9" #replace with actual machine IP of all the nodes in cluster

 

7 个月前更新


验证单节点评估设置中的先决条件


在使用专用脚本安装 Automation Suite 之前,验证您的单节点评估环境是否满足要求。

建议的编辑仅限用于 API 参考页面

您只能建议对 Markdown 正文内容进行编辑,而不能建议对 API 规范进行编辑。