3.5. Migrating Virtual Machines

Warning

Red Hat does not recommend using the advanced Live Migration feature to migrate virtual machines directly between clusters running different versions of Red Hat Virtualization. Red Hat recommends adding later version hosts to the current cluster and to migrate the virtual machines from the current hosts to the later version hosts, until all virtual machines are running on the later version hosts.

Note

To save time, you can upgrade a 3.6 cluster to 4.1, without upgrading to 4.0 as an intermediate step. See Adding a New Host to a Cluster.
If you can upgrade a host in your cluster, upgrade it to a later version and add it to the current cluster.

Procedure 3.3. Adding an Upgraded Host to a Cluster

  1. Upgrade a host in the current cluster to a later version. See Section 2.2, “Updating Hosts” for details.
  2. Add the later version host to the current cluster:
    1. Click Maintenance to place the later version host in Maintenance mode.
    2. Click Edit.
    3. In the General tab, select the current cluster in the drop-down list.
    4. Click OK.
    5. Click Activate to bring the later version host out of Maintenance mode.
If you cannot upgrade a host in the cluster, create a new host running a later version of Red Hat Virtualization and add it to the current cluster.

Procedure 3.4. Adding a New Host to a Cluster

  1. Create a new host running a later version of Red Hat Virtualization. See Red Hat Enterprise Linux Hosts (4.0) or Red Hat Enterprise Linux Hosts (4.1) in the Installation Guide for details.
  2. Add the later version host to the current cluster:
    1. In the Hosts tab, click New.
    2. Select a Datacenter and a Cluster compatible with the later version of Red Hat Virtualization on the drop-down lists.
    3. Enter the Name, Address, and Password of the new host.
    4. Click OK.
When you have later version hosts running in your cluster, you can migrate the virtual machines.

Procedure 3.5. Migrating Virtual Machines

  1. Check that all virtual machines can migrate automatically:
    1. In the Virtual Machines tab, select a virtual machine.
    2. Click Edit.
    3. Click the Hosts tab and check that Any Host in Cluster is selected.
    4. Check that Migration Mode is set to Allow manual and automatic migration
    5. Click OK.
  2. Place the earlier version hosts in Maintenance mode to trigger automatic migration of the virtual machines:
    1. In the Hosts tab, select an earlier version host.
    2. Click Maintenance to place the host in Maintenance mode.
    3. Click OK.
  3. Repeat these steps until all the virtual machines are running on the later version hosts.
  4. Change the cluster compatibility level to the later version. See Section 4.1, “Changing the Cluster Compatibility Version” for details.
  5. Stop and start each migrated virtual machine:
    1. In the Virtual Machines tab, select a virtual machine.
    2. Click Shutdown.
    3. Click Run.