订阅

UiPath Automation Suite

UiPath Automation Suite 指南

Automated: Migrating Ceph data pool from replicated to erasure-coded type

This page provides instructions on how to migrate Ceph data pool from replicated to erasure-coded type with the help of a script.

概述


To reduce the Objectstore storage requirements for the HA deployment model, you can migrate Ceph data pool from replicated type to erasure-coded type.

In versions prior to 2022.4, Ceph was using the replicated type of data pool, which takes 900 GiB of space across the cluster to store 50 GiB of objects. The erasure-coded pool will reduce the storage space required to store the same 50 GiB objects from 900 GiB to 450 GiB.

📘

备注:

The Ceph data pool migration is not required for non-HA deployments.

 

先决条件


Automation Suite deployed in HA mode is required for the Ceph data pool migration.

 

Migration steps


To migrate Ceph data pool from the replicated to erasure-coded type, take the following steps:

  1. View the help for the migration script by running the following command:
sudo ./Tools/rook-ceph-data-pool-migration.sh --help
Click for the command output.
***************************************************************************************

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

***************************************************************************************
  1. Run the migration script with tmux /screen /nohup if your SSH session gets disconnected frequently.
sudo ./Tools/rook-ceph-data-pool-migration.sh
  1. Update the ArgoCD configuration by running the following command:
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 -

📘

备注:

The script will perform the pre-migration checks to verify if the Ceph cluster is healthy and supported for the migration, and will only then perform the actual migration.

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.

4 个月前更新


Automated: Migrating Ceph data pool from replicated to erasure-coded type


This page provides instructions on how to migrate Ceph data pool from replicated to erasure-coded type with the help of a script.

建议的编辑仅限用于 API 参考页面

您只能建议对 Markdown 正文内容进行编辑,而不能建议对 API 规范进行编辑。