As mentioned in my previous post, I have updated my HCX server to very latest version 4.0. Now it’s time to test some of the new features including the Mobility Migration Event details.
Introduction
Before we jump into a demonstration let’s quickly recap what the Mobility Migration Event Details feature provides:
- It provides a detailed migration workflow information and it shows the state of migration and how long a migration remains in a certain state as well as a long a migration has been succeeded or failed.
- It provides the detailed information for individual Virtual Machines that has been migrating from source to destination site. It’s working for Bulk Migration, HCX RAV, and OS Assisted Migration.
So now let’s see how the procedure works.
Procedure and Tests
I decided I am going to migrate two VMs back from my on-prem Lab to VMC on AWS. The two VMs are deb10-App01 and deb10-web01.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-11.11.36.png)
As you can see, I have already created a site paring between my source on-prem Lab and VMC on AWS datacenter.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-10.55.24-1024x323.png)
I have also established a Service Mesh between my on-premise lab environment and one of the Lab SDDC.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-11.17.06-1024x314.png)
The Service Mesh is a construct that associate two Compute Profiles.
Now let’s select the VMs for migration. For this exemple, I have chosen to migrate two VMs with the Bulk Migration option.
In order to launch the migration, I have to click on Migrate.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-11.20.27-1024x102.png)
Next I am going to select the VMs I want to migrate.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-11.24.38-1024x348.png)
I clicked the add button to move VM to a Mobility Group.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-11.27.37-1024x326.png)
I now have to provide the information for Transfer and Placement. So basically I have selected the only possible resource pool = Compute-ResourcePool and datastore = WorkloadDatastore. I also switch the migration profile to Bulk Migration and the Folder to VMs migrated to Cloud.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-11.29.11-1024x75.png)
Next Step is to validate the migration option by selecting the two VMs and clicking the Validate button.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-11.39.15-1024x271.png)
The result display a few warnings only related to the VMtools I have installed into my Debian 10 VMs but the validation is Successful.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-11.44.26-1024x317.png)
So I am gonna go ahead and start the migrations by clicking the green Go button.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-11.48.23-1024x252.png)
and confirm it by clicking Validate.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-11.49.45-1024x512.png)
In the beginning it shows only 0% BAse sync as the process starts.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-11.51.34-1024x50.png)
We can click on the group info to see more information.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-11.52.31-1024x131.png)
If I click on the group itself I can the see the list of Virtual Machines that are migrated.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-11.56.03-1024x162.png)
After a few seconds we are starting to see the first event in the windows. If I click on individual VMs I can see the detailed events that is happening as the migration is taking place.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-11.57.10-1024x199.png)
On the lower hand inside, you can see there is a separate section that provides the event information.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-11.58.29-1024x469.png)
This section is divided in multiple part. Currently we see the Transfer Events section. There is a specific color coding there to distinguish tasks that are running on-premise and the one on destination. The darker blue shows the information collected on the target site.
It is possible to update regularly the list of events by clicking on EVENTS.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-12.03.16-1024x272.png)
As the Base Sync in initiated, we can see the remaining time that’s stay to transfer the virtual machine. This is really handful when the size is very large to be aware of the time remaining to complete the transfer.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-12.05.30-1.png)
As the transfer event finishes, meaning the transfer of the VM is completed, we now see a Switch Over events section. This is visible for all of the Virtual Machines.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-12.11.20-1024x284.png)
We can confirm that the switch over is ongoing from the first line.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-12.13.21-1024x53.png)
After the witch over is finished, the latest events are Cleanup Events.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-12.14.04-1024x150.png)
If I go back the Group Info, it shows me that on migration is finished and the other one is ongoing.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-12.15.56-1024x163.png)
All the details of events is now listed in all sections.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-12.19.31-793x1024.png)
All my Virtual Machines are now migrated and we saw a detailed events and real state of the migration of individual VMs.
![](https://vminded.com/wp-content/uploads/2021/04/Screenshot-2021-04-12-at-12.21.13-1024x177.png)
This concludes this post thank you for watching it.
One thought on “HCX Migration Event Details”