Migrating a Linux appliance running on ESXi over to an AHV environment can be tricky. The steps below should help migrate quite a few appliances over, but just note that some appliances won’t work in AHV at all. Check with the appliance vendor to see if they support AHV before attempting any migrations.
Steps for migrating Linux appliances to Nutanix:
1. Log into vSphere
2. Shut down the appliance
3. Right-click the appliance and select Template > Export OVF Template
4. Enter the name and notes for the appliance
5. Check the box for Advanced options
6. Select 'include MAC addresses'
6. Click OK
7. Wait for the files to finish downloading
8. Once the files have all downloaded, log into Nutanix Prism Central
9. Go to Compute & Storage > Images
10. Click on 'Add Image'
11. Select 'Image File' and click 'Add File'
12. Select each .vmdk file that was downloaded from vSphere one at a time
13. Enter an appropriate name for each disk if necessary
14. Click Next
15. Select 'Place image directly on clusters', ensure the correct cluster is selected
16. Click Save
17. Wait for the VMDK files to upload
*Do not navigate away from the image page while the VMDKs are uploading
*May need to upload one VMDK at a time
18. Once the VMDKs have uploaded, verify they show up in the list of images
19. Go to Compute & Storage > VMs
20. Click on 'Create VM'
21. Enter the VM name and description (should be the same info as in vSphere)
22. Enter the same amount of CPU, cores amd RAM as listed in vSphere
23. Click on 'Attach Disk'
24. Use the following disk settings:
-Type: Disk
-Operation: Clone from Image
-Image: [select the VM's first VMDK]
-Change the bus type to IDE
25. Attach any additional VMDKs that come with the VM
26. Click on 'Attach to Subnet'
27. Select the same subnet name as assigned to the VM in vSphere
28. Click Save
29. Click Next
30. Set the time zone
31. Click Next
32. Click 'Create VM'
33. Wait for the VM to finish creating
34. Power on the VM and watch the console to confirm that it comes up properly
35. Confirm that the VM is pingable
36. Have the appropriate team verify that the appliance services are functional
37. Cleanup:
-Go to Compute & Storage > Images
-Select the VMDKs that were just uploaded
-Delete the VMDK images
-Delete the VMDK images that were exported from vSphere to a folder location
***
For some appliances:
Once VM is powered on in Nutanix, open the console and log in
Run the command ‘ip addr’ without quotes
Check and document the altnames for eth0
Run the following command:
sudoedit /etc/system/network/static.network
Press the Input key to make changes in the file
Change the [Match] name to the current altname for eth0
Press the following keys: [Esc], then ‘:wq’ without quotes
Type in ‘sudo reboot’ without quotes
Check if the VM responds to ping when it comes back up
Leave a Reply