UiPath Documentation
automation-suite
2022.4
false
Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

将 Ceph 从 16.2.6 降级到 15.2.9

Automation Suite 在集群中捆绑 Ceph 对象存储,以存储 Orchestrator 中的 NuGet 订阅源、AI Center 中的数据集等文件。

Automation Suite 2021.10.3 and 2021.10.4 ship with Ceph objectstore 16.2.6. This Ceph version introduces an issue that can potentially corrupt data. As a result, Ceph has officially recalled version 16.2.6 until the issue is resolved in a newer version.

在升级到较新的 Automation Suite 版本之前,您必须确保 Ceph 问题不会影响您的集群及其存储的数据。 为此,需要从 Ceph 16.2.6 降级到 15.2.9,这是一个稳定版本。

无法将 Ceph 从 16.2.6 直接降级到 15.2.9,在升级到新的 Automation Suite 版本时,我们会为您执行一系列操作:

  1. 备份 Ceph 数据;
  2. 销毁 Ceph 集群版本 16.2.6;
  3. 重新创建 Ceph 集群版本 15.2.9;
  4. 上传所有已备份的 Ceph 数据。

要在升级到新的 Automation Suite 版本之前备份 Ceph 数据,您需要一个临时文件夹。 该文件夹必须足够大,才能存储所有 Ceph 数据。 要确定 Ceph 数据备份所需的临时文件夹的大小,请运行以下命令:

ceph_object_size=$(kubectl -n rook-ceph exec deploy/rook-ceph-tools -- ceph status --format json | jq -r '.pgmap.data_bytes')
echo "You need '$(numfmt --to=iec-i $ceph_object_size)' storage space"
ceph_object_size=$(kubectl -n rook-ceph exec deploy/rook-ceph-tools -- ceph status --format json | jq -r '.pgmap.data_bytes')
echo "You need '$(numfmt --to=iec-i $ceph_object_size)' storage space"

在升级 Automation Suite 之前,您还必须设置TMP_CEPH_BACKUP_PATH变量。 要创建文件夹并设置TMP_CEPH_BACKUP_PATH ,请运行以下命令:

# replace "/path/to/backup/ceph" with actual path where you will going to take backup mkdir -p /path/to/backup/ceph export TMP_CEPH_BACKUP_PATH="/path/to/backup/ceph"
# replace "/path/to/backup/ceph" with actual path where you will going to take backup mkdir -p /path/to/backup/ceph export TMP_CEPH_BACKUP_PATH="/path/to/backup/ceph"
备注:

确保将上一个命令中的/path/to/backup/ceph替换为正确的 Ceph 路径。

有关其他步骤,请按照升级文档进行操作。

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新