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

在线多节点 HA 就绪生产安装

本页说明如何使用多节点 HA 就绪生产设置执行在线 Automation Suite 安装。

概述​

重要提示:

You must meet the hardware and software prerequisites before proceeding with the installation. See Hardware and software requirements.

You can use a dedicated script to validate the installation prerequisites and infrastructure readiness. See Validating the prerequisites.

为了获得流畅的安装体验,请确保遵循我们的最佳实践。请参阅 。

这些步骤可帮助您在多台计算机上安装 Automation Suite。 此安装模式需要访问互联网。

安装流程包含以下一般步骤:

步骤描述
步骤 1:下载安装包您需要在计划部署 Automation Suite 的可访问互联网的计算机上执行此步骤。 安装包下载完成后,您可以继续执行后续步骤。

步骤 1:下载安装脚本并运行交互式安装程序
步骤 2:配置安装步骤 2.1:运行交互式安装程序以配置安装选项

该工具会收集最常见选项的输入,并生成配置文件。

步骤 2.1:默认配置

步骤 2.2:(可选)配置高级安装选项

默认安装配置包括供所有产品使用的共享 SQL Server。 要自定义已安装的产品或为特定产品使用单独的 SQL Server,请编辑配置文件。

步骤 2.2:(可选)高级配置
Step 3: Complete the installationStep 3: You have completed the installation successfully and can move to post-installation steps.

您现在可以访问新创建的集群和套件、更新证书、调整 PVC 大小等。

步骤 3:完成安装
重要提示:

RHEL 内核版本 kernel-4.18.0-477.10.1.el8_8 受到中断 Automation Suite 集群安装或管理的问题的影响。请确保在安装前或安装后,没有 Automation Suite 节点使用此内核版本。您可以通过运行以下命令来更新内核版本:

dnf install -y kernel kernel-tools kernel-tools-libs
dnf install -y kernel kernel-tools kernel-tools-libs

步骤 1:下载安装脚本并运行交互式安装程序​

您必须在将要部署 Automation Suite 并且可访问互联网的计算机上执行此步骤。在完成这些下载后,您可以继续执行后续步骤。

备注:

Automation Suite 安装程序是多个包的包装器,它还使用 Red Hat 包管理器 (RPM) 安装一些依赖项。它提供交互式体验,可帮助您配置外部资源,例如 SQL 和其他安装选项。

要将交互式安装程序复制到目标计算机,请执行以下步骤:

  1. 使用 SSH 连接到第一台计算机。

    • 如果设置了密码,则命令如下:

      ssh <user>@<dns_of_vm>
      ssh <user>@<dns_of_vm>
      
    • 如果您使用了 SSH 密钥,则命令如下:

      ssh -i <path/to/Key.pem> <user>@<dns_of_vm>
      ssh -i <path/to/Key.pem> <user>@<dns_of_vm>
      
  2. 成为根用户。

    sudo su -
    sudo su -
    
  3. 移至主目录:

    cd ~
    cd ~
    
  4. Download the installUiPathAS.sh installer. For instructions, see installUiPathAS.sh. Make sure to download the package suitable for your Automation Suite version.

  5. 安装 unzip 和 jq。

    yum install unzip jq -y
    yum install unzip jq -y
    

Step 2: Configuring the installation​

仅在第一台服务器上运行安装程序。

chmod +x ~/installUiPathAS.sh
./installUiPathAS.sh
chmod +x ~/installUiPathAS.sh
./installUiPathAS.sh

步骤 2.1:默认配置​

运行交互式安装程序以配置安装选项。 该工具会收集最常见安装选项的输入,并生成配置文件。 默认情况下启用高可用性,但您可以使用高级配置将其禁用。

要安装 Automation Suite,请执行以下步骤:

  1. 启动交互式安装程序。

  2. 接受许可协议以继续安装。

  3. In Main Menu, select your deployment mode. Choose Multi-node deployment (recommended for production use) and confirm your selection.

  4. 在“部署配置” 中,选择您的环境类型。 选择“在线” 。

  5. 选择您的产品选择。您的选项包括:

    • 完成(所有产品)
    • 选择产品

    For details on the product selection options, see Hardware and software requirements.

  6. If you chose Select products in the previous step, indicate the products you want to install. Your options are:

    • Action Center
    • AI Center
    • Apps
    • Automation Hub
    • Automation Ops
    • Automation Suite 机器人
    • Data Service
    • Document Understanding
    • Insights
    • Orchestrator
    • Process Mining
    • Task Mining
    • Test Manager
    备注:

    Some Automation Suite products have additional dependencies on each other. When selecting the products you want to install, make sure you consider Cross-products dependencies. Trying to install a product without its dependencies would result in an error.

    除此之外,Task Mining 和 Automation Suite 机器人在多节点设置中还需要一个额外的代理节点。 还建议将具有 GPU 支持的其他代理节点用于 Document Understanding。 有关详细信息,请参阅:

  7. 要安装AI Center ,您必须执行其他步骤:

    1. 指定 AI Center 是否需要外部 Orchestrator。

      • 如果 AI Center 需要外部 Orchestrator,请继续执行步骤 8。
      • 如果 AI Center 需要外部 Orchestrator,请继续执行步骤 7.b。
    2. Copy the Orchestrator certificate to the virtual machine. For more information on this, check the Copy the Orchestrator certificate page.

    3. 指定 AI Center 的 Orchestrator URL。示例:https://orchestrator.example.com。

    4. 指定 AI Center 的身份 URL。示例:https://orchestrator.example.com/identity。

    5. 指定 Orchestrator 证书文件的路径。示例:/opt/UiPathAutomationSuite/UiPath_Installer/orch.cer。

    6. 指定身份证书文件的路径。示例:/opt/UiPathAutomationSuite/UiPath_Installer/identity.cer。

    7. 指定计量 API 密钥。

      备注:
      • metering_api_key是 AI Center 云帐户中的 Document Understanding API 密钥。
      • To complete the AI Center installation, follow the step from the Completing the installation section.
  8. 确认您的产品选择,以确定最低硬件和软件要求。

  9. 输入 Automation Suite FQDN。

  10. Specify whether you would like to bring your own object store for the selected products. If you select No, you opt for the default object store. If you select Yes, choose one of the following options:

    • Azure 存储帐户– 指明是否要将基于托管身份的托管标识与 Azure 存储帐户一起使用,提供与您的选择相对应的以下详细信息,然后指定是否要为所有选定产品自动配置容器:
      • If Yes, provide the Azure storage account name and endpoint suffix, and your client ID;
      • 如果为“否” ,请提供 Azure 存储帐户名称和端点后缀,以及您的 Azure 帐户密钥;
    • AWS S3 – Provide the prefix and suffix for the bucket names, the AWS region where buckets are hosted, the access key and the secret key for the S3 account, and specify if you want the buckets to be automatically provisioned for all the selected products.
    • Other S3 Compatible storage – Specify the prefix and suffix for the bucket names, the S3 server FQDN, the S3 port, the access key and the secret key for the S3 account, and specify if you want the buckets to be automatically provisioned for all the selected products.
    备注:

    许多 S3 对象存储要求将 CORS 设置为来自 Automation Suite 集群的所有流量。您必须在对象存储级别配置 CORS 策略,以允许使用集群的 FQDN。

  11. 指定是否要对 SQL 连接使用 Kerberos 身份验证。

  12. 输入 SQL Server FQDN。 按照提示输入连接端口、用户名和密码。

    备注:

    如果您安装 Process Mining,则建议使用第二个 SQL Server。 确保提供仓库 SQL Server URL、连接提示、用户名和密码。

    For details on the hardware requirements the second SQL Server must meet, see SQL requirements for Process Mining.

  13. 指定是否要让安装程序自动创建必要的数据库。

  14. 为需要安全 TLS 通信的任何外部服务器软件提供 CA 证书,否则安装将失败。 如果未启用 TLS 通信,则可以在安装后配置证书。

    备注:

    安装程序仅接受 PEM 格式的 Base64 编码 DER 证书。如果外部服务器具有不同的 CA,则可以将所有公共证书连接到一个文件中。

  15. 定义配置参数后,安装程序会自动生成配置文件。您可以直接在终端中编辑配置参数。

    备注:

    现在,您可以直接在 UiPathAutomationSuite 文件夹中编辑高级配置设置的 cluster_config.json。编辑配置文件后,您需要重新运行交互式安装程序以完成安装或手动完成安装。

    对于 Disaster recovery - 主动/被动部署,您现在必须执行以下步骤:

    1. Install and configure the primary cluster. For details, see Advanced installation experience.
    2. Install and configure the secondary cluster. For details, see Disaster recovery - Installing the secondary cluster.
    3. 按照此页面上的说明继续安装。
  16. 等待该流程完成。 此时,您应该已设置第一个节点。

  17. 要继续进行多节点 HA 就绪生产安装,请按顺序在终端中的所有节点上运行交互式安装程序提供的命令,并为要加入的每个节点指定代理或服务器。

    You can also add additional nodes post-installation. For details, see Adding a new node to the cluster.

    重要提示:

    执行 Automation Suite 2023.4.0 的交互式安装时,要求您对辅助节点运行下一个命令的消息包含空令牌。要继续安装,您必须通过运行 kubectl create token default 来生成新令牌,然后再对辅助节点执行该命令。

  18. 加入所有计算机后,在第一台服务器上运行以下命令以完成服务的安装:

    备注:

    在安装过程结束时,系统会提示您提供部署摘要,您可以在其中访问集群管理门户、主机门户、组织管理界面、Rancher、ArgoCD 等。

步骤 2.2:(可选)高级配置​

此步骤是可选的。

您可以配置文件以进行更高级的配置。您可以启用其他产品、禁用任何默认产品、配置 SQL DB 及其各自的连接字符串以及证书。对于多节点 HA 就绪生产模式,我们默认启用高可用性,您可以根据需要将其禁用。

For advanced configuration, you can follow the following instructions: Advanced installation experience.

备注:

If you exit the interactive installer and perform advanced configuration, you need to re-run the interactive installer to complete the process.

步骤 3:完成安装​

备注:

您已成功完成安装,现在可以转到安装后步骤。

更新证书​

安装流程会代表您生成自签名证书。这些证书符合 FIPS 140-2。您也可以通过 Azure 部署模板,选择在安装时提供由 CA 颁发的服务器证书,而不是使用自动生成的自签名证书。

自签名证书将在 90 天后过期,安装完成后,您必须将其替换为由受信任的 CA 签名的证书。如果不更新证书,安装将在 90 天后停止工作。

如果您在启用 FIPS 140-2 的主机上安装了 Automation Suite,并想要更新证书,请确保它们与 FIPS 140-2 兼容。

For instructions, see Managing certificates.

访问 Automation Suite​

To access the newly created cluster and suite, see Accessing Automation Suite.

此页面有帮助吗?

连接

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

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

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

保持更新