6.7

Table Of Contents
After you create a resource pool, you can add virtual machines to it. A virtual machine’s shares are
relative to other virtual machines (or resource pools) with the same parent resource pool.
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 New 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 Client.
2 Select Edit Resource Settings from the Actions drop-down menu.
3 (Optional) You can change all attributes of the selected resource pool as described in Create a
Resource Pool.
u
Under CPU, select CPU resource settings.
u
Under Memory, select 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.
vSphere Resource Management
VMware, Inc. 64