- 概述
- 要求
- 部署模板
- 手动:准备安装
- 手动:准备安装
- 步骤 2:为离线安装配置符合 OCI 的注册表
- 步骤 3:配置外部对象存储
- 步骤 4:配置 High Availability Add-on
- 步骤 5:配置 SQL 数据库
- 步骤 7:配置 DNS
- 步骤 8:配置磁盘
- 步骤 9:配置内核和操作系统级别设置
- 步骤 10:配置节点端口
- 步骤 11:应用其他设置
- 步骤 12:验证并安装所需的 RPM 包
- 步骤 13:生成 cluster_config.json
- Cluster_config.json 示例
- 常规配置
- 配置文件配置
- 证书配置
- 数据库配置
- 外部对象存储配置
- 预签名 URL 配置
- ArgoCD 配置
- Kerberos 身份验证配置
- 符合 OCI 的外部注册表配置
- Disaster Recovery:主动/被动和主动/主动配置
- High Availability Add-on 配置
- 特定于 Orchestrator 的配置
- Insights 特定配置
- Process Mining 特定配置
- Document Understanding 特定配置
- Automation Suite Robot 特定配置
- 监控配置
- 可选:配置代理服务器
- 可选:在多节点 HA 就绪生产集群中启用区域故障恢复
- 可选:传递自定义 resolv.conf
- 可选:提高容错能力
- 添加具有 GPU 支持的专用代理节点
- 为 Automation Suite Robot 添加专用代理节点
- 步骤 15:为离线安装配置临时 Docker 注册表
- 步骤 16:验证安装的先决条件
- 正在运行 uipathctl
- 手动:执行安装
- 手动:安装 Automation Suite
- Disaster Recovery - 安装辅助集群
- 安装后
- 集群管理
- 监控和警示
- 迁移和升级
- 特定于产品的配置
- 最佳实践和维护
- 故障排除
- 如何在安装过程中对服务进行故障排除
- 如何减少 NFS 备份目录的权限
- 如何卸载集群
- 如何清理离线工件以改善磁盘空间
- 如何清除 Redis 数据
- 如何启用 Istio 日志记录
- 如何手动清理日志
- 如何清理存储在 sf-logs 存储桶中的旧日志
- 如何禁用 AI Center 的流日志
- 如何对失败的 Automation Suite 安装进行调试
- 如何在升级后从旧安装程序中删除映像
- 如何禁用 TX 校验和卸载
- 如何手动将 ArgoCD 日志级别设置为 Info
- 如何扩展 AI Center 存储
- 如何为外部注册表生成已编码的 pull_secret_value
- 如何解决 TLS 1.2 中的弱密码问题
- 如何查看 TLS 版本
- 如何使用证书
- 如何计划 Ceph 备份和还原数据
- 如何使用集群内对象存储 (Ceph) 收集 DU 使用情况数据
- 如何在离线环境中安装 RKE2 SELinux
- 如何清理 NFS 服务器上的旧差异备份
- 如何在已启用 FIPS 的集群中部署 Insights
- 如何迁移到 cgroup v2
- 如何在虚拟机重新启动后恢复 Kerberos 身份验证
- 如何将本地 Docker 映像推送到集群内注册表
- 如何从备份中排除存储桶
- 无法获取沙盒映像
- Pod 未显示在 ArgoCD 用户界面中
- Redis 探测器失败
- RKE2 服务器无法启动
- 在 UiPath 命名空间中找不到密码
- ArgoCD 在首次安装后进入“进行中”状态
- 处于 CrashLoopBackOff 状态的 ArgoCD 存储库服务器 Pod
- 手动 ArgoCD 网络策略缓解措施 (MHSA-47m3-95c7-g2g8)
- 监控仪表板中缺少 Ceph-rook 指标
- 诊断性运行状况检查期间报告的错误不匹配
- 为 uipathctl 创建的工作负载配置资源请求和限制
- 无正常的上游问题
- 杀毒软件阻止了 Redis 启动
- 无法在启用 TLS 证书验证的情况下启动 AI Center 和 Document Understanding Pod
- Fluentd 不会在 IPv6 环境中导出日志
- Studio 桌面版无法加载 Integration Service 连接器和活动
- 运行诊断工具
- 使用 Automation Suite 支持捆绑包
- 探索日志
下表列出了必须执行 Automation Suite 安装的步骤:
| 步骤 | 单节点安装 | 多节点安装 | 精简模式 |
|---|---|---|---|
| 先决条件 | ✅ | ✅ | ✅ |
| 步骤 1:接受许可协议 | ✅ | ✅ | ✅ |
| 步骤 2:在第一台服务器计算机上安装基础架构 | ✅ | ✅ | ✅ |
| 步骤 3:在其他服务器计算机上安装基础架构 | ❌ | ✅ | ✅ |
| 步骤 4:在所有代理计算机上安装基础架构 | ❌ | ✅ | ✅ |
| 步骤 5:结合使用集群内注册表以进行离线安装 | ✅ | ✅ | ✅ |
| 步骤 6:完成安装 | ✅ | ✅ | ✅ |
先决条件
使用以下导出命令,将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=acceptexport LICENSE_AGREEMENT=accept -
选项 2(内联参数) - 将
--accept-license-agreement附加到每次执行uipathctl后。
步骤 2:在第一台服务器计算机上安装基础架构
要在第一台服务器计算机上安装基础架构,请导航到安装程序文件夹并运行以下命令:
cd /opt/UiPathAutomationSuite/<version>/installer
./bin/uipathctl rke2 install -i /opt/UiPathAutomationSuite/cluster_config.json -o ./output.json -k --accept-license-agreement
cd /opt/UiPathAutomationSuite/<version>/installer
./bin/uipathctl rke2 install -i /opt/UiPathAutomationSuite/cluster_config.json -o ./output.json -k --accept-license-agreement
-k参数会在第一台服务器计算机上安装基础架构。- 安装基础架构后,服务器计算机将成为 Automation Suite 集群中的节点。
步骤 3:在其他服务器计算机上安装基础架构
要扩展 Automation Suite 集群,请在其他服务器计算机上安装基础架构。
为此,请在所有其他服务器计算机上运行以下命令:
cd /opt/UiPathAutomationSuite/<version>/installer
./bin/uipathctl rke2 install -i /opt/UiPathAutomationSuite/cluster_config.json -o ./output.json -k -j server --accept-license-agreement
cd /opt/UiPathAutomationSuite/<version>/installer
./bin/uipathctl rke2 install -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
./bin/uipathctl rke2 install -i /opt/UiPathAutomationSuite/cluster_config.json -o ./output.json -k -j agent --accept-license-agreement
cd /opt/UiPathAutomationSuite/<version>/installer
./bin/uipathctl rke2 install -i /opt/UiPathAutomationSuite/cluster_config.json -o ./output.json -k -j agent --accept-license-agreement
-j服务器参数将计算机作为服务器节点添加到现有的 Automation Suite 集群。 cluster_config.json文件中的fixed_rke_address标志已与现有的 Automation Suite 集群相连。
步骤 5:结合使用集群内注册表以进行离线安装
仅当您使用集群内注册表进行离线安装时,才需要执行此步骤。
要从临时注册表为集群内注册表设定种子,请运行以下命令:
cd /opt/UiPathAutomationSuite/<version>/installer
./bin/uipathctl rke2 registry hydrate-registry /opt/UiPathAutomationSuite/cluster_config.json
cd /opt/UiPathAutomationSuite/<version>/installer
./bin/uipathctl rke2 registry hydrate-registry /opt/UiPathAutomationSuite/cluster_config.json
如果在运行上述命令时遇到内存问题,请将--serial选项与 validate-registry 命令一起使用,以防止出现内存不足问题:
./bin/uipathctl rke2 registry hydrate-registry /opt/UiPathAutomationSuite/cluster_config.json --serial
./bin/uipathctl rke2 registry hydrate-registry /opt/UiPathAutomationSuite/cluster_config.json --serial
如果您计划使用 Document Understanding 新式项目,请在安装 Document Understanding - 离线捆绑包后为dumodernexperience捆绑包种子。
如果您遇到注册表种子设定问题,请参阅“故障排除” 。
步骤 6:完成安装
此时,所有节点都应互连,以建立用于安装 Automation Suite 的基础架构。
要完成安装,请执行以下步骤:
-
通过运行以下命令,验证所有节点在第一个服务器节点上是否可用:
kubectl get nodeskubectl get nodes上述命令的输出应与下图所示的输出类似。请注意,节点总数必须与服务器节点和代理节点的总数相等。
-
通过运行以下命令,创建安装共享组件所需的先决条件:
./bin/uipathctl prereq create /opt/UiPathAutomationSuite/cluster_config.json --versions versions/helm-charts.json./bin/uipathctl prereq create /opt/UiPathAutomationSuite/cluster_config.json --versions versions/helm-charts.json这些主要是对象存储桶和 SQL 数据库。 如果在配置文件中设置了
sql.create_db key,则在 SQL Server 上创建安装所需的 SQL 数据库。 如果在配置文件中设置了object_storage.create_bucket键,则系统会在云提供程序中创建对象存储存储桶。 -
通过运行以下命令,验证共享组件安装所需的先决条件:
./bin/uipathctl prereq run /opt/UiPathAutomationSuite/cluster_config.json --versions versions/helm-charts.json./bin/uipathctl prereq run /opt/UiPathAutomationSuite/cluster_config.json --versions versions/helm-charts.json -
验证基础架构后,通过运行以下命令安装共享组件和服务:
./bin/uipathctl manifest apply /opt/UiPathAutomationSuite/cluster_config.json --versions ./versions/helm-charts.json./bin/uipathctl manifest apply /opt/UiPathAutomationSuite/cluster_config.json --versions ./versions/helm-charts.json