clone VM from AHV to ESXi


clone VM from AHV to ESXi

get vmdk UUID
acli vm.get {VM name}


export vmdk
qemu-img convert -O vmdk nfs://127.0.0.1/{container}/.acropolis/vmdisk/{vmdk UUID} nfs://127.0.0.1/{export container}/{export vmdk name.vmdk} &



verify export vmdk processing
ps -A |grep qemu
if show nothing or done,it’s mean completed


mount this comtainer to ESXi host
create VM for this vmdk
and copy the vmdk file to the VM directory

ssh to ESXi host
cp {source vmdk path} {destination path} &


you can use winscp to verify the copy schedule


create the vmdk disk descriptor(Nutanix default use Thin Provisioned)
vmkfstools -i {source vmdk} {new vmdk} -d thin


mount this vmdk on ESXi VM
and it should be power on success

if the OS is windows 10,need UEFI boot
edit setting->VM options->Boot Option->Firmware select to EFI





留言

這個網誌中的熱門文章

Easy way for Try out o365 E3 - Step2 - Install Azure AD connect sync AD account to o365

AHV - migrate all VM on one node to other node

Win7 RSAT & 2003R2 ADWS