From c382e4091a133725ac9ae962061478934264c723 Mon Sep 17 00:00:00 2001 From: Zaid Abu-Tarboush Date: Thu, 28 Nov 2024 03:32:45 +0100 Subject: [PATCH] add guide on how to migrate from quobyte to ceph --- .../16.migrate-quobyte-to-ceph/docs.en.md | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 user/pages/03.Howtos/16.migrate-quobyte-to-ceph/docs.en.md diff --git a/user/pages/03.Howtos/16.migrate-quobyte-to-ceph/docs.en.md b/user/pages/03.Howtos/16.migrate-quobyte-to-ceph/docs.en.md new file mode 100644 index 00000000..7c042122 --- /dev/null +++ b/user/pages/03.Howtos/16.migrate-quobyte-to-ceph/docs.en.md @@ -0,0 +1,85 @@ +--- +title: 'How to Migrate From Quobyte to Ceph Storage' +date: '28-11-2024 02:48' +taxonomy: + category: + - docs +--- + +## Overview + +In this guide we will provide a way to migrate your VMs with ephemeral storage, block storage, and object storage. + +## Compute Workloads (VM flavor and ephemeral storage) + +Migrating a VM from Quobyte to Ceph storage means moving from *m1* to *m2* flavor. To do that, you need to create an image of the VM with ephemeral storage and then create a new VM based on the that image. + +!! WARNING: Creating instance image of your server will make it unresponsive for a period of time (depending on the disk size). + +Create an image: + +```shell +openstack server image create --name +``` + +Wait until the image reaches an active state: + +```shell +openstack image show -c status +``` + +Create a new VM with an *m2* flavor based on the created image: + +```shell +openstack server create --image --flavor m2. +``` + +If the old and new VMs are not in the same region, you will need to download the created image and upload it to the new region: + +```shell +openstack --os-region image save --file +openstack --os-region image create --file + +``` + + +## Block Storage Volumes + +Block storage volumes can also be migrated by creating an image of the existing one and then creating a new volume based on that image. + +!! WARNING: Creating instance image of your server will make it unresponsive for a period of time (depending on the disk size). + +Create an image: + +```shell +openstack image create --volume + +``` + +Wait until the image reaches an active state: + +```shell +openstack image show -c status + +``` + +Create a new volume based on the created image and make sure you specify the volume type as `ceph`: + +```shell +openstack volume create --image --type ceph --size +``` + +If the old and new volumes are not in the same region, you will need to download the created image and upload it to the new region: + +```shell +openstack --os-region image save --file +openstack --os-region image create --file + +``` + + +## Object Storage + +For Quobyte-based object storage (s3.*REGION*.cloud.syseleven.net) and ceph-based (objectstorage.fes.cloud.syseleven.net) the same access/secret key pair can be used. + +There are no special tools available to move/copy buckets or partial content internally between two object storage clusters. You will need to download the content and upload it again with your choice of tools.