Understand the function of a basic resource pool in VMware vSphere 6 with no child pools.
- [Voiceover] In this video, I'll show you how to create a resource pool and move multiple virtual machines into it. And I'll demonstrate this process using the Vmware hands-on lab environment. In this case, the hands-on lab that I'm using is vSphere with Operations Management 6. I'm going to browse to the Hosts and Clusters View in the vSphere Web Client, and here you can see that I have a few different clusters of ESXi hosts. We'll choose Cluster Site B. Now in this cluster, you can see I have a couple ESXi hosts and a single virtual machine, and no resource pools.
So I'll right-click this cluster and choose New Resource Pool. And here we can see the options that we have when we create a new resource pool. I'm going to call this resource pool Production. Now I can start to choose some of the resource settings that I want to allocate to this resource pool. First off, we have CPU, and at the moment, I have a Normal number of shares configured, but I can change that to Low or High or even set a Custom value.
I can also set a CPU Reservation to guarantee this Resource pool a certain level of CPU resources at all times. I can also configure a CPU Limit to place a cap on the amount of CPU resources that this resource pool can consume. And our settings for memory are very similar. Again, we can set a High, Normal, or Low number of memory shares, or some Custom value. We can create a Memory Reservation, or we can create a Memory Limit.
I'm just going to leave everything at the default settings for the moment and hit OK. So now we see the Production Resource Pool as a child object of our cluster. And it currently doesn't contain any virtual machines. Let's drag and drop a virtual machine into this resource pool. So what you just saw is an issue that you might right into with the vSphere Web Client. You'll notice that I dragged this virtual machine into the resource pool, but nothing changed. If that happens to you, simply click the Refresh button in the vSphere Web Client, and normally the change you made will be reflected.
So now this virtual machine is a child object of our resource pool, and so, therefore, this virtual machine will draw upon the resources that have been allocated to the Production Pool.
VMware Certified Instructor Rick Crisci provides an overview of vSphere resource controls—shares, limits, and reservations—and their impact on performance and VSWP file size. Rick explains exactly what happens when virtual machines compete for resources, the role of swap files, and how resource controls help automate allocation.
In chapter 2, Rick shows how to manage performance with resource pools, including child pools. He explains the impact a reservation has on resource pools, and includes a demo on creating and configuring a resource pool. Chapter 3 is an overview of the vFlash architecture for leveraging SSD resources. Watch this chapter to learn how to configure vFlash reservations and to assign a reservation to a VM.
Note: This course maps to the Administer and Manage vSphere 6.x Resources domain of the vSphere Certified Professional 6—Data Center Virtualization (VCP6DCV) exam.
- Allocating memory and CPU
- Using ESXTOP
- Configuring reservations, limits, and shares
- Managing performance with resource pools
- Creating child and tiered resource pools
- Leveraging SSD resources with vFlash