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.

Requirements:

  • AOS – 4.6.1.1 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

Procedure:

  • 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

and VIDEO

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