Migrate Suse Linux from VMware ESXi to Nutanix AHV in minutes

A week ago I posted how to Migrate Windows 2012R2 server from ESXi to AHV in 5 minutes. Today you can see that migrate Suse Linux from VMware ESXi to Nutanix AHV is even easier.

NOTE: Assumptions are:

  • vSphere VM VMDK files are already on Nutanix NFS container and networking on ANH is ready.
  • you know how to use vi 😉

In my post I will migrate SLES 11SP4 from VMware vSphere 6 to Nutanix Acropolis Hypervisor aka AHV. Most important before you start is to check kernel version. Linux kernel in 2.6.1 and newer has virtIO modules baked in.

Next, check if current initrd has virtio modules build in

If there is no value returned, you have to build new or update current initrd.

Edit kernel config file vi /etc/sysconfig/kernel

Locate line INITRD_MODULES and insert following modules names between ” ”

  • virtio
  • virtio_net
  • virtio_blk
  • virtio_pci
  • virtio_scsi

Run command mkinitrd to build new mkinit with virtio drivers.

Verify id new modules are appear in  newly build initrd

Now you are ready to stop VM on VMware vSphere.

Once stopped, switch to Nutanix Prism and create new VM. Add new disk with:

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

Create VM based on VMware VM disks

Add new network adapter and connect it to right portgroup. Power VM on. Open console and log in to VM using local account. Run yast2 and configure new network with correct IP, you can remove old eth0 adapter. One more action left to complete is to remove VMware tools and remove VMware related modules from kernel config. From /etc/sysconfig/kernel you can remove VMXNET3 and vmw_pvscsi modules. Build new initrd and reboot server.

That’s it. Below video with all steps. Feel free to leave comments or suggestions.

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 has been in IT industry since 1999 and consulting since 2008. Artur holds VMware Certified Design Expert certification (VCDX #077).

  • Day

    hi actually i use opensuse 10.3 with kernel for my development, and i can’t find any virtio module when i run

    grep -i virtio /boot/config-

    so my assumption is there is no virtio modules on my system, i can’t find any virtio modules available on opensuse, any sugestion for this case