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 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 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 Overview in the Red Hat OpenShift web console. The Overview page has 3 tabs: Overview YAML Metrics 5.1.1.1. Overview tab 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. False indicates no failure since deployment. Running: Whether the Operator is currently running and waiting for the reconciliation. Successful: Last successful reconciliation. 5.1.1.2. YAML tab 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 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 Note 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 If you have Administrator privileges, you can access the Overview page and change the following settings in it: Table 5.1. MTV settings Setting Description Default value Max concurrent virtual machine migrations Varies with provider as follows: For all migrations except OVA or VMware migrations: The maximum number of disks that MTV can transfer simultaneously. For OVA migrations: The maximum number of VMs that MTV can migrate simultaneously. For VMware migrations, the setting has the following meanings:: Cold migration: To local OpenShift Virtualization: VMs for each ESXi host that can migrate simultaneously. To remote OpenShift Virtualization: Disks for each ESXi host that can migrate simultaneously. Warm migration: Disks for each ESXi host that can migrate simultaneously. See Configuring the controller_max_vm_inflight label for a detailed explanation of this setting. 20 Must gather cleanup after (hours) The duration for retaining must gather reports before they are automatically deleted. 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 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. Important 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.

Commands: