Solved
Is it possible to live migrate a VM from one AHV cluster to another AHV cluster ?
Is it possible to live migrate a VM from one AHV cluster to another AHV cluster ? or live migration is only within one AHV cluster ??
Best answer by smueller
There is actually no way, to migrate live VMs from Cluster to Cluster.
We have a workaround for this, which requires the VMs to be offline:
You can export the VM in QCOW2 on the commandline on AHV Cluster A.
Download the file and import on the AHV Cluster B.
After importing the image, you can set up an new VM and clone the disk out of the imported file.
Download it with SCP or another software.
Import via Image Configuration on the target system.
View originalWe have a workaround for this, which requires the VMs to be offline:
You can export the VM in QCOW2 on the commandline on AHV Cluster A.
Download the file and import on the AHV Cluster B.
After importing the image, you can set up an new VM and clone the disk out of the imported file.
- Log in to the shell of your CVM
- Get the Container your VM is stored with nfs_ls
- Get the vmdisk_uuid with the command "acli vm.get "
code:
qemu-img convert -f raw nfs://127.0.0.1//.acropolis/vmdisk/ -O qcow2 /home/nutanix/.qcow2
Download it with SCP or another software.
Import via Image Configuration on the target system.
This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.