- 概述
- 要求
- 安装
- 安装后
- 集群管理
- 监控和警示
- 迁移和升级
- 特定于产品的配置
- 最佳实践和维护
- 故障排除
- 无法获取沙盒映像
- 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 meet the Prerequisites.
-
Make sure the backup is disabled on the backup cluster. Inconsistencies will occurs if a new backup is created while cluster restore is in progress. See 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.sf-infra.tar.gz– Mandatory. See sf-infra.tar.gz for download instructions.
离线多节点 HA 就绪生产模式
下载以下文件
sf-installer.zip– Mandatory. See sf-installer.zip for download instructions.sf-infra.tar.gz– Mandatory. See sf-infra.tar.gz 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 -
To copy
restore.jsonand other installer files to the/opt/UiPathAutomationSuite/{version}folder, run the following command. For details, see Preparing the restore configuration.# 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 cp /path/to/sf-infra.tar.gz /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 cp /path/to/sf-infra.tar.gz /opt/UiPathAutomationSuite/${version} -
要解压缩
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 --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline
./install-uipath.sh -i restore.json -o output.json -r --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline
此命令仅在第一个服务器节点上还原节点配置。
在剩余的服务器节点上还原 Etcd
要在集群的其他服务器节点上还原 etcd,请运行:
./install-uipath.sh -i ../restore.json -o output.json -r -j server --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline
./install-uipath.sh -i ../restore.json -o output.json -r -j server --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline
此命令将还原其余服务器节点上的节点配置。
在代理节点上还原 Etcd
要在集群的代理节点上还原 etcd,请运行:
./install-uipath.sh -i restore.json -o output.json -r -j agent --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline
./install-uipath.sh -i restore.json -o output.json -r -j agent --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline
此命令将还原其余代理节点上的节点配置。
在 Task Mining 节点上还原 Etcd
要在集群的 Task Mining 代理节点上还原 etcd,请运行:
./install-uipath.sh -i restore.json -o output.json -r -j task-mining --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline
./install-uipath.sh -i restore.json -o output.json -r -j task-mining --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline
此命令将还原 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 --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline
./install-uipath.sh -i restore.json -o output.json -r -j gpu --offline-bundle "../sf-infra.tar.gz" --offline-tmp-folder /opt/UiPathAutomationSuite/tmp --install-offline-prereqs --accept-license-agreement --install-type offline
此命令将还原其余 GPU 节点上的节点配置。
禁用维护模式
This step is required only if the restore is part of the rollback operation during the upgrade.
在还原卷之前,您需要禁用维护模式:
./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 offline
\./install-uipath.sh -i restore.json -o output.json -r --volume-restore --accept-license-agreement --install-type offline
此命令将还原集群上的卷数据。
在还原的集群上启用 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, refer to Enabling the backup on the cluster.
将 CA 证书添加到信任存储区
还原集群后,请确保将 CA 证书添加到已还原虚拟机的信任存储中。 有关详细信息,请参阅: