Automation

 View Only
  • 1.  Set scalable shares via PowerCLI

    Posted Oct 17, 2022 03:07 PM

    Hi all,

    We are looking to enable Scalable Shares on our Ressource Pools.

    Since we have many big environments, we are looking to do that via a PowerCLI script.

    Is it possible to enable Scalable Shares via PowerCLI?

    The option scaleDescendantsShares exists in the mob on the cluster ressource object and has the value "scaleCpuAndMemoryShares", when Clusterwide Scalable Shares are enabled. Is it possible to set these options directly via PowerCLI?

    Greetings,

    Florian



  • 2.  RE: Set scalable shares via PowerCLI

    Posted Oct 17, 2022 04:18 PM

    Not via a cmdlet in the current PowerCLI version afaik.

    But you can use the API method ReconfigureComputeResource
    Btw, scaleCpuAndMemoryShares and disabled are the only possible values in the ResourceConfigSpecScaleSharesBehavior enum.