|
| 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. |
0 commit comments