VMware Cloud Community
stevenbaert
Contributor
Contributor

Resource pools: script to set CPU shares and memory

Hi,

We have 3 resource pools: PRO, ACC, TEST (PRODUCTION, ACCEPTANTE, TEST).

Each resource pool has 3 subgroups: Gold, Silver and Bronze.Now we assign high shares (CPU/MEM/DISK) to PRODUCTION,normal to ACCEPTANCE, low to TEST. The same for the subgroups: Gold, Silver and Bronze.

The PRO-folder has 138 vm's, ACC 48, TEST 58. We would like to have/make a powershellscript that sets shares according a certain schema, f.e.: CPU PRO = 2000, ACC = 1000, TEST =500, MEM PRO = 1GB, ACC = 512MB, TEST = 256 MB.

There should be some kind of flexible powershellscript which has adaptable settings (CPU/MEM) to automate this, but I cannot find it.

Don't you use resource pools, do you leave them default ...?

Thank for your input.

S.

Reply
0 Kudos
1 Reply
AntonVZhbankov
Immortal
Immortal

Moved to appropriate forum.


---

MCSA, MCTS Hyper-V, VCP 3/4, VMware vExpert

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
Reply
0 Kudos