You can monitor the progress of a replication-based migration from the user interface, or from the command line.

View the Task Console, as described in Monitor Service Appliance Deployment, and look for the “Migrate VM” task. When the status is “Completed,” the VM has been migrated and powered on in vCloud® Air™.

This procedure uses an unrelated VM in the same vCenter to track the progress of a migrating VM.


Identify the VM to migrate, and choose an observer VM that can ping the migrating VM.


From the user interface, start migrating the VM, and monitor it from the task console.


Using SSH, log in to the ESXi host running the observer VM.


Run the following command to obtain the virtual machine ID (the vmid).

# vim-cmd vmsvc/getallvms | grep -i vmname 

Run the following commands to monitor the replication state, where the vmid is the value obtained in the previous step.

# vim-cmd hbrsvc/vmreplica.getState vmid 
# vim-cmd hbrsvc/vmreplica.queryReplicationState vmid

ICMP Ping: Monitor the continuous ping you started earlier.

You see an interruption in the continuous ping during the switchover. However, the test ping quickly resumes after the “Migrate VM” task completes (as reflected in the task console).