- 概述
- 要求
- 安装
- 安装后
- 集群管理
- 监控和警示
- 迁移和升级
- 特定于产品的配置
- 最佳实践和维护
- 故障排除
- 如何在安装过程中对服务进行故障排除
- 如何卸载集群
- 如何清理离线工件以改善磁盘空间
- 如何清除 Redis 数据
- 如何启用 Istio 日志记录
- 如何手动清理日志
- 如何清理存储在 sf-logs 存储桶中的旧日志
- 如何禁用 AI Center 的流日志
- 如何对失败的 Automation Suite 安装进行调试
- 如何在升级后从旧安装程序中删除映像
- 如何自动清理 Longhorn 快照
- 如何禁用 TX 校验和卸载
- 如何手动将 ArgoCD 日志级别设置为 Info
- 如何为外部注册表生成已编码的 pull_secret_value
- 如何解决 TLS 1.2 中的弱密码问题
- 如何使用证书
- 如何使用集群内对象存储 (Ceph) 收集 DU 使用情况数据
- 如何在离线环境中安装 RKE2 SELinux
- 如何清理 NFS 服务器上的旧差异备份
- 无法获取沙盒映像
- Pod 未显示在 ArgoCD 用户界面中
- Redis 探测器失败
- RKE2 服务器无法启动
- 在 UiPath 命名空间中找不到密码
- ArgoCD 在首次安装后进入“进行中”状态
- 访问 ArgoCD 只读帐户时出现问题
- MongoDB Pod 处于 CrashLoopBackOff 状态或在删除后处于“等待 PVC 配置”状态
- 集群还原或回滚后服务运行状况不佳
- Pod 在 Init:0/X 中卡住
- Prometheus 处于 CrashLoopBackoff 状态,并出现内存不足 (OOM) 错误
- 监控仪表板中缺少 Ceph-rook 指标
- Pod 无法在代理环境中与 FQDN 通信
- 无法配置升级后的电子邮件警示
- 无正常的上游问题
- 使用 Automation Suite 诊断工具
- 使用 Automation Suite 支持捆绑包
- 探索日志
Disaster Recovery - 安装辅助集群
要在主动/被动部署中安装辅助 Automation Suite 集群,请执行以下步骤。
- Generate or copy the
cluster_config.jsonfile from the primary Automation Suite cluster to one of the nodes identified as the server in the secondary Automation Suite cluster. For more details, see Generating or copying the cluster_config.json of the primary cluster. - 使用特定于辅助 Automation Suite 集群的参数更新
cluster_config.json文件。 - 继续安装 Automation Suite。
- 关闭不活动的产品。
生成或复制主集群的 cluster_config.json
生成新的 cluster_config.json 文件或从主集群复制该文件。
-
登录到任意服务器节点并成为根用户:
ssh <username>@<machine_ip> sudo su - export PATH=$PATH:/var/lib/rancher/rke2/bin export KUBECONFIG=/etc/rancher/rke2/rke2.yamlssh <username>@<machine_ip> sudo su - export PATH=$PATH:/var/lib/rancher/rke2/bin export KUBECONFIG=/etc/rancher/rke2/rke2.yaml -
如果没有
cluster_config.json文件,请生成此文件:./configureUiPathAS.sh config get -o /path/to/new/cluster_config.json./configureUiPathAS.sh config get -o /path/to/new/cluster_config.json -
将
cluster_config.json文件复制到辅助集群中的服务器节点:scp /path/to/new/cluster_config.json <username>@<primary_machine_ip>:<username>@<secondary_machine_ip>scp /path/to/new/cluster_config.json <username>@<primary_machine_ip>:<username>@<secondary_machine_ip>
更新 cluster_config.json
使用特定于辅助 Automation Suite 集群的参数更新 cluster_config.json 文件,具体操作步骤如下所示:
-
关闭不支持的产品。
将多站点中不支持的所有产品设置为
false。{ "test_manager": { "enabled": false }, "process_mining": { "enabled": false }, "automation_hub": { "enabled": false }, "insights": { "enabled": false } }{ "test_manager": { "enabled": false }, "process_mining": { "enabled": false }, "automation_hub": { "enabled": false }, "insights": { "enabled": false } } -
生成主集群的 kubeconfig。要访问辅助集群在主集群上完成的一些配置,这是必要操作。要获取具有与 Disaster Recovery 相关的有限权限的 kubeconfig 文件,请运行以下命令:
./configureUiPathAS.sh kubeconfig get --multisite./configureUiPathAS.sh kubeconfig get --multisite复制命令输出的值。在下一步中需要此值。
-
Update the
cluster_config.jsonfile with the parameters specific to the secondary cluster. For details, see Advanced installation experience. -
为
rke_token生成新的 GUID,以防止辅助集群加入主集群。为此,请运行以下命令:LC_CTYPE=C tr </dev/urandom -dc '!@#$%q_A-Z-a-z-0-9' | head -c 16LC_CTYPE=C tr </dev/urandom -dc '!@#$%q_A-Z-a-z-0-9' | head -c 16
Resuming the installation
在 cluster_config.json 中提供或修改上一步中的参数后,您可以按照文档中的后续步骤继续安装。
您必须使用install-uipath.sh安装程序执行 Automation Suite 安装。 这意味着您可以跳过默认安装说明,并按照高级安装步骤进行操作。
请注意,您不需要生成新的cluster_config.json 。
关闭不活动的产品
您可以使用以下命令缩小集群并关闭不活动的产品:
./configureUiPathAS.sh products scale-down
./configureUiPathAS.sh products scale-down