VMware Cloud Community
mamoth100
Contributor
Contributor
Jump to solution

Cross vCenter Clone

Not finding a lot of information on this so I thought I'd ask here.

Is there a trick to getting cross vCenter clones to happen? When I do a New-VM or New-Template and call a VM or template on one vCenter and put the destination datastore of the other vCenter it tosses an error:

New-Template : 9/17/2018 9:57:04 AM     New-Template            Arguments must be from the same server.

The vCenters in question are in Enhanced Linked Mode on the same SSO domain and such.

Wondering if there is a way to make this happen.

Thanks!

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Did you also try William's Cross vCenter Clone with vSphere 6.0+ script?

You could also clone on the Source vCenter and then cross-vMotion to the other vCenter.

The Move-VM cmdlet supports that afaik.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
5 Replies
LucD
Leadership
Leadership
Jump to solution

Did you connect to both vCenters with the FQDN?
Are both vCenters on the same version (6.0, 6.5, 6.7)?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
SupreetK
Commander
Commander
Jump to solution

Just in case you are okay to do it via GUI, there is a fling tool - Cross vCenter Workload Migration Utility​.

Cheers,

Supreet

0 Kudos
mamoth100
Contributor
Contributor
Jump to solution

Thanks for the response LucD!

Yep. All connections are through FQDN of the vCenter machines. I have 2 vCenters hooked via Enhanced Linked Mode (each having their own external PSC). All components are 6.5U2.

Thanks!

0 Kudos
LucD
Leadership
Leadership
Jump to solution

Did you also try William's Cross vCenter Clone with vSphere 6.0+ script?

You could also clone on the Source vCenter and then cross-vMotion to the other vCenter.

The Move-VM cmdlet supports that afaik.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
mamoth100
Contributor
Contributor
Jump to solution

I saw his script. But it just seemed overkill for what I wanted to do. I was hoping for an easier route than all that code. But if that’s what I have to do, I’ll do that.

I will I’ll give the Move-VM a shot. That seems much easier.

Thank you!

0 Kudos