Skip to content

Commit de4f3bb

Browse files
authored
Merge pull request #86954 from jhradilek/CNV-44934-storage-class-migration
CNV-44934: Document storage class migration
2 parents 04b49a5 + da47786 commit de4f3bb

File tree

4 files changed

+59
-0
lines changed

4 files changed

+59
-0
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4685,6 +4685,8 @@ Topics:
46854685
File: virt-expanding-vm-disks
46864686
- Name: Configuring shared volumes
46874687
File: virt-configuring-shared-volumes-for-vms
4688+
- Name: Migrating VM disks to a different storage class
4689+
File: virt-migrating-storage-class
46884690
- Name: Networking
46894691
Dir: vm_networking
46904692
Topics:

_topic_maps/_topic_map_rosa.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1986,6 +1986,8 @@ Topics:
19861986
# Need to check if supported:
19871987
# - Name: Configuring shared volumes
19881988
# File: virt-configuring-shared-volumes-for-vms
1989+
- Name: Migrating VM disks to a different storage class
1990+
File: virt-migrating-storage-class
19891991
- Name: Networking
19901992
Dir: vm_networking
19911993
Topics:
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/managing_vms/virtual_disks/virt-migrating-storage-class.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
7+
[id="virt-migrating-storage-class-ui_{context}"]
8+
= Migrating VM disks to a different storage class by using the web console
9+
10+
You can migrate one or more disks attached to a virtual machine (VM) to a different storage class by using the {product-title} web console. When performing this action on a running VM, the operation of the VM is not interrupted and the data on the migrated disks remains accessible.
11+
12+
[NOTE]
13+
====
14+
With the {VirtProductName} Operator, you can only start storage class migration for one VM at the time and the VM must be running. If you need to migrate more VMs at once or migrate a mix of running and stopped VMs, consider using the link:https://docs.redhat.com/en/documentation/migration_toolkit_for_containers/{mtc-version}/html/migration_toolkit_for_containers/index[{mtc-first}].
15+
16+
{mtc-full} is not part of {VirtProductName} and requires separate installation.
17+
====
18+
19+
:FeatureName: Storage class migration
20+
include::snippets/technology-preview.adoc[]
21+
22+
.Prerequisites
23+
24+
* You must have a data volume or a persistent volume claim (PVC) available for storage class migration.
25+
* The cluster must have a node available for live migration. As part of the storage class migration, the VM is live migrated to a different node.
26+
* The VM must be running.
27+
28+
.Procedure
29+
30+
. Navigate to *Virtualization* -> *VirtualMachines* in the web console.
31+
. Click the Options menu {kebab} beside the virtual machine and select *Migration* -> *Storage*.
32+
+
33+
You can also access this option from the *VirtualMachine details* page by selecting *Actions* -> *Migration* -> *Storage*.
34+
. On the *Migration details* page, choose whether to migrate the entire VM storage or selected volumes only. If you click *Selected volumes*, select any disks that you intend to migrate. Click *Next* to proceed.
35+
. From the list of available options on the *Destination StorageClass* page, select the storage class to migrate to. Click *Next* to proceed.
36+
. On the *Review* page, review the list of affected disks and the target storage class. To start the migration, click *Migrate VirtualMachine storage*.
37+
. Stay on the *Migrate VirtualMachine storage* page to watch the progress and wait for the confirmation that the migration completed successfully.
38+
39+
.Verification
40+
41+
. From the *VirtualMachine details* page, navigate to *Configuration* -> *Storage*.
42+
. Verify that all disks have the expected storage class listed in the *Storage class* column.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
3+
[id="virt-migrating-storage-class"]
4+
= Migrating VM disks to a different storage class
5+
6+
include::_attributes/common-attributes.adoc[]
7+
:context: virt-migrating-storage-class
8+
9+
toc::[]
10+
11+
You can migrate one or more virtual disks to a different storage class without stopping your virtual machine (VM) or virtual machine instance (VMI).
12+
13+
include::modules/virt-migrating-storage-class-ui.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)