UiPath Documentation
automation-suite
2021.10
false
Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

install-uipath.sh 参数

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

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

The install-uipath.sh installer is available in sf-installer.zip. For download instructions, see Downloading installation packages.

必需参数​

--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​

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

--skip-pre-reqs​

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

--install-standalone-aicenter​

仅安装独立的 AI Center 服务。

--one-time-manual-backup​

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

示例​

  • 使用在线安装方法在执行该组件的虚拟机上安装 Kubernetes 集群组件。

    install-uipath.sh -i ./input.json -o ./output.json -k --accept-license-agreement
    install-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-agreement
    install-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-agreement
    install-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-agreement
    install-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-prereqs
    install-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-agreement
    install-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-agreement
    install-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-reqs
    install-uipath.sh -i ./input.json -o ./output.json -k --accept-license-agreement --skip-pre-reqs
    

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新