VMware Cloud Community
jitla1971
Enthusiast
Enthusiast
Jump to solution

Scripts to migrate to a new vcenter

Hello All

We have a situation, where a client wants to migrate from a Windows 6.0 vCenter to VCSA 6.7.

In this instance, they do not want to use the native migration method, which works well.

Instead, they want a new vCenter created and we have to manually replicate the following into the new vCenter.

So looking for scripts which will recreate the following on the new vCenter.

Datacenter

Clusters

DRS Rules

HA Settings

Roles

Permissions

Folders

Alarms

We will manually remove each host from the old vCenter and add it to the new vCenter, into the respective cluster.

But will need a script to move VM's into the original folders.

I have searched the net, but have been unable to locate any new scripts, therefore I am wondering if anyone has any such scripts, which could help in this scenario.

Any assistance would be appreciated.

Jitla

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

There will not be a single script that does all of that afaik.

There are several scripts that export-import a specific component on your list.

Do a search on export - import in this community.

There are a few blogs that present a collection fo such scripts.

See for example Cheap disaster recovery and vCenter PowerCLI Migration Script

These posts are quite old, but should give you a some basics and how to tackle such a project.


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

View solution in original post

5 Replies
johncol
VMware Employee
VMware Employee
Jump to solution

I am not sure of a script that will do this workflow for you - there is a fling for InventorySnapshot , but its for a non prod environment

johncol
VMware Employee
VMware Employee
Jump to solution

I did see Gabrie's Cheap disaster recovery, it has scripts there for importing/exporting....

LucD
Leadership
Leadership
Jump to solution

There will not be a single script that does all of that afaik.

There are several scripts that export-import a specific component on your list.

Do a search on export - import in this community.

There are a few blogs that present a collection fo such scripts.

See for example Cheap disaster recovery and vCenter PowerCLI Migration Script

These posts are quite old, but should give you a some basics and how to tackle such a project.


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

jitla1971
Enthusiast
Enthusiast
Jump to solution

thank you all for all your help.

I will do a search for export and check out the posts Luc has mentioned.

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

If you have issues with exporting/importing specific components, please feel free to ask here.


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

Reply
0 Kudos