Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 8. Migrating virtual machines from Red Hat Virtualization
8.1. Adding a Red Hat Virtualization source provider Copier lienLien copié sur presse-papiers!
You can add a Red Hat Virtualization source provider by using the Red Hat OpenShift web console.
Prerequisites
- Manager CA certificate, unless it was replaced by a third-party certificate, in which case, specify the Manager Apache CA certificate
Procedure
Access the Create provider page for Red Hat Virtualization by doing one of the following:
In the Red Hat OpenShift web console, click Migration for Virtualization > Providers.
- Click Create Provider.
Select a Project from the list. The default project shown depends on the active project of MTV.
If the active project is All projects, then the default project is
openshift-mtv. Otherwise, the default project is the same as the active project.If you have Administrator privileges, you can see all projects, otherwise, you can see only the projects you are authorized to work with.
- Click Red Hat Virtualization.
If you have Administrator privileges, in the Red Hat OpenShift web console, click Migration for Virtualization > Overview.
In the Welcome pane, click Red Hat Virtualization.
If the Welcome pane is not visible, click Show the welcome card in the upper-right corner of the page, and click Red Hat Virtualization when the Welcome pane opens.
Select a Project from the list. The default project shown depends on the active project of MTV.
If the active project is All projects, then the default project is
openshift-mtv. Otherwise, the default project is the same as the active project.If you have Administrator privileges, you can see all projects, otherwise, you can see only the projects you are authorized to work with.
Specify the following fields:
- Provider resource name: Name of the source provider.
-
URL: URL of the API endpoint of the Red Hat Virtualization Manager (RHVM) on which the source VM is mounted. Ensure that the URL includes the path leading to the RHVM API server, usually
/ovirt-engine/api. For example,https://rhv-host-example.com/ovirt-engine/api. - Username: Username.
- Password: Password.
Choose one of the following options for validating CA certificates:
- Use a custom CA certificate: Migrate after validating a custom CA certificate.
- Use the system CA certificate: Migrate after validating the system CA certificate.
Skip certificate validation : Migrate without validating a CA certificate.
- To use a custom CA certificate, leave the Skip certificate validation switch toggled to left, and either drag the CA certificate to the text box or browse for it and click Select.
- To use the system CA certificate, leave the Skip certificate validation switch toggled to the left, and leave the CA certificate text box empty.
- To skip certificate validation, toggle the Skip certificate validation switch to the right.
Optional: Ask MTV to fetch a custom CA certificate from the provider’s API endpoint URL.
- Click Fetch certificate from URL. The Verify certificate window opens.
If the details are correct, select the I trust the authenticity of this certificate checkbox, and then, click Confirm. If not, click Cancel, and then, enter the correct certificate information manually.
Once confirmed, the CA certificate will be used to validate subsequent communication with the API endpoint.
Click Create provider to add and save the provider.
The provider appears in the list of providers.
Optional: Add access to the UI of the provider:
On the Providers page, click the provider.
The Provider details page opens.
- Click the Edit icon under External UI web link.
Enter the link and click Save.
NoteIf you do not enter a link, MTV attempts to calculate the correct link.
- If MTV succeeds, the hyperlink of the field points to the calculated link.
- If MTV does not succeed, the field remains empty.
8.2. Adding an OpenShift Virtualization destination provider Copier lienLien copié sur presse-papiers!
You can use a Red Hat OpenShift Virtualization provider as both a source provider and a destination provider.
Specifically, the host cluster that is automatically added as a OpenShift Virtualization provider can be used as both a source provider and a destination provider.
You can also add another OpenShift Virtualization destination provider to the Red Hat OpenShift web console in addition to the default OpenShift Virtualization destination provider, which is the cluster where you installed MTV.
You can migrate VMs from the cluster that MTV is deployed on to another cluster or from a remote cluster to the cluster that MTV is deployed on.
Prerequisites
-
You must have an OpenShift Virtualization service account token with
cluster-adminprivileges.
Procedure
Access the Create OpenShift Virtualization provider interface by doing one of the following:
In the Red Hat OpenShift web console, click Migration for Virtualization > Providers.
- Click Create Provider.
Select a Project from the list. The default project shown depends on the active project of MTV.
If the active project is All projects, then the default project is
openshift-mtv. Otherwise, the default project is the same as the active project.If you have Administrator privileges, you can see all projects, otherwise, you can see only the projects you are authorized to work with.
- Click OpenShift Virtualization.
If you have Administrator privileges, in the Red Hat OpenShift web console, click Migration for Virtualization > Overview.
In the Welcome pane, click OpenShift Virtualization.
If the Welcome pane is not visible, click Show the welcome card in the upper-right corner of the page, and click OpenShift Virtualization when the Welcome pane opens.
Select a Project from the list. The default project shown depends on the active project of MTV.
If the active project is All projects, then the default project is
openshift-mtv. Otherwise, the default project is the same as the active project.If you have Administrator privileges, you can see all projects, otherwise, you can see only the projects you are authorized to work with.
Specify the following fields:
- Provider resource name: Name of the source provider
- URL: URL of the endpoint of the API server
Service account bearer token: Token for a service account with
cluster-adminprivilegesIf both URL and Service account bearer token are left blank, the local OpenShift cluster is used.
Choose one of the following options for validating CA certificates:
- Use a custom CA certificate: Migrate after validating a custom CA certificate.
- Use the system CA certificate: Migrate after validating the system CA certificate.
Skip certificate validation : Migrate without validating a CA certificate.
- To use a custom CA certificate, leave the Skip certificate validation switch toggled to left, and either drag the CA certificate to the text box or browse for it and click Select.
- To use the system CA certificate, leave the Skip certificate validation switch toggled to the left, and leave the CA certificate text box empty.
- To skip certificate validation, toggle the Skip certificate validation switch to the right.
Optional: Ask MTV to fetch a custom CA certificate from the provider’s API endpoint URL.
- Click Fetch certificate from URL. The Verify certificate window opens.
If the details are correct, select the I trust the authenticity of this certificate checkbox, and then, click Confirm. If not, click Cancel, and then, enter the correct certificate information manually.
Once confirmed, the CA certificate will be used to validate subsequent communication with the API endpoint.
Click Create provider to add and save the provider.
The provider appears in the list of providers.
8.3. Selecting a migration network for an OpenShift Virtualization provider Copier lienLien copié sur presse-papiers!
You can select a default migration network for an OpenShift Virtualization provider in the Red Hat OpenShift web console to improve performance. The default migration network is used to transfer disks to the namespaces in which it is configured.
After you select a transfer network, associate its network attachment definition (NAD) with the gateway to be used by this network.
If you do not select a migration network, the default migration network is the pod network, which might not be optimal for disk transfer.
You can override the default migration network of the provider by selecting a different network when you create a migration plan.
Procedure
- In the Red Hat OpenShift web console, click Migration > Providers for virtualization.
Click the OpenShift Virtualization provider whose migration network you want to change.
When the Providers detail page opens:
- Click the Networks tab.
- Click Set default transfer network.
- Select a default transfer network from the list and click Save.
Configure a gateway in the network used for MTV migrations by completing the following steps:
- In the Red Hat OpenShift web console, click Networking > NetworkAttachmentDefinitions.
- Select the appropriate default transfer network NAD.
- Click the YAML tab.
Add
forklift.konveyor.io/routeto the metadata:annotations section of the YAML, as in the following example:apiVersion: k8s.cni.cncf.io/v1 kind: NetworkAttachmentDefinition metadata: name: localnet-network namespace: mtv-test annotations: forklift.konveyor.io/route: <IP address>1 - 1
- The
NetworkAttachmentDefinitionparameter is needed to configure an IP address for the interface, either from the Dynamic Host Configuration Protocol (DHCP) or statically. Configuring the IP address enables the interface to reach the configured gateway.
- Click Save.
8.4. Creating a Red Hat Virtualization migration plan by using the MTV wizard Copier lienLien copié sur presse-papiers!
You can migrate Red Hat Virtualization virtual machines (VMs) by using the Migration Toolkit for Virtualization plan creation wizard.
The wizard is designed to lead you step-by-step in creating a migration plan.
Do not include virtual machines with guest-initiated storage connections, such as Internet Small Computer Systems Interface (iSCSI) connections or Network File System (NFS) mounts. These require either additional planning before migration or reconfiguration after migration.
This prevents concurrent disk access to the storage the guest points to.
A plan cannot contain more than 500 VMs or 500 disks.
When you click Create plan on the Review and create page of the wizard, Migration Toolkit for Virtualization (MTV) validates your plan. If everything is OK, the Plan details page for your plan opens. This page contains settings that do not appear in the wizard, but are important. Be sure to read and follow the instructions for this page carefully, even though it is outside the plan creation wizard. The page can be opened later, any time before you run the plan, so you can come back to it if needed.
Prerequisites
- Have an Red Hat Virtualization source provider and a OpenShift Virtualization destination provider. For more information, see Adding a Red Hat Virtualization source provider or Adding an OpenShift Virtualization destination provider.
- If you plan to create a Network map or a Storage map that will be used by more than one migration plan, create it in the Network maps or Storage maps page of the UI before you create a migration plan that uses that map.
Procedure
- In the Red Hat OpenShift web console, click Migration for Virtualization > Migration plans.
Click Create plan.
The Create migration plan wizard opens.
On the General page, specify the following fields:
- Plan name: Enter a name.
- Plan project: Select from the list.
- Source provider: Select from the list.
- Target provider: Select from the list.
- Target project: Select from the list.
- Click Next.
- On the Virtual machines page, select the virtual machines you want to migrate and click Next.
On the Network map page, choose one of the following options:
Use an existing network map: Select an existing network map from the list.
These are network maps available for all plans, and therefore, they are ownerless in terms of the system. If you select this option and choose a map, a copy of that map is attached to your plan, and your plan is the owner of that copy. Any changes you make to your copy do not affect the original plan or any copies that other users have.
NoteIf you choose an existing map, be sure it has the same source provider and the same target provider as the ones you want to use in your plan.
Use a new network map: Allows you to create a new network map by supplying the following data. This map is attached to this plan, which will then be considered to be its owner. Maps that you create using this option are not available in the Use an existing network map option because each is created with an owner.
NoteYou can create an ownerless network map, which you and others can use for additional migration plans, in the Network Maps section of the UI.
- Source network: Select from the list.
Target network: Select from the list.
If needed, click Add mapping to add another mapping.
- Network map name: Enter a name or let MTV automatically generate a name for the network map.
- Click Next.
On the Storage map page, choose one of the following options:
Use an existing storage map: Select an existing storage map from the list.
These are storage maps available for all plans, and therefore, they are ownerless in terms of the system. If you select this option and choose a map, a copy of that map is attached to your plan, and your plan is the owner of that copy. Any changes you make to your copy do not affect the original plan or any copies that other users have.
NoteIf you choose an existing map, be sure it has the same source provider and the same target provider as the ones you want to use in your plan.
Use new storage map: Allows you to create one or two new storage maps by supplying the following data. These maps are attached to this plan, which is then their owner. For each map, specify the following. Maps that you create using this option are not available in the Use an existing storage map option because each is created with an owner.
NoteYou can create an ownerless storage map, which you and others can use for additional migration plans, in the Storage Maps section of the UI.
- Source storage: Select from the list.
Target storage: Select from the list.
If needed, click Add mapping to add another mapping.
- Storage map name: Enter a name or let MTV automatically generate a name for the storage map.
- Click Next.
On the Migration type page, choose one of the following:
- Cold migration (default)
- Warm migration
- Click Next.
On the Other settings (optional) page, you have the option to change the Transfer network of your migration plan.
The transfer network is the network used to transfer the VMs to OpenShift Virtualization. This is the default transfer network of the provider.
- Verify that the transfer network is in the selected target project.
- To choose a different transfer network, select a different transfer network from the list.
Optional: To configure another OpenShift network in the OpenShift web console, click Networking > NetworkAttachmentDefinitions.
To learn more about the different types of networks OpenShift supports, see Additional Networks in OpenShift Container Platform.
- To adjust the maximum transmission unit (MTU) of the OpenShift transfer network, you must also change the MTU of the VMware migration network. For more information, see Selecting a migration network for a VMware source provider.
- Click Next.
- On the Hooks (optional) page, you can add a pre-migration hook, a post-migration hook, or both types of migration hooks. All are optional.
- To add a hook, select the appropriate Enable hook checkbox.
- Enter the Hook runner image.
Enter the Ansible playbook of the hook in the window.
NoteYou cannot include more than one pre-migration hook or more than one post-migration hook in a migration plan.
- Click Next.
- On the Review and Create page, review the information displayed.
Edit any item by doing the following:
Click its Edit step link.
The wizard opens to the page on which you defined the item.
- Edit the item.
- Either click Next to advance to the next page of the wizard, or click Skip to review to return directly to the Review and create page.
When you finish reviewing the details of the plan, click Create plan. MTV validates your plan.
When your plan is validated, the Plan details page for your plan opens in the Details tab.
The Plan settings section of the page includes settings that you specified in the Other settings (optional) page and some additional optional settings. The steps below refer to the additional optional steps, but all of the settings can be edited by clicking the Options menu
, making the change, and then clicking Save.
Check the following item on the Plan settings section of the page:
Preserve CPU mode: Generally, the CPU model (type) for Red Hat Virtualization VMs is set at the cluster level. However, the CPU model can be set at the VM level, which is called a custom CPU model.
By default, MTV sets the CPU model on the destination cluster as follows: MTV preserves custom CPU settings for VMs that have them. For VMs without custom CPU settings, MTV does not set the CPU model. Instead, the CPU model is later set by OpenShift Virtualization.
To preserve the cluster-level CPU model of your Red Hat Virtualization VMs, do the following:
-
Click the Options menu
.
- Toggle the Whether to preserve the CPU model switch.
Click Save.
MTV validates any changes you made on this page.
-
Click the Options menu
In addition to listing details based on your entries in the wizard, the Plan details tab includes the following two sections after the details of the plan:
- Migration history: Details about successful and unsuccessful attempts to run the plan
- Conditions: Any changes that need to be made to the plan so that it can run successfully
When you have fixed all conditions listed, you can run your plan from the Plans page.
The Plan details page also includes five additional tabs, which are described in the table that follows:
Expand Table 8.1. Tabs of the Plan details page YAML Virtual Machines Resources Mappings Hooks Editable YAML
Planmanifest based on your plan’s details including source provider, network and storage maps, VMs, and any issues with your VMsThe VMs the plan migrates
Calculated resources: VMs, CPUs, and total memory for both total VMs and running VMs
Editable specification of the network and storage maps used by your plan
Updatable specification of the hooks used by your plan, if any
8.5. Running a migration plan Copier lienLien copié sur presse-papiers!
You can run a migration plan and view its progress in the Red Hat OpenShift web console.
Prerequisites
- Valid migration plan.
Procedure
In the Red Hat OpenShift web console, click Migration > Plans for virtualization.
The Plans list displays the source and target providers, the number of virtual machines (VMs) being migrated, the status, the date that the migration started, and the description of each plan.
- Click Start beside a migration plan to start the migration.
Click Start in the confirmation window that opens.
The plan’s Status changes to Running, and the migration’s progress is displayed.
Warm migration only:
- The precopy stage starts.
Click Cutover to complete the migration.
WarningDo not take a snapshot of a VM after you start a migration. Taking a snaphot after a migration starts might cause the migration to fail.
Optional: Click the links in the migration’s Status to see its overall status and the status of each VM:
- The link on the left indicates whether the migration failed, succeeded, or is ongoing. It also reports the number of VMs whose migration succeeded, failed, or was canceled.
The link on the right opens the Virtual Machines tab of the Plan Details page. For each VM, the tab displays the following data:
- The name of the VM
- The start and end times of the migration
- The amount of data copied
A progress pipeline for the VM’s migration
WarningvMotion, including svMotion, and relocation must be disabled for VMs that are being imported to avoid data corruption.
Optional: To view your migration’s logs, either as it is running or after it is completed, perform the following actions:
- Click the Virtual Machines tab.
Click the arrow (>) to the left of the virtual machine whose migration progress you want to check.
The VM’s details are displayed.
In the Pods section, in the Pod links column, click the Logs link.
The Logs tab opens.
NoteLogs are not always available. The following are common reasons for logs not being available:
-
The migration is from OpenShift Virtualization to OpenShift Virtualization. In this case,
virt-v2vis not involved, so no pod is required. - No pod was created.
- The pod was deleted.
- The migration failed before running the pod.
-
The migration is from OpenShift Virtualization to OpenShift Virtualization. In this case,
- To see the raw logs, click the Raw link.
- To download the logs, click the Download link.
8.6. Migration plan options Copier lienLien copié sur presse-papiers!
On the Plans for virtualization page of the Red Hat OpenShift web console, you can click the Options menu
beside a migration plan to access the following options:
Edit Plan: Edit the details of a migration plan. If the plan is running or has completed successfully, you cannot edit the following options:
- All properties on the Settings section of the Plan details page. For example, warm or cold migration, target namespace, and preserved static IPs.
- The plan’s mapping on the Mappings tab.
- The hooks listed on the Hooks tab.
- Start migration: Active only if relevant.
- Restart migration: Restart a migration that was interrupted. Before choosing this option, make sure there are no error messages. If there are, you need to edit the plan.
Cutover: Warm migrations only. Active only if relevant. Clicking Cutover opens the Cutover window, which supports the following options:
- Set cutover: Set the date and time for a cutover.
- Remove cutover: Cancel a scheduled cutover. Active only if relevant.
Duplicate Plan: Create a new migration plan with the same virtual machines (VMs), parameters, mappings, and hooks as an existing plan. You can use this feature for the following tasks:
- Migrate VMs to a different namespace.
- Edit an archived migration plan.
- Edit a migration plan with a different status, for example, failed, canceled, running, critical, or ready.
Archive Plan: Delete the logs, history, and metadata of a migration plan. The plan cannot be edited or restarted. It can only be viewed, duplicated, or deleted.
NoteArchive Plan is irreversible. However, you can duplicate an archived plan.
Delete Plan: Permanently remove a migration plan. You cannot delete a running migration plan.
NoteDelete Plan is irreversible.
Deleting a migration plan does not remove temporary resources. To remove temporary resources, archive the plan first before deleting it.
NoteThe results of archiving and then deleting a migration plan vary by whether you created the plan and its storage and network mappings using the CLI or the UI.
- If you created them using the UI, then the migration plan and its mappings no longer appear in the UI.
- If you created them using the CLI, then the mappings might still appear in the UI. This is because mappings in the CLI can be used by more than one migration plan, but mappings created in the UI can only be used in one migration plan.
8.7. About network maps in migration plans Copier lienLien copié sur presse-papiers!
You can create network maps in Migration Toolkit for Virtualization (MTV) migration plans to map source networks to OpenShift Virtualization networks.
There are two types of network maps: maps created for a specific migration plan and maps created for use by any migration plan.
- Maps created for a specific plan are said to be owned by that plan. You can create these kinds of maps in the Network maps step of the Plan creation wizard.
Maps created for use by any migration plan are to said to be ownerless. You can create these kinds of maps in the Network maps page of the Migration for Virtualization section of the OpenShift Virtualization web console.
You, or anyone working in the same project, can use them when creating a migration plan in the Plan creation wizard. When you choose one of these unowned maps for a migration plan, MTV creates a copy of the map and defines your migration plan as the owner of that copy. Any changes you make to the copy do not affect the original map, nor do they apply to any other plan that uses a copy of the map. Both types of network maps for a project are shown in the Network maps page, but there is an important difference in the information displayed in the Owner column of that page for each:
- Maps created in the Network maps page of the Migration for Virtualization section of the OpenShift Virtualization web console are shown as having no owner.
- Maps created in the Network maps step of the Plan creation wizard are shown as being owned by the migration plan.
8.7.1. Creating ownerless network maps in the MTV UI Copier lienLien copié sur presse-papiers!
You can create ownerless network maps by using the Migration Toolkit for Virtualization (MTV) UI to map source networks to OpenShift Virtualization networks.
Procedure
- In the Red Hat OpenShift web console, click Migration for Virtualization > Network maps.
Click Create NetworkMap.
The Create NetworkMap page opens.
- Enter the YAML or JSON definitions into the editor, or drag and drop a file into the editor.
- If you enter YAML definitions, use the following:
$ cat << EOF | oc apply -f -
apiVersion: forklift.konveyor.io/v1beta1
kind: NetworkMap
metadata:
name: <network_map>
namespace: <namespace>
spec:
map:
- destination:
name: <network_name>
type: pod
source:
id: <source_network_id>
name: <source_network_name>
- destination:
name: <network_attachment_definition>
namespace: <network_attachment_definition_namespace>
type: multus
source:
id: <source_network_id>
name: <source_network_name>
provider:
source:
name: <source_provider>
namespace: <namespace>
destination:
name: <destination_provider>
namespace: <namespace>
EOF
- 1
- Allowed values are
podandmultus. - 2
- You can use either the
idor thenameparameter to specify the source network. Forid, specify the RHV network Universal Unique ID (UUID). - 3
- Specify a network attachment definition for each additional OpenShift Virtualization network.
- 4
- Required only when
typeismultus. Specify the namespace of the OpenShift Virtualization network attachment definition.
- Optional: To download your input, click Download.
Click Create.
Your map appears in the list of network maps.
8.8. About storage maps in migration plans Copier lienLien copié sur presse-papiers!
You can create storage maps in Migration Toolkit for Virtualization (MTV) migration plans to map source disk storages to OpenShift Virtualization storage classes.
There are two types of storage maps: maps created for a specific migration plan and maps created for use by any migration plan.
- Maps created for a specific plan are said to be owned by that plan. You can create these kinds of maps in the Storage maps step of the Plan creation wizard.
Maps created for use by any migration plan are to said to be ownerless. You can create these kinds of maps in the Storage maps page of the Migration for Virtualization section of the OpenShift Virtualization web console.
You, or anyone working in the same project, can use them when creating a migration plan in the Plan creation wizard. When you choose one of these unowned maps for a migration plan, MTV creates a copy of the map and defines your migration plan as the owner of that copy. Any changes you make to the copy do not affect the original map, nor do they apply to any other plan that uses a copy of the map. Both types of storage maps for a project are shown in the Storage maps page, but there is an important difference in the information displayed in the Owner column of that page for each:
- Maps created in the Storage maps page of the Migration for Virtualization section of the OpenShift Virtualization web console are shown as having no owner.
- Maps created in the Storage maps step of the Plan creation wizard are shown as being owned by the migration plan.
8.8.1. Creating ownerless storage maps in the MTV UI Copier lienLien copié sur presse-papiers!
You can create ownerless storage maps by using the MTV UI to map source disk storages to OpenShift Virtualization storage classes.
You can create this type of map by using one of the following methods:
- Create with form, selecting items such as a source provider from lists.
- Create with YAML, either by entering YAML or JSON definitions or by attaching files containing the same.
8.8.1.1. Creating ownerless storage maps using the form page of the MTV UI Copier lienLien copié sur presse-papiers!
You can create ownerless storage maps by using the form page of the MTV UI.
Prerequisites
- Have a Red Hat Virtualization source provider and a OpenShift Virtualization destination provider. For more information, see Adding a Red Hat Virtualization source provider or Adding an OpenShift Virtualization destination provider.
Procedure
- In the Red Hat OpenShift web console, click Migration for Virtualization > Storage maps.
- Click Create storage map > Create with form.
Specify the following:
- Map name: Name of the storage map.
- Project: Select from the list.
- Source provider: Select from the list.
- Target provider: Select from the list.
- Source storage: Select from the list.
- Target storage: Select from the list
- Optional: Click Add mapping to create additional storage maps, including mapping multiple storage sources to a single target storage class.
Click Create.
Your map appears in the list of storage maps.
8.8.1.2. Creating ownerless storage maps using YAML or JSON definitions in the MTV UI Copier lienLien copié sur presse-papiers!
You can create ownerless storage maps by using YAML or JSON definitions in the Migration Toolkit for Virtualization (MTV) UI.
Procedure
- In the Red Hat OpenShift web console, click Migration for Virtualization > Storage maps.
Click Create storage map > Create with YAML.
The Create StorageMap page opens.
- Enter the YAML or JSON definitions into the editor, or drag and drop a file into the editor.
- If you enter YAML definitions, use the following:
$ cat << EOF | oc apply -f -
apiVersion: forklift.konveyor.io/v1beta1
kind: StorageMap
metadata:
name: <storage_map>
namespace: <namespace>
spec:
map:
- destination:
storageClass: <storage_class>
accessMode: <access_mode>
source:
id: <source_storage_domain>
provider:
source:
name: <source_provider>
namespace: <namespace>
destination:
name: <destination_provider>
namespace: <namespace>
EOF
- Optional: To download your input, click Download.
Click Create.
Your map appears in the list of storage maps.
8.9. Canceling a migration Copier lienLien copié sur presse-papiers!
You can cancel the migration of some or all virtual machines (VMs) while a migration plan is in progress by using the Red Hat OpenShift web console.
Procedure
- In the Red Hat OpenShift web console, click Plans for virtualization.
- Click the name of a running migration plan to view the migration details.
- Select one or more VMs and click Cancel.
Click Yes, cancel to confirm the cancellation.
In the Migration details by VM list, the status of the canceled VMs is Canceled. The unmigrated and the migrated virtual machines are not affected.
You can restart a canceled migration by clicking Restart beside the migration plan on the Migration plans page.