Moving VM between 2 vcenters in different subnets

I want to move VMs from one Vcenter (5.5) to another (5.5).
The vcenters are in different sites. Each site has its own subnet.
The two sites are in transitive trust and same domain.

Any ideas?

Thank you
simo simoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ben Personick (Previously QCubed)Lead Network EngineerCommented:
you could use linked mode to manage one vcenter from thd other and migrate the VM.

obviously this would be an offline move no matter the method, since you're going to be changing what vswitches it connects to and need to re-IP it accordingly.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Export and Import, or use VMware Converter.
simo simoAuthor Commented:
Thank you Andrew.
My concern is networking, because it’s different Vswitches and subnet.
I was thinking about adding new network card
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Networking will not affect - Export and Import, or use VMware Converter.
Ben Personick (Previously QCubed)Lead Network EngineerCommented:
Maurice, the move will be offline for almost any scenario, and you'll have to change the settings onxe migrated.

There are a couple ways you can do an online migration and have the new NIC on a other network which would become reachable once moved.

however I don't see the point of doing that scenario as it would still be changing which IP it was reachable on.

However, if you wanted to, you could if conditions are right.

First off you would need to make sure the hosts in both vspheres can reach each other, and the destination vcenter can reach the hosts in the source vsphere.

if using distributed vswitches, its probably better to do these three steps first (assuming the networks are not named the same -- if they are named the same, you can just do step 3 and IP can be on ths same nic as an alternate with some routes if you prefer)

(if using host local vswitches it can be done before or after step 5, and before step 6)

1) setup a vswitch on the destination vcenter with the samd name as the one used by the source VM and add at least 1 host to it.

2) Setup a new vswitch in the source with the same name as in the destination, which goes to no-where.

3) Then connect an extra vnic from the vm to the network, and set it up with the IP address info you want the vm to have on that network.

4) right click on the host from source vcenter, disconnect it.

5) in the destination vcenter add the host with the VM you want to migrate.

6) confirm all settings between systems are correct

7) add a datastore to the moved host that the other esxi servers have access to (if  the VM is not one already)  -- storage vmotion the vm to a shared datastore.

8) vmotion the vm to another host (take care of any incompatabi lities reported if needed).

9) log into the vm and change the default gateway and remove old ip config info as nessessary.

I'm on mobile, and there can be a lot more gotchas on this, but essentially that will work.

I'm not sure why you'd want to do an online migration of this sprt, but it is a doable one.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.