VMware vSphere

 View Only
  • 1.  where are definitions for Resource Pools stored?

    Posted Apr 05, 2022 03:51 PM

    Hi all,

    I turned off DRS on a cluster which was being downsized to one node (to be decommissioned in the near future).

     

    By doing this i lost the resource pool which was previously defined on this cluster. Unfortunately i did not know that a user was running a deployment on it which did needed the resource pool. (i found out now that you can save a sort of snapshot of your resource pool tree. Great info for the future but a little to late for this particular situation)

    I have a backup/snapshot for our vcenter from prior to the moment when i turned of drs. If i restore this: will it also restore the needed resource pool? (in other words: are resource pool definitions stored internally in the vcsa appliance?) Or are they lost in my scenario?

     

    Thanks in advance

     

    Greetings

     

    Jeroen

     

     



  • 2.  RE: where are definitions for Resource Pools stored?

    Posted Apr 06, 2022 09:00 AM

    why not simply create a new resource pool?



  • 3.  RE: where are definitions for Resource Pools stored?

    Posted Apr 06, 2022 09:00 AM

    restoring a snapshot or backup could also role back other things?



  • 4.  RE: where are definitions for Resource Pools stored?

    Posted Apr 06, 2022 09:25 AM

    I'm aware of that. (and since i'm the admin of the environment i know this will not be a problem)



  • 5.  RE: where are definitions for Resource Pools stored?

    Posted Apr 06, 2022 09:24 AM

    The software in question is looking for a resource  pool with a specific ID (not only the name). So simply creating a resource pool is not enough. (i also looked around if you can manipulate the internal id for a resource pool but could not find anything to do that.)



  • 6.  RE: where are definitions for Resource Pools stored?

    Posted Apr 06, 2022 09:26 AM

    Extra info:

    this is the error message we get:

    Error response from daemon: Server error from portlayer: The object 'vim.ResourcePool:resgroup-1273981' has already been deleted or has not been completely created

     



  • 7.  RE: where are definitions for Resource Pools stored?
    Best Answer

    Posted Apr 13, 2022 12:40 PM

    I will answer my own question:

    I did a restore of the vcsa to a version prior to switching off DRS/delete of the resource pools and they where indeed restored as i had hoped. So they are indeed saved internally in the VCSA vm. 

     

    The resource pool snapshot mechanism on the other hand was totally useless in this situation as it merely creates a resource pool with the same name as the old one and moves the vm's that were in the old one back into it. It however does NOT restore the exact same resource pool with the exact same id. (which is what i needed in this scenario)

    Hope this info can be usefull to someone finding him/herself in the same situation.

     

    Greetings

     

    Perre