automation-suite
2022.4
false
Automation Suite 安装指南
- 概述
- 要求
- 安装
- 安装后
- 集群管理
- 管理产品
- 在 ArgoCD 中管理集群
- 将对象存储从持久性卷迁移到原始磁盘
- 手册:将 Ceph 数据池从复制类型迁移到纠删码类型
- 自动:将 Ceph 数据池从复制类型迁移到纠删码类型
- 监控和警示
- 迁移和升级
- 特定于产品的配置
- 最佳实践和维护
- 故障排除
- 无法获取沙盒映像
- 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 支持捆绑包
- 探索日志
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
自动:将 Ceph 数据池从复制类型迁移到纠删码类型
概述
要降低 HA 部署模型的对象存储存储要求,您可以将 Ceph 数据池从复制类型迁移到纠删码类型。
在 2022.4 之前的版本中, Ceph 使用的是复制类型的数据池,该池需要 900 GiB 的集群空间来存储 50 GiB 的对象。 纠删码池会将存储相同的 50 GiB 对象所需的存储空间从 900 GiB 减少到 450 GiB。
备注:
非 HA 部署不需要迁移 Ceph 数据池。
先决条件
Ceph 数据池迁移需要以 HA 模式部署的 Automation Suite。
迁移步骤
要将 Ceph 数据池从复制类型迁移到纠删码类型,请执行以下步骤:
-
通过运行以下命令,查看迁移脚本的帮助:
sudo ./Tools/rook-ceph-data-pool-migration.sh --helpsudo ./Tools/rook-ceph-data-pool-migration.sh --help输出:
*************************************************************************************** Migrate Ceph data pool from replicated to erasure coded pool Arguments -l|--log Log file path to store actual ceph pool migration logs --force Provide consent to perform action which may cause downtime to complete migration -h|--help Show this help message and exit ****************************************************************************************************************************************************************************** Migrate Ceph data pool from replicated to erasure coded pool Arguments -l|--log Log file path to store actual ceph pool migration logs --force Provide consent to perform action which may cause downtime to complete migration -h|--help Show this help message and exit *************************************************************************************** -
如果您的 SSH 会话经常断开连接,请使用 tmux /screen /nohup 运行迁移脚本。
sudo ./Tools/rook-ceph-data-pool-migration.shsudo ./Tools/rook-ceph-data-pool-migration.sh -
通过运行以下命令更新 ArgoCD 配置:
kubectl -n argocd get application fabric-installer -o json | jq 'if ([.spec.source.helm.parameters[].name] | index ("global.rook.dataPoolType")) == null then .spec.source.helm.parameters += [{"name": "global.rook.dataPoolType" , "value": "erasure-coded"}] else (.spec.source.helm.parameters[] | select(.name == "global.rook.dataPoolType").value) |= "erasure-coded" end' | kubectl apply -f -kubectl -n argocd get application fabric-installer -o json | jq 'if ([.spec.source.helm.parameters[].name] | index ("global.rook.dataPoolType")) == null then .spec.source.helm.parameters += [{"name": "global.rook.dataPoolType" , "value": "erasure-coded"}] else (.spec.source.helm.parameters[] | select(.name == "global.rook.dataPoolType").value) |= "erasure-coded" end' | kubectl apply -f -
备注:
该脚本将执行迁移前检查,以验证 Ceph 集群是否运行状况良好并支持迁移,然后才会执行实际迁移。
If the migration script fails with the Insufficient Storage space available for LH node error, and it is not possible to increase the storage space, you can perform the manual migration using Rados Export/Import. For instructions, see Manual: Migrating Ceph data pool from replicated to erasure-coded type.