This is a cache of https://docs.openshift.com/container-platform/4.9/virt/live_migration/virt-monitor-vmi-migration.html. It is a snapshot of the page at 2024-11-27T19:32:54.781+0000.
Monitoring live migration of a virtual machine instance - Live migration | Virtualization | OpenShift Container Platform 4.9
×

You can monitor the progress of a live migration of a virtual machine instance from either the web console or the cli.

Monitoring live migration of a virtual machine instance in the web console

For the duration of the migration, the virtual machine has a status of Migrating. This status is displayed in the Virtual Machines tab or in the Virtual Machine Overview screen for the migrating virtual machine.

Procedure
  1. In the OpenShift Virtualization console, click WorkloadsVirtualization from the side menu.

  2. click the Virtual Machines tab.

  3. Select a virtual machine to open the Virtual Machine Overview screen.

Monitoring live migration of a virtual machine instance in the cli

The status of the virtual machine migration is stored in the Status component of the VirtualMachineInstance configuration.

Procedure
  • Use the oc describe command on the migrating virtual machine instance:

    $ oc describe vmi vmi-fedora
    Example output
    ...
    Status:
      Conditions:
        Last Probe Time:       <nil>
        Last Transition Time:  <nil>
        Status:                True
        Type:                  LiveMigratable
      Migration Method:  LiveMigration
      Migration State:
        Completed:                    true
        End Timestamp:                2018-12-24T06:19:42Z
        Migration UID:                d78c8962-0743-11e9-a540-fa163e0c69f1
        Source Node:                  node2.example.com
        Start Timestamp:              2018-12-24T06:19:35Z
        Target Node:                  node1.example.com
        Target Node Address:          10.9.0.18:43891
        Target Node Domain Detected:  true