- 概述
- 要求
- 安装
- 安装后
- 迁移和升级
- 监控和警示
- 集群管理
- 特定于产品的配置
- 故障排除
安装 Automation Suite
此页面将引导您完成 Automation Suite 在 AKS 和 EKS 上的安装说明。
开始之前,请考虑以下事项:
- 在 AKS/EKS 上部署和管理 Automation Suite 时,需要具备 Kubernetes、AWS 和 Azure 云资源管理知识。如果您在 AKS/EKS 上安装和配置 Automation Suite 时遇到问题,请联系 UiPath™ 专业服务。
- Before choosing your deployment profile, see Deployment scenarios.
- The installation process generates self-signed certificates on your behalf. You should replace them with certificates signed by a trusted Certificate Authority (CA) as soon as installation completes. For instructions, see Managing the certificates.
- Automation Suite on AKS/EKS does not currently support Federal Information Processing Standard 140-2 (FIPS 140-2). If you require FIPS 140-2 for Automation Suite, you can deploy Automation Suite on FIPS 140-2-enabled RHEL machines. For details, see Security and compliance.
步骤 1:配置基础架构先决条件
在安装 Automation Suite 之前,您必须在环境中配置 Cloud 资源。 这包括:
- AKS 或 EKS 集群
- 对象存储 - Azure Blob 或 Amazon S3
- 块存储
- 文件存储
- 数据库
- 缓存
- 网络(例如 VNET/VPC、DNS、子网、NSG/安全组、NAT 网关、弹性 IP 和互联网网关)
- 证书
- 网络策略
For instructions on prerequisites, see Requirements.
可选:配置代理
If you use a proxy server for internet-facing traffic, you must allow a list of URLs and use the no_proxy settings while configuring the proxy. For instructions on how to configure your proxy, see Configuring the proxy.
步骤 2:在客户端计算机上下载软件
您必须在管理计算机上安装以下软件。管理计算机是指用于操作集群并且可以通过 kubeconfig 文件访问集群的计算机。您的管理计算机可以运行 Linux、Windows 或 MacOS。
要通过客户端计算机在集群上成功运行先决条件检查、安装和安装后步骤,需要以下工具。
| 工具 | 描述 | 下载 |
|---|---|---|
uipathctl | Required. uipathctl is a UiPath command-line tool that allows you to run commands against Automation Suite Kubernetes hosted on Azure Kubernetes Service (AKS) and Amazon Elastic Kubernetes Service (EKS).您可以使用 uipathctl检查环境中的先决条件,安装 Automation Suite,使用单个统一 CLI 进行配置和管理。 有关更多信息,包括uipathctl操作的完整列表,请参阅此处。 | 下载 uipathctl 运行 uipathctl |
versions.json | 必需。需要执行先决条件检查和安装步骤。 | |
kubectl | 可选。确保kubectl与集群的版本相符 |
步骤 3:配置 input.json
您必须编辑 input.json 文件,为 uipathctl 安装程序提供所需的输入,并执行操作,例如配置 SQL 连接字符串和要启用的 UiPath 服务。
We provide different input.json template files for AKS and EKS. For instructions on how to configure input.json, see Configuring input.json.
Optionally, you can bring your own components that are part of the Automation Suite stack. For details on the components, see Automation Suite on EKS/AKS stack. For details on how to configure the component you bring, see Bring your own components.
步骤 4:使用 uipathctl 访问集群
uipathctl 需要访问 KubeAPI 服务器才能执行集群级别的操作,例如部署、创建资源等。 为了访问 KubeAPI 服务器, uipathctl 使用 kubeconfig 文件,该文件包含访问集群所需的管理员级别凭据。 此文件必须位于本地(管理)计算机的 ~/.kube/config 文件夹(默认位置)中。
(可选)如果您担心将 kubeconfig 文件存储在默认位置,则可以在每次执行 uipathctl期间借助 --kubeconfig 标志为其提供 标志。
步骤 5:检查基础架构先决条件
先决条件检查可确保在开始安装 Automation Suite 之前正确配置了所需的 Cloud 基础架构,并且客户端计算机可以访问该基础架构。
安装程序可以代表您自动生成以下配置:
- 如果在
input.json文件中设置了sql.create_db键,则在 SQL Server 上安装所需的 SQL 数据库。 - Cloud 提供程序中所需的对象存储桶(如果在配置文件中设置了
external_object_storage.create_bucket键)。
要允许安装程序生成这些配置,请运行以下命令:
uipathctl prereq create input.json --versions versions.json
uipathctl prereq create input.json --versions versions.json
uipathctl prereq create 命令不会创建 Process Mining 所需的 SQL 数据库。您必须按照使用自己的数据库中的说明手动创建它们。
要根据您在 input.json中配置的输入检查先决条件,请运行以下命令:
uipathctl prereq run input.json --versions versions.json
uipathctl prereq run input.json --versions versions.json
To check the prerequisites for installation, run `` . By default, the command checks all the prerequisites. However, it also allows you to run strictly the checks that are relevant to you:
- 如果要从执行中排除组件,请使用
--excluded标志。例如,如果您不想检查数据库连接字符串,请运行uipathctl prereq --excluded SQL。该命令运行所有先决条件检查,与 SQL 相关的检查除外。 - 如果您只想在执行中包含某些组件,请使用
--included标志。例如,如果您只想检查 DNS 和对象存储,请运行uipathctl prereq --included DNS,OBJECTSTORAGE。
You can find the names of the components you can include or exclude from the prerequisite checks here. In the example, the first word on each outdented line represents the component name. For example: SQL, OBJECTSTORE, DNS, etc.
您可能会收到来自 AKS 的限制消息,例如“由于客户端限制(而非优先级和公平性),因此需等待 1.0447523 秒”。在这种情况下,请等待几分钟让命令完全完成,或尝试重新运行它。
For an output result example, see Output example: prerequisite check.
步骤 6:安装 Automation Suite
To see which deployment scenarios are available for Automation Suite on AKS/AKS, see Deployment scenarios.
-
成功验证先决条件后,您可以通过运行以下命令继续安装 Automation Suite :
uipathctl manifest apply input.json --versions versions.jsonuipathctl manifest apply input.json --versions versions.jsonFor an output example, see Output example: Automation Suite installation.
-
要重新运行安装,请使用与步骤 1 中相同的命令,并包含所有参数和标志。
-
要验证安装是否成功以及服务是否正常,请运行以下命令:
uipathctl health checkuipathctl health check
If you run into issues during installation, see Troubleshooting.