Automation Suite
2023.10
False
横幅背景图像
Linux 版 Automation Suite 安装指南
上次更新日期 2024年4月19日

手动:安装 Automation Suite

下表列出了必须执行单节点和多节点安装的步骤:

步骤

单节点安装

多节点安装

步骤 1:接受许可协议

available

available

步骤 2:在第一台服务器计算机上安装基础架构

available

available

步骤 1:接受许可协议

在运行安装之前,请务必阅读许可证协议

要接受许可证协议,请选择以下方法之一:

  • 选项 1(环境变量) - 通过运行以下命令将 LICENSE_AGREEMENT 环境变量设置为 accept
    export LICENSE_AGREEMENT=acceptexport LICENSE_AGREEMENT=accept
  • 选项 2(内联参数) - 将 --accept-license-agreement 附加到 install-uipath.sh 的每次执行中。

步骤 2:在第一台服务器计算机上安装基础架构

要在第一台服务器计算机上安装基础架构,请导航到安装程序文件夹并运行以下命令:

cd /opt/UiPathAutomationSuite/<version>/installer

./install-uipath.sh -i /opt/UiPathAutomationSuite/cluster_config.json -o ./output.json -k --accept-license-agreementcd /opt/UiPathAutomationSuite/<version>/installer

./install-uipath.sh -i /opt/UiPathAutomationSuite/cluster_config.json -o ./output.json -k --accept-license-agreement
备注:
  • -k 参数会在第一台服务器计算机上安装基础架构。
  • 安装基础架构后,服务器计算机将成为 Automation Suite 集群中的节点。

步骤 3:在其他服务器计算机上安装基础架构

要扩展 Automation Suite 集群,请在其他服务器计算机上安装基础架构。

为此,请在所有其他服务器计算机上运行以下命令:

cd /opt/UiPathAutomationSuite/<version>/installer
 
 ./install-uipath.sh -i /opt/UiPathAutomationSuite/cluster_config.json -o ./output.json -k -j server --accept-license-agreement cd /opt/UiPathAutomationSuite/<version>/installer
 
 ./install-uipath.sh -i /opt/UiPathAutomationSuite/cluster_config.json -o ./output.json -k -j server --accept-license-agreement
注意:-j server 参数将计算机作为服务器节点添加到现有的 Automation Suite 集群。cluster_config.json 文件中的 fixed_rke_address 标志已与现有的 Automation Suite 集群相连。

步骤 4:在所有代理计算机上安装基础架构

如果您有其他代理计算机,则必须在这些计算机上安装基础架构,并将其作为代理节点添加到 Automation Suite 集群。

为此,请在所有代理计算机上运行以下命令:

cd /opt/UiPathAutomationSuite/<version>/installer
 
 ./install-uipath.sh -i /opt/UiPathAutomationSuite/cluster_config.json -o ./output.json -k -j agent --accept-license-agreement cd /opt/UiPathAutomationSuite/<version>/installer
 
 ./install-uipath.sh -i /opt/UiPathAutomationSuite/cluster_config.json -o ./output.json -k -j agent --accept-license-agreement
注意:-j agent 参数会将计算机作为代理节点添加到现有的 Automation Suite 集群中。cluster_config.json 文件中的 fixed_rke_address 标志用于连接现有的 Automation Suite 集群。

步骤 5:完成安装

此时,所有节点都应互连,以建立用于安装 Automation Suite 的基础架构。要验证所有节点在第一个服务器节点上是否可用并完成安装,请运行以下命令:

export KUBECONFIG=/etc/rancher/rke2/rke2.yaml 
export PATH=$PATH:/var/lib/rancher/rke2/bin 

kubectl get nodesexport KUBECONFIG=/etc/rancher/rke2/rke2.yaml 
export PATH=$PATH:/var/lib/rancher/rke2/bin 

kubectl get nodes

上述命令的输出应与下图所示的输出类似。请注意,节点总数必须与服务器节点和代理节点的总数相等。

docs image

验证基础架构后,通过运行以下命令安装结构和服务:

./install-uipath.sh -i /opt/UiPathAutomationSuite/cluster_config.json -o ./output.json -f -s --accept-license-agreement./install-uipath.sh -i /opt/UiPathAutomationSuite/cluster_config.json -o ./output.json -f -s --accept-license-agreement

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.