VMware tip: Consider shares if worried about your VM in a resource intensive environment

vSphere has long allowed administrators to prioritize virtual machines using a feature called shares. The higher the share level a VM has, the more resources it is allowed to consume when in competition with other VM’s on the same host. Shares is of relative importance to VMs or pools and they apply within the same parent.

Note:

One thing to be aware of is shares are only taken into account when there is resource scarcity. So this feature only activates itself when two or more virtual machines compete for resources.

Worth noting too that the actual amount of resources a VM gets may change each time it is powered on. If a host is upgraded with more memory, each virtual machine will get a larger portion of RAM according to the ratio.

 

To change virtual machine shares, execute the following steps:

  1. Logon to your vCenter instance via the VMware vSphere web client
  2. Navigate to a VM and right-click it.
  3. Click All vCenter Actions | Edit Resource Settings.
  4. Adjust CPU and memory shares accordingly, and click on OK.resource settings
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s