Move Agent on Hyper-V Host

Hyper-V to AHV Using Nutanix Move MIGRATION

HYPER-V TO AHV USING NUTANIX MOVE MIGRATION

Nutanix Move is compatible with following Microsoft Hyper-V Hypervisor.

  • Windows Server 2012 with Hyper-V Server (Standalone and failover Cluster)
  • Windows Server 2012 R2 with Hyper-V Server (Standalone and failover Cluster)
  • Windows Server 2016 with Hyper-V Server (Standalone and failover Cluster)
  • Microsoft Hyper-V Server 2012 Server (Standalone and failover Cluster)
  • Microsoft Hyper-V Server 2012 R2 Server (Standalone and failover Cluster)
  • Microsoft Hyper-V Server 2016 Server (Standalone and failover Cluster)
  • Microsoft Hyper-V Server 2019 Server (Standalone and failover Cluster)

Note :Windows Server 2k8 is Hyper-V hypervisor is not supported. You can fallow this article Manual Migration.

General Requirements for migrating VMS :-

  • PowerShell version must be 4.0 or later
  • WinRM is enabled on the Guest OS level.
  • Guest VMS should be communicated with Nutanix move for automatic and Manual migration.
  • Google Chrome, Microsoft Edge, Mozilla Firefox are the supported and recommended browsers.
  • Ensure that the Virtual Machines have Hyper-V integration services installed and IP address is present in the Networking tab of the Hyper-V manager for automatic VMs migration.
  • For Automatic Migration mode :- Ensure WinRM is configured on Hyper-V servers and Windows guest VM and ports are open in firewall Windows Remote Management (WinRM) feature to work.WinRM-HTTPS: 5986 WinRM-HTTP: 5985
  • Local administrator account is recommended for migration.
  • User credentials entered during migration should have administrator level privileges.

This diagram will show how Nutanix Move works with Hyper-V.

HYPER-V TO AHV USING NUTANIX MOVE MIGRATION
HYPER-V TO AHV USING NUTANIX MOVE MIGRATION

Adding Windows Hyper-V Source Environment

Once you login into the Nutanix move console

  1. Click on add environment
Add Environment
Add Environment

2. Enter the details

Move hyper-v agent automatic installation failed
Move hyper-v agent automatic installation failed

If you have not installed Move agent in Source Hyper-V Server. You will get below error.

Move hyper-v agent automatic installation failed. Failed to download Move agent installer file on Hyper-V host: Please check if file exists on move appliance.

Following are the reason of this error :-

  • Move Agent is not installed in Source Hyper- V Server
  • Take MSTSC and ope the browser and type :-
http://<move-ip>/downloads/agents
or 
http://<nutanix-move-ip>/downloads/agents/move-agent-installer.exe 

Replace <nutanix-move-ip> with the IP address of the Move VM.

move-agent-installer
move-agent-installer

By default, the agent is downloaded in download folder,and copy or move the downloaded file under “C:\users\Administrator” or domain administrator.

  • Open the command prompt with “Run as administrator”
move-agent-installer.exe -o [operation] -ip [move ip] -u [user]
Move Agent on Hyper-V Host
Move Agent on Hyper-V Host

Try again adding Hyper-v environment this time it will work without any issue

Hyper-V Environmental
Hyper-V Environmental

Now create new Migration plan and start migrating VMS which is the same as VMware to AHV.

Supported Guest Operating systems from Hyper-V to AHV.

Sr. NoOperating SystemGen 1 SupportedGen 2 Supported
1Windows Server 2019YesYes**
2Windows Server 2016YesYes**
3Windows Server 2012 R2YesYes**
4Windows Server 2012YesYes**
5Windows Server 2008 (32 bit)NA – TargetNA – Source
6Windows Server 2008 (64 bit)NA – TargetNA – Source
7Windows Server 2008 R2YesNA – Source
8Windows Server 2003 SP2 (32 bit)NA – TargetNA – Source
9Windows Server 2003 SP2 (64 bit)NA – TargetNA – Source
10Windows 7 (32 bit)YesNA – Source
11Windows 7 (64 bit)YesNA – Source
12Windows 8 (32 bit)YesNA – Source
13Windows 8 (64 bit)YesYes**
14Windows 10 (32 bit)YesNA – Source
15Windows 10 (64 bit)YesYes**
16RHEL 6.5 – 6.9, 7.x (64 bit)YesNA – Target
17CentOS 6.5 – 6.9, 7.x (64-bit)YesNA – Target
18Ubuntu 14, 16, 18YesYes **
19FreeBSD 11YesNA – Source
20Debian 9.4YesNot Certified
21Oracle 7.xYesNot Certified

If the source VM is created using Secure boot with UEFI, Need to enable uefi in AHV.

nuntanix@CVM#acli vm.update <vm_id> uefi_boot=True

Must be enabled for the below operating system
CentOS 7.4 2, 6.8 3, 8, 8.1, 8.2
Ubuntu 12.04 4, 19.04
Oracle linux 7 5
RHEL 6.8, 8.1

Guest VM State Which is not supported by Nutanix Move.

  • VM with no NICs.
  • VM with physical disks.
  • VM with no Vdisks.
  • VM with shared Vdisks (2016 onwards)
  • VM which is not in powered ON/OFF state.
  • VM with warnings or alerts.

Leave a Reply