- 概述
- 要求
- 安装
- 安装后
- 集群管理
- 监控和警示
- 迁移和升级
- 特定于产品的配置
- 最佳实践和维护
- 故障排除
- 无法获取沙盒映像
- Pod 未显示在 ArgoCD 用户界面中
- Redis 探测器失败
- RKE2 服务器无法启动
- 在 UiPath 命名空间中找不到密码
- 初始安装后,ArgoCD 应用程序进入“进行中”状态
- MongoDB Pod 处于 CrashLoopBackOff 状态或在删除后处于“等待 PVC 配置”状态
- 意外错误:不一致;手动运行 fsck
- 集群还原后 MongoDB 或业务应用程序降级
- 缺少 Self-heal-operator 和 Sf-k8-utils 存储库
- 集群还原或回滚后服务不正常
- RabbitMQ Pod 卡在 CrashLoopBackOff 中
- Prometheus 处于 CrashLoopBackoff 状态,并出现内存不足 (OOM) 错误
- 监控仪表板中缺少 Ceph-rook 指标
- Pod 无法在代理环境中与 FQDN 通信
- 使用 Automation Suite 诊断工具
- 使用 Automation Suite 支持捆绑包
- 探索日志
手动、在线:还原集群
在开始之前
-
Make sure you have followed the Prerequisites.
-
Make sure the backup is disabled on the backup cluster. Inconsistencies will occur if a new backup is created while restoring the cluster. See Manual: Disabling the backup on the cluster.
-
确保包 wget、unzip、jq 在所有还原节点上可用。
-
所有外部数据源都应相同 (SQL Server)。
-
在还原集群之前重新启动 NFS 服务器。 在 NFS 服务器节点上执行以下命令:
systemctl restart nfs-server。 -
还原集群必须具有与备份集群相同的 FQDN。
安装类型 配置说明 要求 在线单节点评估模式
下载以下文件:
sf-installer.zip– Mandatory. See sf-installer.zip for download instructions.
在线多节点 HA 就绪生产模式
下载以下文件:
sf-installer.zip– Mandatory. See sf-installer.zip for download instructions.
准备还原操作
如果集群中有多个节点,请在所有节点上执行以下步骤。
-
登录到任何计算机。
-
要为安装程序创建
/opt/UiPathAutomationSuite文件夹,请运行:# Become root sudo su - # Replace {version} with actual installer version mkdir -p /opt/UiPathAutomationSuite/{version}/installer chmod -R 777 /opt/UiPathAutomationSuite# Become root sudo su - # Replace {version} with actual installer version mkdir -p /opt/UiPathAutomationSuite/{version}/installer chmod -R 777 /opt/UiPathAutomationSuite -
要将
restore.json和其他安装程序文件复制到/opt/UiPathAutomationSuite/{version}文件夹,请运行:# Replace {version} with actual installer version cp /path/to/restore.json /opt/UiPathAutomationSuite/{version}/installer cp /path/to/sf-installer.zip /opt/UiPathAutomationSuite/{version}/installer# Replace {version} with actual installer version cp /path/to/restore.json /opt/UiPathAutomationSuite/{version}/installer cp /path/to/sf-installer.zip /opt/UiPathAutomationSuite/{version}/installer -
要解压缩
sf-installer.zip,请运行:# Navigate to installer folder. Replace {version} with actual installer version cd /opt/UiPathAutomationSuite/{version}/installer unzip sf-installer.zip -d .# Navigate to installer folder. Replace {version} with actual installer version cd /opt/UiPathAutomationSuite/{version}/installer unzip sf-installer.zip -d .
Restoring Etcd on the First Server Node
要在集群的第一个节点上还原 etcd,请运行:
./install-uipath.sh -i ../restore.json -o output.json -r --accept-license-agreement --install-type online
./install-uipath.sh -i ../restore.json -o output.json -r --accept-license-agreement --install-type online
此命令将还原第一个服务器节点上的节点配置。
在剩余的服务器节点上还原 Etcd
要在集群的其他节点上还原 etcd,请运行:
./install-uipath.sh -i ../restore.json -o output.json -r -j server --accept-license-agreement --install-type online
./install-uipath.sh -i ../restore.json -o output.json -r -j server --accept-license-agreement --install-type online
此命令将还原其余服务器节点上的节点配置。
在代理节点上还原 Etcd
要在集群的代理节点上还原 etcd,请运行:
./install-uipath.sh -i restore.json -o output.json -r -j agent --accept-license-agreement --install-type online
./install-uipath.sh -i restore.json -o output.json -r -j agent --accept-license-agreement --install-type online
此命令将还原其余代理节点上的节点配置。
在 Task Mining 节点上还原 Etcd
要在集群的 Task Mining 代理节点上还原 etcd,请运行:
./install-uipath.sh -i restore.json -o output.json -r -j task-mining --accept-license-agreement --install-type online
./install-uipath.sh -i restore.json -o output.json -r -j task-mining --accept-license-agreement --install-type online
此命令将还原 Task Mining 节点上的节点配置。
在 GPU 节点上还原 etcd
Before restoring the GPU machine, make sure you have followed Installing a GPU driver on the machine.
要在集群的 GPU 代理节点上还原 etcd,请运行:
./install-uipath.sh -i restore.json -o output.json -r -j gpu --accept-license-agreement --install-type online
./install-uipath.sh -i restore.json -o output.json -r -j gpu --accept-license-agreement --install-type online
此命令将还原 GPU 节点上的节点配置。
禁用维护模式
仅当还原是升级期间回滚操作的一部分时,才需要执行此步骤。
在还原卷之前,您需要禁用维护模式:
./configureUiPathAS.sh disable-maintenance-mode
./configureUiPathAS.sh disable-maintenance-mode
在任何服务器节点上运行卷还原
还原 etcd 后,通过运行以下命令还原任何服务器节点上的卷:
./install-uipath.sh -i restore.json -o output.json -r --volume-restore --accept-license-agreement --install-type online
./install-uipath.sh -i restore.json -o output.json -r --volume-restore --accept-license-agreement --install-type online
此命令将还原集群上的卷数据。
在还原的集群上启用 AI Center
After restoring an Automation Suite cluster with AI Center™ enabled, follow the steps from the Enabling AI Center on the Restored Cluster procedure.
正在还原 Cluster_config.json
在 Automation Suite 集群恢复后,您可能需要恢复cluster_config.json以供将来参考。 在向集群添加新节点、升级等时,您可能需要它。
要还原 cluster_config.json,请运行:
./configureUiPathAS.sh config get -o ./cluster_config.json
./configureUiPathAS.sh config get -o ./cluster_config.json
The backup is not enabled on the restored cluster. If you want to enable the backup, see Enabling the backup on the cluster.