VMware Cloud Community
ekrejci
Enthusiast
Enthusiast
Jump to solution

how to duplicate entire ressource-pools with childs pool

Hello,

we have several resource-pool within a cluster. each of the "root" resource pool have several child pools. more than 6 levels.

I'm trying to find a way to re-create these resource pools, but I'm stick for the recursively.

the thing is the get-resourcepool doesn't list them in a hierarchical way and I cannot create a child before its parent...

can someone tell me which method should be used?

many thanks

Eric

0 Kudos
1 Solution

Accepted Solutions
SCampbell1
Enthusiast
Enthusiast
Jump to solution

I have also posted this somewhat tested script as a document NARPC (Not Another Resource Pool Copier)

Oct 27: An improved script is posted as a document at http://communities.vmware.com/docs/DOC-8400

View solution in original post

0 Kudos
6 Replies
SCampbell1
Enthusiast
Enthusiast
Jump to solution

I have also posted this somewhat tested script as a document NARPC (Not Another Resource Pool Copier)

Oct 27: An improved script is posted as a document at http://communities.vmware.com/docs/DOC-8400

0 Kudos
ekrejci
Enthusiast
Enthusiast
Jump to solution

SCampbell,

you are great.

it work perfectly.

thank you again

Eric

0 Kudos
ekrejci
Enthusiast
Enthusiast
Jump to solution

Hi again,

I took the opportunity to add the copy of the specifics permissions at the resource pool level.

thank you again

0 Kudos
SCampbell1
Enthusiast
Enthusiast
Jump to solution

It occurred to me we needed permissions after I had posted it.

May I update my posted NARPC (Not another resource pool copier) with your permissions changes, with credit?

Thanks...

0 Kudos
ekrejci
Enthusiast
Enthusiast
Jump to solution

Hi,

you don't really need to credit me as I found the perms configuration in an other post. I just merged the 2 in 1.

http://communities.vmware.com/thread/174565

Eric

0 Kudos
SCampbell1
Enthusiast
Enthusiast
Jump to solution

Thanks!

I have updated the NARPC (Not Another Resource Pool Copier) script at http://communities.vmware.com/docs/DOC-8400 to incorporate your permissions copy process, and have also added command-line processing and prompts.

0 Kudos