UiPath Documentation
automation-suite
2023.10
false
Linux 版 Automation Suite 安装指南
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

手动:安装 Automation Suite

单节点和多节点 Automation Suite 部署的手动安装步骤,包括 KUBCONFIG 和路径配置。

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

步骤单节点安装多节点安装
先决条件✅✅
步骤 1:接受许可协议✅✅
步骤 2:在第一台服务器计算机上安装基础架构✅✅
步骤 3:在其他服务器计算机上安装基础架构❌✅
步骤 4:在所有代理计算机上安装基础架构❌✅
步骤 5:完成安装✅✅

先决条件​

使用以下导出命令,将KUBECONFIG环境变量配置为指向 RKE2 Kubernetes 配置文件,并更新PATH环境变量以包含 RKE2 工具目录:

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

步骤 1:接受许可协议​

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

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

  • 选项 1(环境变量) - 通过运行以下命令将LICENSE_AGREEMENT环境变量设置为accept :

    export LICENSE_AGREEMENT=accept
    export 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-agreement
cd /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 的基础架构。要验证所有节点在第一个服务器节点上是否可用并完成安装,请运行以下命令:

kubectl get nodes
kubectl get nodes

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

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

./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

此页面有帮助吗?

连接

需要帮助? 支持(opens in new window)

想要了解详细内容? UiPath Academy(opens in new window)

有问题? UiPath 论坛(opens in new window)

保持更新