Rajiv took advantage of .NEXT to share some statistics regarding the Nutanix Move migration tool, including:
24,000 virtual machines migrated in 12 months for a financial products provider
12,000 virtual machines migrated in 9 months for a Fortune 500 insurance provider
100 virtual machines migrated in 2 weeks for the largest civil litigation firm in Florida
24,000 virtual machines in 12 months—that’s 2,000 VMs per month, 500 per week, and 100 per business day! That’s absolutely enormous! This impressive pace shows that the tool isn’t just designed for migrating small volumes; it’s also perfectly suited for large infrastructure migrations.
Secondly, he announced:
Support for Dell PowerFlex
In-place migration available by the end of 2025
Support for firewall rule migrations (NSX and others) to Flow Network Security starting this summer!
Nutanix Move is a powerful, high-performance, and easy-to-use tool that is constantly expanding with new features, facilitating the overall migration of an existing infrastructure to a Nutanix environment.
It’s finally complete! After about fifty hours spent installing, configuring, testing a lab environment and writing each article, my ultimate Nutanix Move guide on migrating to Nutanix AHV is finally finished.
In total, this represents:
6500+ words
160+ screenshots
50+ hours of work
This is clearly one of the most ambitious projects on my blog! To make it easier to find all of my current or future guides, I have created a dedicated link in the menu.
The guide will probably evolve if I come across new interesting cases to share to expand my feedback.
Don’t forget that the success of your migration to Nutanix AHV will depend greatly on the preparation you do in advance.
You now have the keys to successfully migrating from Microsoft Hyper-V or VMware ESXi to Nutanix AHV.
And if you are still hesitant to take the plunge, do not hesitate to come and share your questions, your fears or even ask other people who have already been there to give you their feedback.
It may happen that you are hosting servers whose operating systems are not supported by Nutanix Move. In these rare cases, you will then have to proceed manually to migrate your virtual machines and you may be faced with post-migration boot issues.
For the demonstration, I chose a really old operating system: Ubuntu 12.04.
This version is not part of the list of systems supported by Nutanix Move for migration and the migration must therefore be done manually:
I have set up a manual migration plan for this virtual machine and I am proceeding with its migration which is going smoothly:
Unfortunately, when starting the virtual machine on the Nutanix AHV side, I encounter a boot problem:
To fix this issue, I shut down the virtual machine, log into my Prism Central, and navigate to the “Compute and Storage > Images” menu:
I click on “Add Image”, select “VM Disk” as the image source and select my Ubuntu12 VM:
I name the disk with an explicit name and click on “Next”:
I leave the image placement option in its default configuration and save:
My disk image will appear in the list of images available on my Nutanix cluster:
I then go back to the “Compute and Storage > VMs” menu and open the control panel of my virtual machine:
The part that interests us concerns the machine’s 2 disks with a virtual disk and a CD-ROM type reader:
The first step is to delete all disks by clicking on the trash icon:
Then, once the 2 disks are deleted, click on “Attach Disk”:
Configure the disk as follows:
1 – Type : Disk
2 – Operation : Clone From Image
3 – Image : select the disk you added initially
4 – Capacity : you can make it any size you want
5 – Bus Type : select PCI
Validate the new configuration of your virtual machine and boot it. The boot problem is now fixed, and the operating system boots perfectly fine:
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
Documentation: https://help.ubuntu.com/ System information as of Thu Sep 26 15:58:58 CEST 2024 System load: 0.0 Processes: 67
Usage of /: 3.5% of 37.68GB Users logged in: 1
Memory usage: 2% IP address for eth0: 192.168.2.137
Swap usage: 0% Graph this data and manage this system at https://landscape.canonical.com/
0 packages can be updated. 0 updates are security updates.
Your Ubuntu release is not supported anymore. For upgrade information, please visit: http://www.ubuntu.com/releaseendoflife
New release '14.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it.
Last login: Thu Sep 26 15:58:05 2024
nutanix@ubuntu24hv:~$
The main problem encountered when migrating these obsolete systems is a boot issue. By following this method, you should be able to migrate all your virtual machines without any problems.
It may happen that you host servers whose operating systems are not supported by Nutanix Move. In these rare cases, you will then have to proceed manually to migrate your virtual machines and you may encounter post-migration network issues.
In my example, I deployed on my ESXi an Ubuntu Server machine in version 24.04LTS, an operating system released only a few months ago. It is not yet officially supported by Nutanix Move according to the documentation:
When creating my migration plan, I did not encounter any errors, I was able to validate the options without any problems, in automatic mode and I start it immediately.
Unfortunately, the automatic preparation of the virtual machine fails:
The message is clear, Nutanix Move cannot install the necessary drivers:
Drivers Installation Failed. Driver(s) virtio_scsi could not be installed for kernel 6.8.0-45-generic
So I delete my migration plan, create a new one manually and shut down the virtual machine without running the scripts:
I then start my migration plan to migrate the virtual machine to my AHV cluster and everything goes well:
Once the data transfer is complete, I launch the switch immediately. The server is migrated:
On the Nutanix AHV side, I can clearly see my freshly migrated virtual machine:
I start the virtual machine to check that the migration went well. The VM starts correctly but it does not take an IP address…
This problem is common with recent operating systems. As a general rule, they integrate the modules and components necessary for full support by Nutanix. However, it is common for the configuration of the network cards not to be correctly resumed after migration.
To correct the malfunction, you must open a console on your VM and perform the configuration manually.
We start by retrieving the name of the interface:
nutanix@ubuntu24e1:~$ sudo lshw -class network [sudo] password for nutanix: *-network description: Ethernet controller product: Virtio network device vendor: Red Hat, Inc. physical id: 3 bus info: pci@0000:00:03.0 version: 00 width: 64 bits clock: 33MHz capabilities: msix bus_master cap_list rom configuration: driver=virtio-pci latency=0 resources: irq:11 ioport:c040(size=32) memory:febd1000-febd1fff memory:fe000000-fe003fff memory:feb80000-febbffff *-virtio0 description: Ethernet interface physical id: 0 bus info: virtio@0 logical name: ens3 serial: 50:6b:8d:c0:82:7b capabilities: ethernet physical
Here it is ens3. Now we will modify the network card configuration file:
nutanix@ubuntu24e1:~$ sudo vi /etc/netplan/50-cloud-init.yaml
This file is generated from information provided by the datasource. Changes to it will not persist across an instance reboot. To disable cloud-init's network configuration capabilities, write a file /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
network: {config: disabled}
network:
ethernets:
ens160:
dhcp4: true
version: 2
Correct the “ens” line with the correct name of your network card and save the file. Apply the configuration:
sudo netplan apply
That’s it, the machine retrieves an IP address.
You get the idea, my example is based on Ubuntu but reproducible on other recent Linux distributions, as long as you adapt the commands to the operating system.
Now that everything is ready, it is time to migrate the virtual machines from the old Hyper-V and ESXi clusters to the new Nutanix AHV cluster using the migration plans previously created.
The different states
A migration plan can be in different distinct states depending on the stage of the migration:
Not Started: You have created the migration plans but have not yet started them
In Progress: The migration plan is launched, the data is starting to be replicated.
Ready to Cutover: The data migration is complete, Nutanix Move continues to synchronize the changes, the virtual machines are waiting to be switched to the target cluster.
Paused: You have paused the process for some reason. The data migration is suspended.
Failed: Error during the process of preparing the machines in general. The anomaly must be corrected in order to resume the operations.
Completed: The virtual machines that have been successfully migrated.
Starting migrations
If you have planned to start one of your migration plans like me, you should already have virtual machines in “Ready to Cutover” status.
This means that they are ready to complete their migration.
For other pending migration plans, you need to start them manually. To do this, check the box in front of the migration plans you want to start, click on the “Action” menu at the top of the list and click on “Start”:
The migration plan starts to execute:
If you followed all the steps correctly, the migration plan should go smoothly. You can track the progress of the plan on the corresponding line, and of the virtual machines in the boxes at the very top:
By clicking on the “2 VMs” in the banner, you will have a step by step guide for each virtual machine:
You can get more details on the operations carried out in the “Events” menu at the top right of the interface:
Synchronizing the data with the new cluster is the longest step of the process and will depend on the volume of your virtual machines.
The cutover
The cutover is the operation that will allow you to finalize the migration from the old cluster to the new one.
You can only perform a Cutover on virtual machines that are in the “Ready to Cutover” state:
To check the status of the virtual machines and proceed with the cutover, click on the “2 VMs” in the “Ready to cutover” frame:
You will then have the list of VMs ready to switch to the new cluster. You can do them all at once, or one by one, it doesn’t matter. It’s up to you. I will migrate Ubuntu_4 by checking the box at the beginning of the line and then clicking on “cutover”:
Validation is required to start the process:
The failover process only takes a few minutes during which Nutanix Move will:
Power off the VM
Create a final snapshot
Synchronize it with the target cluster
Create the target VM
Clean up the source VM (disconnect network cards)
Delete all snapshots created by Move
Consolidate the virtual machine disks
Clean up the target VM
The migration status for this virtual machine then changes to “Completed” and I find it on my Nutanix AHV, started and functional:
The virtual machine is successfully migrated, I just have to do all the others.
You thought it was over and that we would go straight to the migration? Well, not quite! I still have a few things to say and share with you before: my final tips and best practices based on my experience!
Careful preparation
The first and I think most important advice I can give you is to prepare your migration well. List your virtual machines, identify the installed operating systems, check that they are up to date and that the migration prerequisites are met…
It takes time, but it is the key to a successful migration every time.
Measured migration plans
My second piece of advice is to create migration plans of a reasonable size. If the software limit can go up to 100 virtual machines per migration plan, I would advise you to limit yourself to a maximum of twenty machines.
This allows you to better manage your migration, to have fewer potential errors to manage and to be able to correct problems more quickly if you encounter them once the virtual machines have been switched over and to limit the risk of prolonged service interruption.
Homogeneous migration plans
As far as possible, try to create migration plans grouping virtual machines that are similar in terms of operating system. Again, in the event of a problem during the migration, it will always be easier to look for a common error on several servers with the same operating system than between disparate servers.
Take your time
Above all, do not rush! It is better to take your time and make a smooth migration, rather than rushing, encountering problems, being forced to backtrack, etc. Take the time to build your migration plans, to prepare them well, to configure them in their smallest details so that they go smoothly.
Some good practices to follow
Here are some good practices to follow that will allow you to avoid a certain number of inconveniences. There are probably others that I have not mentioned but this already constitutes a solid base:
Check the compatibility of your operating systems.
Check that all the prerequisites are respected upstream.
Check that your clusters can communicate with each other.
Stop the backup jobs before starting your migrations.
In the previous blog post, we saw how to create migration plans from ESXi to AHV. Now it’s Hyper-V’s turn and you’ll see that the process is almost identical!
Prerequisites
For everything to go well, some prerequisites must be taken into account and here are the 3 most important in my opinion:
Creating the migration plan from Microsoft Hyper-V to Nutanix AHV
On the Nutanix Move interface, click on the “+ New Migration Plan” button and name the migration plan:
On the next screen, you must choose the source cluster on the one hand, then the destination cluster with the associated Storage Container:
Here, this gives:
1 – HyperV Cluster
2 – Nutanix Cluster
3 – DefaultStorangeContainer
On the next screen, it’s time to choose the virtual machines you want to migrate by clicking on the “+” buttons at the beginning of the line. Ici je vais choisir uniquement une machine virtuelle que je sais non supportée pour la méthode manuelle :
Here, I chose to select the Ubuntu_4 and Windows_4 virtual machines.
On the next screen, it is the network mapping that needs to be done. For each network available on your Hyper-V cluster, you will need to assign a network from your Nutanix cluster:
Here, I have only one network in my demo environment. If you have multiple networks on your Hyper-V cluster, you will need to create them all on the AHV side in order to achieve an identical mapping on both sides.
The next window allows you to configure the preparation of virtual machines.
Automatic preparation of virtual machines
The recommended mode is the automatic mode because Nutanix Move will take care of all the operations once the machine login credentials are configured.
Please note that automatic mode only works on operating systems fully supported by Nutanix Move.
You will then need to configure the identifiers of the Windows and Linux virtual machines:
The general option is only valid if you have set the same username and password on all your virtual machines (example for Windows: the domain administrator account).
If this is not the case, you can customize all the settings per virtual machine by clicking on “Change settings” under “Override individual VM Preparation”:
Manual preparation of virtual machines
The overall configuration remains the same, but when configuring the virtual machine preparation mode if you choose Manual mode you will have a different page:
No need to provide login credentials to virtual machines. On the other hand, all the automated preparation part carried out by Nutanix Move on your virtual machines will have to be done manually on each machine.
Nutanix Move provides scripts for Linux and Windows servers that you will have to run manually. A much more time-consuming option and source of potential errors that make me systematically prefer the automatic mode.
However, this migration mode may sometimes be necessary, particularly to migrate virtual machines whose operating system is not officially supported by Nutanix Move.
Finalizing the migration plan
On the next screen, the configuration of the virtual machines allows you to prioritize or not the migration operations, to choose the time zone that you wish to assign or even to schedule the start of the data transfer:
Don’t panic though, enabling data transfer does not mean that the machines will be migrated, simply the data of these machines will start to synchronize with the target cluster. This synchronization will continue as long as you do not trigger the migration.
Once your configurations are complete, Move will display a summary of your migration plan:
Click on “Save” to validate it, your migration plan is ready and you can find it on the Nutanix Move home page:
Other migration plans can be created in the same way.
Notre appliance Nutanix Move est déployée, les clusters sources fonctionnant sous VMware ESXi et Microsoft Hyper-V and the target cluster running under Nutanix AHV have been added. The next step is to create the migration plans for our virtual machines.
Prerequisites
For everything to go well, some prerequisites must be taken into account, but the main ones are as follows:
VMware Tools deployed and up to date on all virtual machines
Creation of the migration plan from VMware ESXi to Nutanix AHV
On the Nutanix Move interface, click on the “+ New Migration Plan” button and name the migration plan:
On the next screen, you must choose the source cluster on the one hand, then the destination cluster with the associated Storage Container:
In our case, this gives:
1 – ESXi Cluster
2 – Nutanix Cluster
3 – DefaultStorangeContainer
Obviously, you will have to adapt the selected information to your environment. Depending on the type of server to migrate, you will have to choose the destination Storage Container wisely to adapt the data optimization mechanisms to the workloads you are migrating.
On the next screen, it is time to choose the machines virtuelles que vous souhaitez migrer en cliquant sur les boutons “+” en début de ligne :
In my case, I chose to select the Ubuntu_4 and Windows_4 virtual machines. A small Warning appears on the Windows machine because UEFI is only supported from AOS 5.16. My cluster being in 6.8.1, this will not be a problem.
On the next screen, it is the network mapping that must be done. For each network available on your ESXi cluster, you will have to assign a network from your Nutanix cluster:
Here, I have only one network in my demo environment. If you have multiple networks on the ESXi side, you will need to create them all on the AHV side in order to achieve an identical mapping on both sides.
The next window allows you to configure the preparation of virtual machines.
Automatic preparation of virtual machines
The recommended mode is the automatic mode because Nutanix Move will take care of all the operations once the machine login credentials are configured.
Please note that automatic mode only works on operating systems fully supported by Nutanix Move.
You will then need to configure the identifiers of the Windows and Linux virtual machines:
The general option is only valid if you have set the same username and password on all your virtual machines (example for Windows: the domain administrator account).
If this is not the case, you can customize all the settings per virtual machine by clicking on “Change settings” under “Override individual VM Preparation”:
Manual preparation of virtual machines
The overall configuration remains the same, but when configuring the virtual machine preparation mode if you choose Manual mode you will have a different page:
No need to provide login credentials to virtual machines. On the other hand, all the automated preparation part carried out by Nutanix Move on your virtual machines will have to be done manually on each machine.
Nutanix Move provides scripts for Linux and Windows servers that you will have to run manually. A much more time-consuming option and source of potential errors that make me systematically prefer the automatic mode.
However, this migration mode may sometimes be necessary, particularly to migrate virtual machines whose operating system is not officially supported by Nutanix Move.
Finalizing the migration plan
On the next screen, the configuration of the virtual machines allows you to prioritize or not the migration operations, to choose the time zone that you wish to assign or even to schedule the start of the data transfer:
Don’t panic, enabling data transfer does not mean that the machines will be migrated, simply the data of these machines will start to synchronize with the target cluster. This synchronization will continue as long as you do not trigger the migration.
Once your configurations are complete, Move will display a summary of your migration plan:
Click on “Save” to validate it, your migration plan is ready and you can find it on the Nutanix Move home page:
Other migration plans can be created in the same way.
Nutanix Move – Part 8: Adding the Nutanix AHV Target Cluster
After the source cluster under VMware ESXi, we must now add the target cluster which run Nutanix AHV.
The process is similar to the one used previously for WMware ESXi and Microsoft Hyper-V clusters and I will start by adding an account dedicated to Move on my cluster.
Adding a Move service account
To add the service account dedicated to Nutanix Move on your Nutanix AHV cluster, connect to Prism Element then go to “Settings > Local User Management” and click on “New User”:
Fill in the fields with the necessary information and check the “Cluster Admin” role. Your service account is ready, now let’s add the Nutanix AHV cluster on Nutanix Move.
Adding the AHV cluster on Nutanix Move
In the “Environments” section of Nutanix Move, click on “+ Add Environment”:
Next, fill in the fields with the information corresponding to the Nutanix AHV cluster to which you want to migrate the VMs from the ESXi and Hyper-V clusters:
The required information is as follows:
1 – Environment type, select Nutanix AHV
2 – Name the added cluster
3 – Enter the IP address of the cluster (Prism Element or Prism Central of your choice)
4 – Enter the logins and password of the service account previously created
Wait for a few minutes and your cluster will then be available in NutanixMove :
Your source and destination clusters are now all configured on Nutanix Move, the next step will be to create the migration plans.
Now that our Nutanix Move virtual machine is deployed, it is time to configure our second cluster to migrate: Microsoft Hyper-V.
Creating a Move account on Hyper-V
In the same spirit as for ESXi, in order not to use the “administrator” account of the server or domain and to respect good security practices, I created a user dedicated to Nutanix Move on my Hyper-V cluster.
Once connected to my cluster, right-click on the “Start > Computer Management” button:
Click on “Local Users and Groups > Users” in the Action menu click on “New User” and fill in the necessary fields:
Then, in “Local Users and Groups > Groups”, add the previously created account to the “Administrators” group:
The service account dedicated to Nutanix Move is created on the Hyper-V cluster, now let’s add the cluster on the Nutanix Move side.
Installing the Move Agent
Before you can add your Hyper-V cluster to Nutanix Move, it is imperative to install the Move Agent.
To download it, go to the following URL: https://MOVE-IP/downloads/agents/move-agent-installer.exe by replacing “MOVE-IP” with the IP address you assigned to Nutanix Move.
Once the executable is downloaded, move it to the directory of your choice, for my part I put it at the root of the hard drive. You must then open a Powershell command prompt in administrator mode and run the following command:
move-agent-installer.exe -o install -ip MOVE-IP -u USER
Always replacing MOVE-IP with the IP address of your Nutanix Move and USER with the login of the service account dedicated to Move previously created:
PS C:> .\move-agent-installer.exe -o install -ip 192.168.2.240 -u move Enter password for user [move]:
Hyper-V host pre-checks results:
OS validation successful: [Microsoft Windows Server 2022 Standard Evaluation]
Firewall: Inbound port [8087] is open
Service state: [Hyper-V Virtual Machine Management] is running
Service install successful. Please check logs at [C:\Users\move\Nutanix\Move\4.7.0\logs]. PS C:>
Adding the Hyper-V cluster on Nutanix Move
To add the Hyper-V environment on Nutanix Move, you need to connect to the Move interface and click on the “+ Add Environment” button on the home page:
In the window that appears, you must:
1 – select the Microsoft Hyper-V environment type
2 – name the environment that you are adding
3 – enter the IP address of the cluster or server if there is only one node
4 – enter the username and password of the service account created on Hyper-V
Click “Add” and wait while the cluster is added. You may encounter an error regarding WinRM while adding the cluster. If this is the case, connect to the Hyper_V cluster and type the following powershell command:
winrm quickconfig
If you followed all the steps, your cluster will appear in the list on the left of the Nutanix Move interface:
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
This website uses cookies
Websites store cookies to enhance functionality and personalise your experience. You can manage your preferences, but blocking some cookies may impact site performance and services.
Essential cookies enable basic functions and are necessary for the proper function of the website.
Name
Description
Duration
Cookie Preferences
This cookie is used to store the user's cookie consent preferences.
30 days
These cookies are needed for adding comments on this website.
Name
Description
Duration
comment_author
Used to track the user across multiple sessions.
Session
comment_author_email
Used to track the user across multiple sessions.
Session
comment_author_url
Used to track the user across multiple sessions.
Session
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Matomo is an open-source web analytics platform that provides detailed insights into website traffic and user behavior.