VMware Cloud Community
FlorianZimmer
Contributor
Contributor

Set scalable shares via PowerCLI

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

Labels (2)
0 Kudos
1 Reply
LucD
Leadership
Leadership

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.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos