P2V Windows Servers to AHV

  • 23 October 2019
  • 0 replies
  • 13272 views

Userlevel 3
Badge +4

 

Physical Windows Server to Virtual conversion (P2V for AHV)

 

Depending on the number of physical servers in your environment, you might want to convert them tovirtual servers and migrate over to Nutanix AHV. 

 

Nutanix Image Service supports VHD, VMDK, vDISK, IMG, qcow formats for disk images.

 

Summary:

1) Prepare the Physical Windows Server - Install Virtio Drivers from:
    Nutanix Portal > Downloads >  Tools & Firmware > Virtio


2) Download Disk2VHD from Microsoft site:
(https://docs.microsoft.com/en-us/sysinternals/downloads/disk2vhd)


3) Convert the Disk or Disks (Make sure to select "bootable" for the appropriate disk)


4) Upload the Converted Disk to Nutanix Cluster via Image service
 

Uploading VHD to the Cluster via Image Service:

1) You can upload via the browser or

2) Image service also allows for uploading files via http source (existing or new web-server required)

 

Once the converted VHD is uploaded to the Image Service, we can now create a new VM


Create a New VM:

Create the new VM as you normally would (vCPU / RAM / Network), when adding a new disk:

a) Clone from Image Service

b) Bus Type = SCSI

c) Mark Bootable for the appropriate disk

 

Windows should boot normally, if this windows server was booting from a UEFI partition, the Virtual Machine won't boot successfully.

 

To make a UEFI VM boot:

SSH to a CVM on the same cluster

acli vm.update <vm.name> uefi_boot=true

 

Power off the VM and Power it back on. The converted Windows Server should boot successfully.

Please Note : This is not officially supported by Nutanix - and is suitable for a small Physical to Virtual conversion. if you require converting more than 2 Physical Servers to AHV - you can use “SureLine Migrator” by www.surelinesystems.com


This topic has been closed for comments