Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 5. Migrating virtual machines by using the Red Hat OpenShift web console
Use the MTV user interface to migrate virtual machines (VMs). It is located in the Virtualization section of the Red Hat OpenShift web console.
5.1. The MTV user interface Copier lienLien copié sur presse-papiers!
The Migration Toolkit for Virtualization (MTV) user interface is integrated into the OpenShift web console.
In the left-hand panel, you can choose a page related to a component of the migration progress, for example, Providers for virtualization, or, if you are an administrator, you can choose Overview, which contains information about migrations and lets you configure MTV settings.
Figure 5.1. MTV extension interface
In pages related to components, you can click on the Projects list, which is in the upper-left portion of the page, and see which projects (namespaces) you are allowed to work with.
- If you are an administrator, you can see all projects.
- If you are a non-administrator, you can see only the projects that you have permissions to work with.
5.1.1. The MTV Overview page Copier lienLien copié sur presse-papiers!
The Migration Toolkit for Virtualization (MTV) Overview page displays system-wide information about migrations and a list of Settings you can change.
If you have Administrator privileges, you can access the Overview page by clicking Migration
The Overview page has 3 tabs:
- Overview
- YAML
- Metrics
5.1.1.1. Overview tab Copier lienLien copié sur presse-papiers!
The Overview tab lets you see:
- Operator: The namespace on which the MTV Operator is deployed and the status of the Operator
- Pods: The name, status, and creation time of each pod that was deployed by the MTV Operator
Conditions: Status of the MTV Operator:
-
Failure: Last failure.
Falseindicates no failure since deployment. - Running: Whether the Operator is currently running and waiting for the next reconciliation.
- Successful: Last successful reconciliation.
-
Failure: Last failure.
5.1.1.2. YAML tab Copier lienLien copié sur presse-papiers!
The custom resource ForkliftController that defines the operation of the MTV Operator. You can modify the custom resource from this tab.
5.1.1.3. Metrics tab Copier lienLien copié sur presse-papiers!
The Metrics tab lets you see:
Migrations: The number of migrations performed using MTV:
- Total
- Running
- Failed
- Succeeded
- Canceled
Virtual Machine Migrations: The number of VMs migrated using MTV:
- Total
- Running
- Failed
- Succeeded
- Canceled
Since a single migration might involve many virtual machines, the number of migrations performed using MTV might vary significantly from the number of virtual machines that have been migrated using MTV.
- Chart showing the number of running, failed, and succeeded migrations performed using MTV for each of the last 7 days
- Chart showing the number of running, failed, and succeeded virtual machine migrations performed using MTV for each of the last 7 days
5.1.2. Configuring MTV settings Copier lienLien copié sur presse-papiers!
If you have Administrator privileges, you can access the Overview page and change the following settings in it:
| Setting | Description | Default value |
|---|---|---|
| Max concurrent virtual machine migrations | Varies with provider as follows:
| 20 |
| Must gather cleanup after (hours) |
The duration for retaining | Disabled |
| Controller main container CPU limit | The CPU limit allocated to the main controller container. | 500 m |
| Controller main container Memory limit | The memory limit allocated to the main controller container. | 800 Mi |
| Precopy internal (minutes) | The interval at which a new snapshot is requested before initiating a warm migration. | 60 |
| Snapshot polling interval (seconds) | The frequency with which the system checks the status of snapshot creation or removal during a warm migration. | 10 |
Procedure
-
In the Red Hat OpenShift web console, click Migration
Overview. The Settings list is on the right-hand side of the page. - In the Settings list, click the Edit icon of the setting you want to change.
- Choose a setting from the list.
- Click Save.
5.2. Migrating virtual machines using the MTV user interface Copier lienLien copié sur presse-papiers!
Use the MTV user interface to migrate VMs from the following providers:
- VMware vSphere
- Red Hat Virtualization (RHV)
- OpenStack
- Open Virtual Appliances (OVAs) that were created by VMware vSphere
- OpenShift Virtualization clusters
For all migrations, you specify the source provider, the destination provider, and the migration plan. The specific procedures vary per provider.
You must ensure that all prerequisites are met.
VMware only: You must have the minimal set of VMware privileges.
VMware only: Creating a VMware Virtual Disk Development Kit (VDDK) image will increase migration speed.