VMware Cloud Community
Sundararajan
Enthusiast
Enthusiast

Move vsphere vm between vcenters

Hi,

How to move a VM between vCenters.

If source vC and Destination vC is on same version and different version.

0 Kudos
4 Replies
leonhardtla
Expert
Expert

You can export the virtual machine or if you use shared storage between vCenter host , you remove the vm the origin and register with the other vCenter .

----- Leandro Ariel Leonhardt: Virtualized System Architect at GrupoSothis.com. VSAN vExpert 2016, vExpert 2017/16/15/14/13, VMware Certified Instructor, VCAP5-DCA, VCP6/5-DCV, VCA-DCV, Nutanix NPP/NSEN & Nutanix Technology Champions (NTC). | Founder of BlogVMware Blog: https://www.blogvmware.com & Nutanix Course http://vExpert.me/Z0 Si encuentras que esta o cualquier otra respuesta fue de utilidad, por favor da el voto. Gracias. If you find this or any other answer useful, please consider awarding points. Thank you.
0 Kudos
admin
Immortal
Immortal

Additionally you can export the VM as OVF or use VMware Converter.

0 Kudos
rurffy
Enthusiast
Enthusiast

Go to your source Host datastore - browse to the VM folder - copy the files...

go to your destination datastore - create a folder and paste the file -

right click on the xxx.vmx file "Add to inventory"

Problem solved!!

Gortee
Hot Shot
Hot Shot

Morning,

I agree with rurffy and some of the other answers to provide it in summary:

Options:

1. Export vm as a OVF and import into new system - Pro's clean Con's slow as crap lots of downtime copy up and down

2. Shutdown VM and use SFTP between your esxi hosts to send it - Pro's clean con's slow as crap lots of downtime only one copy

3. Share storage between esxi nodes and storage vmotion to shared storage then power off and add to inventory in new vcenter - Pro's least downtime

4. Add one ESXi node in the destination location into the sources vcenter and use storage vmotion without shared datastores (must be running 5.1) - Pro's no downtime Con's fails a lot

5. Use vsphere replication to replicate the vm from the source to the destination with a 15 minute interval then shut down source for 15 mins ensure replication and power on in destination - Pro's - No manual intervention required Con's 15+ minutes of downtime per host plus need to install replication agents

I might be missing one or two additional possible options but which one you choose really depends on your requirements around downtime and your hardware available options.   I do #3 a lot because most people are willing to endure a reboot of the vm.  

Please let me know if you have any questions.

Thanks,

Joseph

Joseph Griffiths http://blog.jgriffiths.org @Gortees VCDX-DCV #143
0 Kudos