Automation

 View Only
  • 1.  how to duplicate entire ressource-pools with childs pool

    Posted Oct 23, 2008 09:05 AM

    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



  • 2.  RE: how to duplicate entire ressource-pools with childs pool
    Best Answer

    Posted Oct 23, 2008 11:24 AM

    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



  • 3.  RE: how to duplicate entire ressource-pools with childs pool

    Posted Oct 23, 2008 02:38 PM

    SCampbell,

    you are great.

    it work perfectly.

    thank you again

    Eric



  • 4.  RE: how to duplicate entire ressource-pools with childs pool

    Posted Oct 24, 2008 01:27 PM

    Hi again,

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

    thank you again



  • 5.  RE: how to duplicate entire ressource-pools with childs pool

    Posted Oct 24, 2008 01:48 PM

    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...



  • 6.  RE: how to duplicate entire ressource-pools with childs pool

    Posted Oct 27, 2008 07:45 AM

    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



  • 7.  RE: how to duplicate entire ressource-pools with childs pool

    Posted Oct 27, 2008 02:40 PM

    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.