Migrate Windows XP from VMware vSphere to Nutanix Acropolis

Shares

Today’s post is how to Migrate Windows XP from VMware vSphere to Nutanix Acropolis. You would be surprised (or not 😉 ) how many enterprises runs their desktops on Windows XP. There are various different reasons behind it. One of the most common is legacy application, which requires Windows XP.

NOTE: Windows XP it is not officially supported as guest operating system on Nutanix AHV. For list of supported guest operating system see Nutanix official documentation

Requirements:

  • AOS 4.7.2.1 or newer
  • AHV 20160601.20 or newer
  • network connection between legacy VMware vSphere and Nutanix Acropolis
  • mounted container from Nutanix Acropolis on legacy VMware ESXi farm
  • basic knowledge about Nutanix Acropolis and VMware vSphere
  • Images with VirtIO drivers in two versions:
    • latest – for virtIO drivers – you can download it from Fedora project
  • VM local administrator password
  • Remove all snapshots from VM, before migration

Step #1 – Storage migrate virtual machine VMDK files to Nutanix container

Use vSphere client and migrate VM disks to Nutanix AHV container.

Step #2 – Install  MergeIDE.bat

MergeIDE.bat. This is a really important step that will prepare the system to boot using an IDE driver when we bring it up in KVM. Skipping this step will likely result in blue screen errors and much frustration.

MergeIDE can be downloaded at:
http://www.virtualbox.org/attachment/wiki/Migrate_Windows/MergeIDE.zip

NOTE: restart VM after installation and shut server down.

Step #3 – Create VM on Nutanix AHV

  • Shutdown source VM
  • Create new VM on AHV
    • in disk section, choose following:
      • Operation: CLONE FROM ADSF FILE
      • BUS Type: IDE
      • Path – start with / and Prism will show you available container / folders / files – Always point on -flat.vmdk file
      • Size – disk size – cannot be smaller than source VM
Migrate WinXP to AHV

Migrate WinXP to AHV

  • Mount ISO to CDROM with Fedora VirtIO drivers
  • Create one more disk, 1 GB, with PCI bus
  • Create new network adapter and conenct it to the right vlan
  • Power VM on

Step #4 – Install VirtIO drivers

  • Log in to server VM over Prism console
  • Follow Hardware installation wizards:
    • for network adapter
    • for SCSI controller – just leave it without drivers, no SCSI drivers for Windows XP
    • for PCI disk controller
    • for (PCI device) Ballooning

Step #5 – Clone VM disks

In Step #5 we will change disk bus from IDE to PCI, which is much faster and more reliable.

  • Power VM off
  • From Prism – delete small, 1 GB, disk from VM
  • Log in to CVM over SSH and convert IDE1 disk to PCI.0 disk
    • List VM disks – vm.disk_list <vm_name>
<acropolis> vm.disk_list WinXpSP3
Device bus  Device index
ide         0
ide         1
pci         0
<acropolis>
  • Delete pci.0 –  disk vm.disk_delete WinXpSP3 pci.0
  • Get VM details and check which disk is not CDROM disk. In my example, ide.0 is OS disk (ide.1 has cdrom: True). Note down vmdisk_uuid
<acropolis> vm.get  WinXpSP3
WinXpSP3 {
  config {
    annotation: ""
    disk_list {
      addr {
        bus: "ide"
        index: 0
      }
      container_id: 10343366
      container_uuid: "2cfc19fa-10d7-40db-8815-ba10baf86cb5"
      source_vmdisk_uuid: "6419ab58-77ef-4f90-be95-f017a760c12a"
      vmdisk_size: 21474836480
      vmdisk_uuid: "c7ce75d0-6c54-4d7b-acbc-d07f429c8a5d"
    }
    disk_list {
      addr {
        bus: "ide"
        index: 1
      }
      cdrom: True
      container_id: 8
      container_uuid: "e6c60f08-7111-43d5-a147-e69c2b6513e1"
      source_vmdisk_uuid: "65a9b560-1ce1-4275-9bad-086dbdd5f907"
      vmdisk_size: 74143744
      vmdisk_uuid: "8a7b560c-29f9-420b-aaca-90b6dc7795c8"
    }
    max_hotplug_memory_mb: 262144
    memory_mb: 2048
    name: "WinXpSP3"
    nic_list {
      mac_addr: "52:54:00:f5:85:81"
      network_name: "VLAN88"
      network_uuid: "10793af9-0fcf-4fa7-b1e0-ad3622b2bb18"
    }
    num_cores_per_vcpu: 2
    num_vcpus: 1
  }
  host_name: "10.4.91.53"
  host_uuid: "3e15fc7d-8427-4572-9636-2237d828d28c"
  logical_timestamp: 4
  state: "kOn"
  uuid: "1f8bf259-4c76-46f8-b89d-5449891c52aa"
}
<acropolis>
  • Convert ide.0 to pci.0
<acropolis> vm.disk_create WinXpSP3 clone_from_vmdisk=c7ce75d0-6c54-4d7b-acbc-d07f429c8a5d  bus=pci
DiskCreate: complete
<acropolis>
  • Delete disk ide.0 from VM –  vm.disk_delete WinXpSP3 ide.0

Power VM on and you are done.

0 0 votes
Article Rating

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).

You may also like...

Subscribe
Notify of
guest
5 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Shawn Ducharme

Great article. Any luck migrating 64bit Windows XP to AHV? I have had no success, unable to run MergeIDE on 64bit Windows XP or 64bit Windows Server 2003 OSes.

Shawn.

Sion

hi, i tried this step…
i have problem in this step:
start with / and Prism will show you available container / folders / files – Always point on -flat.vmdk file

my nutanix dont show the folder/files and .vmdk file i uploaded

advise?

g-suite tech support

There are so many users who are associated with the Windows XP but it is not supporting anymore from the Microsoft. So I suggest them to migrate the Windows XP from VMware vSphere to Nutanix Acropolis. It will work for them.

5
0
Would love your thoughts, please comment.x
()
x

FOR FREE. Download Nutanix port diagrams

Join our mailing list to receive an email with instructions on how to download 19 port diagrams in MS Visio format.

NOTE: if you do not get an email within 1h, check your SPAM filters

You have Successfully Subscribed!

Pin It on Pinterest