6.0.1

Table Of Contents
Example: Creating Resource Pools
Assume that you have a host that provides 6GHz of CPU and 3GB of memory that must be shared between
your marketing and QA departments. You also want to share the resources unevenly, giving one
department (QA) a higher priority. This can be accomplished by creating a resource pool for each
department and using the Shares attribute to prioritize the allocation of resources.
The example shows how to create a resource pool with the ESXi host as the parent resource.
1 In the Create Resource Pool dialog box, type a name for the QA department’s resource pool (for
example, RP-QA).
2 Specify Shares of High for the CPU and memory resources of RP-QA.
3 Create a second resource pool, RP-Marketing.
Leave Shares at Normal for CPU and memory.
4 Click OK.
If there is resource contention, RP-QA receives 4GHz and 2GB of memory, and RP-Marketing 2GHz and
1GB. Otherwise, they can receive more than this allotment. Those resources are then available to the virtual
machines in the respective resource pools.
Edit a Resource Pool
After you create the resource pool, you can edit its CPU and memory resource settings.
Procedure
1 Browse to the resource pool in the vSphere Web Client navigator.
2 Click the Manage tab and click Settings.
3 (Optional) You can change all attributes of the selected resource pool as described in “Create a Resource
Pool,” on page 57.
u
Under CPU Resources, click Edit to change CPU resource settings.
u
Under Memory Resources, click Edit to change memory resource settings.
4 Click OK to save your changes.
Add a Virtual Machine to a Resource Pool
When you create a virtual machine, you can specify a resource pool location as part of the creation process.
You can also add an existing virtual machine to a resource pool.
When you move a virtual machine to a new resource pool:
n
The virtual machine’s reservation and limit do not change.
n
If the virtual machine’s shares are high, medium, or low, %Shares adjusts to reflect the total number of
shares in use in the new resource pool.
n
If the virtual machine has custom shares assigned, the share value is maintained.
NOTE Because share allocations are relative to a resource pool, you might have to manually change a
virtual machine’s shares when you move it into a resource pool so that the virtual machine’s shares are
consistent with the relative values in the new resource pool. A warning appears if a virtual machine
would receive a very large (or very small) percentage of total shares.
vSphere Resource Management
58 VMware, Inc.