Get started Bring yourself up to speed with our introductory content.

The top 10 PowerCLI scripts for vSphere administrators

5/12

Script crunches numbers to reduce stress of custom shares

Source:  iStock

Continuing on the resource pool theme, we now move on to a more complicated issue. If you have ever tried to maintain a production, and test and development resource pool side by side, then you most likely understand the Resource Pool Pie Paradox. In its simplest form, the paradox occurs when you have a lot of VMs sharing a big chunk of shares and a small number of VMs sharing a small chunk. When you get too far off-balance, your test and development VMs could end up getting a larger share than your production VMs during contention.

The answer to this is custom shares, but the calculations required are just too much for one person to do manually. Thankfully, Duncan Epping of VMware has shared a PowerShell script, written by Andrew Mitchell, which helps us with those calculations and determines exactly what those custom resource pool share values should be. Epping recommends scheduling the script to run weekly to make the necessary adjustments.

View All Photo Stories

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchServerVirtualization

SearchVirtualDesktop

SearchDataCenter

SearchCloudComputing

Close