Nutanix recommends that you use a single container in an AHV cluster to simplify VM and image management. What if you still have to have more than one container and wish to split existing VMs between the containers?
For example, you created a container named Production and want to move all production VMs to that container.
Since currently there is no Storage vMotion equivalent available to move VMs between containers, what we do as a workaround is that we create images from the vdisk and then use these images to deploy new VMs and selecting the desired container.
A general overview of the process looks this:
Find the VM disk files.
Power off the VM.
Create images from the files found in step 1 using acli.
Create a new VM using acli or using Prism UI. Use the image created in Step 3 as a source for the disk.
Power on the VM and check if everything is working fine. You can delete the old VM or the image if required.
To have a detailed look at the steps and the commands involved, take a look at KB-2663
Have any questions, drop a comment and let’s start a discussion.