Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 6. 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.
6.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 panel, you can choose a page related to a component of the migration progress, for example, Providers. Or, if you are an administrator, you can choose Overview, which contains information about migrations and lets you configure MTV settings.
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.
6.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
- Health
- History
- Settings
6.1.1.1. Overview tab Copier lienLien copié sur presse-papiers!
The Overview tab is to help you quickly create providers and find information about the whole system:
-
In the upper pane, is the Welcome section, which includes buttons that let you open the Create provider UI for each vendor (VMware, Open Virtual Appliance, OpenStack, Red Hat Virtualization, and OpenShift Virtualization). You can close this section by clicking the Options menu
in the upper-right corner and selecting Hide from view. You can reopen it by clicking Show the welcome card in the upper-right corner.
In the center-left pane is a "donut" chart named Virtual machines. This chart shows the number of running, failed, and successful virtual machine migrations that MTV ran for the time interval that you select. You can choose a different interval by clicking the list in the upper-right corner of the pane. You can select a different interval by clicking the list. The options are: Last 24 hours, Last 10 days, Last 31 days, and All. By clicking on each division of the chart, you can navigate to the History tab for information about the migrations.
NoteData for this chart includes only the most recent run of a migration plan that was modified due to a failure. For example, if a plan with 3 VMs fails 4 times, then this chart shows that 3 VMs failed, not 12.
-
In the center-right pane is an area chart named Migration history. This chart shows the number of migrations that succeeded, failed, or were running during the interval shown in the title of the chart. You can choose a different interval by clicking the Options menu
in the upper-right corner of the pane. The options are: Last 24 hours, Last 10 days, and Last 31 days. By clicking on each division of the chart, you can navigate to the History tab for information about the migrations.
In the lower-left pane is a "donut" chart named Migration plans. This chart shows the current number of migration plans grouped by their status. This includes plans that were not started, cannot be started, are incomplete, archived, paused, or have an unknown status. By clicking the Show all plans link, you can quickly navigate to the Migration plans page.
NoteSince a single migration might involve many virtual machines, the number of migrations performed using MTV might vary significantly from the number of migrated virtual machines.
-
In the lower-right pane is a table named MTV health. This table lists all of the MTV pods. The most important one,
forklift-controller, is first. The remaining pods are listed in alphabetical order. The View all link opens the Health tab. The status and creation time of each pod are listed. There is also a link to the logs of each pod.
6.1.1.2. YAML tab Copier lienLien copié sur presse-papiers!
The YAML tab displays the ForkliftController custom resource (CR) that defines the operation of the MTV Operator. You can modify the CR in this tab.
6.1.1.3. Health tab Copier lienLien copié sur presse-papiers!
The Health tab has two panes:
-
In the upper pane, there is a table named Health. It lists all the MTV pods. The most important one,
forklift-controller, is first. The remaining pods are listed in alphabetical order. For each pod, the status, and creation time of the pod are listed, and there is a link to the logs of the pod. - In the lower pane, there is a table named Conditions. It lists the following possible types (states) of the MTV Operator, the status of the type, the last time the condition was updated, the reason for the update, and a message about the condition.
6.1.1.4. History tab Copier lienLien copié sur presse-papiers!
The History tab displays information about migrations.
- In the upper-left of the page, there is a filter that you can use to display only migrations of a certain status, for example, Succeeded.
- To the right of the filter is the Group by plan toggle switch, which lets you display either all migrations or view only the most recent migration run per plan within the specified time range.
6.1.1.5. Settings tab Copier lienLien copié sur presse-papiers!
The table that follows describes the settings that are visible in the Settings tab, their default values, and other possible values that can be set or chosen, if needed.
| Setting | Description | Default value | Additional values |
|---|---|---|---|
| Maximum concurrent VM migrations | Varies with provider as follows:
| 20. | Adjustable by either using the + and - keys to set a different value or by clicking the textbox and entering a new value. |
| Controller main container CPU limit | The CPU limit that is allocated to the main controller container, in milliCPUs (m). | 500 m. | Adjustable by selecting another value from the list. Options: 200 m, 500 m, 2000 m, 8000 m. |
| Controller main container memory limit | The memory limit that is allocated to the main controller container in mebibytes (Mi). | 800 Mi. | Adjustable by selecting another value from the list. Options: 200 Mi, 800 Mi, 2000 Mi, 8000 Mi. |
| Controller inventory container memory limit | The memory limit that is allocated to the inventory controller container in mebibytes (Mi). | 1000 Mi. | Adjustable by selecting another value from the list. Options: 400 Mi, 1000 Mi, 2000 Mi, 8000 Mi. |
| Precopy internal (minutes) | The interval in minutes at which a new snapshot is requested before initiating a warm migration. | 60 minutes. | Adjustable by selecting another value from the list. Options: 5 minutes, 30 minutes, 60 minutes, 120 minutes. |
| Snapshot polling interval | The interval in seconds between which the system checks the status of snapshot creation or removal during a warm migration. | 10 seconds. | Adjustable by choosing another value from the list. Options: 1 second, 5 seconds, 10 seconds, 60 seconds. |
6.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 and software requirements for all providers and all Specific software requirements for each provider are met.
VMware only: You must have the minimal set of VMware privileges.
VMware only: Creating a VMware Virtual Disk Development Kit (VDDK) image increases migration speed.