Migrate RHEL 6.5 from ESXi to Nutanix AHV

In two previous blog posts I described how to migrate Windows 2012R2 from VMware ESXi to Nutanix AHV and SUSE 11SP4 from VMware ESXi to Nutanix AHVHV

Today quick guide how to Migrate RHEL 6.5 from ESXi to Nutanix AHV. RHEL 6.5 is fairly modern operating system so there is not much work during migration.


  • AOS – or newer
  • AHV – 20160217.2 or newer
  • vSphere 5.0 U2 or newer
  • connectivity between legacy ESXi servers and Nutanix CVMs over NFS
  • remove all snapshots from VM


  • Check RHEL and kernel versions first

  • Verify if you have virtIO modules present. As you can see – modules are present

  • Check if virtio modules are part of the initramfs. RHEL 6.5 has virtio drivers build it. If there is not output – no modules, meaning you have to create either new initrd or initramfs images.

  • create new initrd with virtio modules – RHEL 5.X

  • create new initrd with virtio modules – RHEL 6.X

  • check new initrd (RHEL 6.X), virtio modules are there. we can stop server

Log in to Prism and create Virtual Machine. Remember to add vNIC and disks. Disks must be added in right order. When adding disks remember to choose below options:

  • Operation: clone from NDFS file
  • SCSI bus as source use
  • VMware vSphere guest -flat vmdk file only.

Power new VM and launch console. Let’s fix networking.

  • Remove below file and reboot server

  • Edit the same file and:
    • note down MAC address
    • change eth1 to eth0

  • Edit network configuration file and:
    • remove UUID
    • change MAC address

  • restart networking services and you should have network up and running


Migration series

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).

  • j2blue

    Art, I tried this on a CentOS 6.6 VM originally running on ESXi. Most everything went ok but after restarting the network service I got “Device eth0 does not seem to be present…” when it tried to bring up that interface. Has something changed in AHV since you wrote this article? I will try restarting the VM on AHV next and see if that works.

    • What AHV version you have? I will have to test if it is AHV specific or Guest VM specific.

      • j2blue starter.

        • this is AOS version, I need AHV version, should be starting 2016XXXX.XX

          • j2blue

            Sorry bout that. Here it is: 20160601.20