Automation Suite
2022.4
False
横幅背景图像
Automation Suite 安装指南
上次更新日期 2024年4月24日

install-uipath.sh 参数

install-uipath.sh手动安装程序允许您自定义安装体验,而无需运行交互式安装程序 ( installUiPathAS.sh )。

虽然手动安装程序适用于高级方案,但部署模板和交互式安装程序仍是推荐的选项。

install-uipath.sh 安装程序位于 sf-installer.zip中。 有关下载说明,请参阅 下载安装包

必需参数

--input -i <string>

指定输入 .json 文件。
input.json refers to the cluster_config.json that defines the parameters, settings, and preferences applied to the UiPath® services deployed via Automation Suite. You need to update this file to change the defaults and use any advanced configuration for your cluster. For details, refer to Manual: Advanced installation experience.

--output -o <string>

指定输出 .json 文件。
output.json 指手动安装程序的输出文件。

可选参数

--install-kubernetes -k

安装 Kubernetes 集群。

--join-node -j <server|agent>

仅与 -k 一起使用。确定要加入现有集群的节点类型。支持以下值:<server|agent>

--install-fabric -f

安装结构组件。

--install-services -s

安装 UiPath 服务。

--install-all -a

按顺序运行所有安装程序。如果未明确选择安装,则隐含 –install-all

--install-type <online|offline>

指定安装类型。 默认为online 。 您不能将其与–offline-bundle online }。

--offline-bundle <string>

指定离线捆绑包的路径。表示安装方法为 tarball。

--offline-tmp-folder <string>

可与 --offline-bundle--optional-offline-bundle 一起使用的可选标志。指定临时离线安装文件夹的父目录。默认为 /tmp

--optional-offline-bundle <string>

指定可选离线捆绑包的路径。

--pre-reqs -p

检查先决条件。使用此标志时,不能传递其他标志。

--install-offline-prereqs

与 tarball 安装方法一起使用,执行所有必备程序的安装。

--skip-packages-install

在在线安装方法中跳过必备程序的安装。默认情况下,安装必备程序。

--upgrade -u

升级现有的 Automation Suite 集群。

--kubeconfig <string>

指定 kubeconfig 文件的路径。当缺少此标志时,它默认为 /etc/rancher/rke2/rke2.yaml

--backup -b

备份集群。

--restore -r

还原集群。

--restore-volume

还原卷。

--disable-backup

禁用备份。

在调试模式下运行。

显示帮助。

--accept-license-agreement

接受许可协议的必需标志。

安装 Cilium CNI(容器网络接口)以替换默认的 Canal。 仅在升级期间使用。 不能将其与任何安装标志一起使用。

--skip-pre-reqs

在安装期间跳过先决条件检查。

--install-standalone-aicenter

仅安装独立的 AI Center 服务。

--one-time-manual-backup

触发手动备份,并在完成后将其禁用。

-m|--machines <comma separated machine's IP>

指定要安装的目标计算机。 提供所有计算机的 IP 地址或主机名,以逗号分隔。

--compare-config

将当前配置文件与集群状态进行比较。 它将input.json文件与当前集群配置进行比较。

--skip-compare-config

跳过将当前配置与集群状态进行比较。

示例

  • 使用在线安装方法在执行该组件的虚拟机上安装 Kubernetes 集群组件。
    install-uipath.sh -i ./input.json -o ./output.json -k --accept-license-agreementinstall-uipath.sh -i ./input.json -o ./output.json -k --accept-license-agreement
  • 在执行组件的虚拟机上安装 Kubernetes 组件,并使用在线安装方法将其作为服务器加入现有集群。
    install-uipath.sh -i ./input.json -o ./output.json -k -j server --accept-license-agreementinstall-uipath.sh -i ./input.json -o ./output.json -k -j server --accept-license-agreement
  • 使用在线安装方法在当前虚拟机上执行完整安装。 包括 Kubernetes 集群组件、Fabric 和 Uipath 服务。
    install-uipath.sh -i ./input.json -o ./output.json -a --accept-license-agreementinstall-uipath.sh -i ./input.json -o ./output.json -a --accept-license-agreement
  • 使用在线安装方法在当前虚拟机上执行完整安装。这次,跳过必备程序安装。
    install-uipath.sh -i ./input.json -o ./output.json -a --skip-packages-install --accept-license-agreementinstall-uipath.sh -i ./input.json -o ./output.json -a --skip-packages-install --accept-license-agreement
  • 使用 tarball 安装方法执行 Kubernetes 集群安装。此外,将该节点加入现有集群并安装所有离线必备程序。
    install-uipath.sh -i ./input.json -o ./output.json -k -j agent --offline-bundle "/tmp/sf-infra.tar.gz" --accept-license-agreement --install-offline-prereqsinstall-uipath.sh -i ./input.json -o ./output.json -k -j agent --offline-bundle "/tmp/sf-infra.tar.gz" --accept-license-agreement --install-offline-prereqs
  • 使用离线安装方法安装结构和服务组件,无需提供临时文件夹。
    install-uipath.sh -i ./input.json -o ./output.json -f -s --offline-bundle "/tmp/sf-infra.tar.gz" --accept-license-agreementinstall-uipath.sh -i ./input.json -o ./output.json -f -s --offline-bundle "/tmp/sf-infra.tar.gz" --accept-license-agreement
  • 执行安装程序以进行离线安装,但不加载工件。
    install-uipath.sh -i ./input.json -o ./output.json --install-type offline -s --accept-license-agreementinstall-uipath.sh -i ./input.json -o ./output.json --install-type offline -s --accept-license-agreement
  • 跳过先决条件检查,执行安装程序
    install-uipath.sh -i ./input.json -o ./output.json -k --accept-license-agreement --skip-pre-reqsinstall-uipath.sh -i ./input.json -o ./output.json -k --accept-license-agreement --skip-pre-reqs

此页面是否有帮助?

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