Setting reservations and limits for resource pools

At a conceptual level, reservations and limits make a lot of sense to a vSphere administrator. Reservations are the guarantees to a VM that it will receive at least the specified amount of CPU or RAM as defined by the reservation. Limits are at the other end and limit the VM to not use more than a certain amount of CPU or RAM.

Reservations and Limits can be set on individual VMs, or they can be set on the resource pool and then used by the VMs inside the pool.

Getting ready

To begin this recipe, you will need a PowerCLI window and an active connection to vCenter.

How to do it…

To set reservations and limits for resource pools, perform the following steps:

  1. To set resource configurations on one or more ...

Get PowerCLI Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.