This page describes how to move a VMware ESX between clusters that are connected to InfiniBox.



  • Both clusters have access to the same volumes 



  • Make sure both Clusters have the same volume mapping.
    • You can do it via the vSphere GUI, or by using InfiniShell (cluster.map_query ... ).

Choosing your migration type (according to your environment) 

  • Type 1 - traditional ESX migration, includes moving the migrated ESX into "Maintenance Mode" 
  • Type 2 - Online, requires multi FC ports on each ESX host who's migrating

Type 1 - Traditional migration (recommended)

  1. Move the ESX into maintenance mode (information on maintenance mode is available here or here )
  2. Once the host is in maintenance mode (the task is complete and host icon looks like that: ), 
    Move the host to the desired cluster.
  3. Right-click on the host, press "Exit Maintenance Mode",
    and you are Done 

Type 2 - Online Migration

INFINIDAT prerequisites for online migration

  • The host must have 2 physical FC ports (2 WWPNs) or more
  • Multipath is configured correctly and is fully operational.
  • All volumes have to be mapped to both clusters with same LUN ID (LUN mapping) prior to the migration
    e.g example-vol13 is mapped to cluster-1 on lun=123 and example-vol13 has to be mapped to cluster-2 on lun=123 
  • The cluster that you migrate to, need's to be registered on the InfiniBox.

Migration Process


During the ESX migration process the INFINIDAT tab in the UI will be inconsistent, please don't open it nor use it.
When the migration is done, open the INFINIDAT tab and press Refresh Page 

  1. Verify that all of the prerequisites are met.
  2. Using the Infinishell, create another host.
    Let's say that we want to migrate an ESX host named host-foobar from cluster1 to cluster2.
    in infinishell

    host.create name=host-foobar.migration-host
  3. Now, remove one of the ports (WWPN) from the original host, and add it to the migration-host.

    host.remove_port name=host-foobar port=2100000000000011 
    host.add_port name=host-foobar.migration-host port=2100000000000011
  4. Add your migration host to the new cluster using Infinishell.

    cluster.add_host name=cluster2 host=host-foobar.migration-host
  5. Rescan the migrated host (via VMware )  and make sure no paths were lost.

    if some paths were lost and did not recover, stop the process and rollback everything

  6. Assuming all went smooth, move all ports to the "migration-host".

    host.remove_port name=host-foobar port=21000000000000XX
    host.add_port name=host-foobar.migration-host port=21000000000000XX
    host.remove_port name=host-foobar port=21000000000000YY
    host.add_port name=host-foobar.migration-host port=21000000000000YY
  7. Rescan again making sure no path were lost.

  8. Through the VMware GUI, disconnect the ESX from the cluster, then remove it.


  9. Go to the cluster that you want to add the host to (in our example: cluster2 ) and add it using the GUI, Cluster - > Add Host.

  10. Using Infinishell remove the original host from the cluster and delete it. 

    cluster.remove_host name=cluster1 host=host-foobar
    host.delete name=host-foobar
  11. Using Infinishell rename the "migration-host" to the host you just deleted (the host original name).

    host.rename name=host-foobar.migration-host new_name=host-foobar
  12. Go to the INFINIDAT tab in the VMware interface , Refresh the page and make sure all is displayed as expected.



Was this article helpful?
0 out of 0 found this helpful

0 out of 0 found this helpful