VMware Cloud Community
vishalch
Enthusiast
Enthusiast

vCenter Server Migration

Hi Folks,

I want to migrate my existing vCenter 5.1 to vCenter6.

I have deployed the VCSA 6 appliance and configured it.

The next task is to create/copy folder structure ( virtual datacenters, blue folder,etc ) with roles and permissions from old VC server to new one.

I found some PowerCLI scripts, most of them are talking about copying roles and permissions but not about the folder structure creation.

I have round 150 datacenters in my old vCenter server.

Is there any simplest way to accomplish this?

Please Suggest.

Thanks in Advance.

3 Replies
pradeepjigalur
Enthusiast
Enthusiast

The better and efficient approach is to

Step1: Upgrade vCenter 5.1 to vCenter 5.5.x

Step2: Perform migration of  5.5.x to 6.0u2(sunrise migration)

the sunrise migration deploys new vcsa 6.0 and migrates entire vCenter 5.5.x data to new vcsa6.0 appliance

the following link can help

About vSphere Migration

vishalch
Enthusiast
Enthusiast

Thanks Pradeep,

Unfortunately. the VCSA 6.0 has already been deployed. It is deployed in a different vcenter server, which is not managed by us.

Is it possible to export and import the complete folder structure from old to new vCenter?

I found some scripts to export and import ONLY Roles and Permissions but found nothing that can help with the export/import of the complete structure.

The structure is as shown below. These folders are in Hosts and Clusters view.

<vCenter-Server>

-----------------Folder-1

-----------------------Folder-1.1

-----------------------------DC-1.1.1

-----------------------------DC-1.1.2

-----------------------Folder-1.2

-----------------------------DC-1.2.1

-----------------------------DC-1.2.2


-----------------Folder-2

-----------------------Folder-2.1

-----------------------------DC-2.1.1

-----------------------------DC-2.1.2

Thanks in Advance.

0 Kudos
vThinkBeyondVM
VMware Employee
VMware Employee

This fling was developed long back in vSphere 4.1 time frame: InventorySnapshot

Please see if it can help you. If above does not work, let me know I can give a try on developing a script to achieve your requirement.


----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

0 Kudos