In this Lab you can learn about how to create a CPU contention, creating a resource pool and verifying the resource pool functionality.
CPU contention is the state of multiple virtual machines competing for limited logical CPU resources and being forced by the VMkernel to share.
To begin the the lab you have to power on all the virtual machines which are turned off. open your VM console and run cpubusy.vbs just right click on it and choose Open with command Prompt
When you open it with command prompt you will see a command that will run auto make your machine busy.
right click on your virtual machine and go to edit settings > click on the virtual hardware tab and expand the CPU properties > uder the CPU properties you will see scheduling affinity section type 1 in the space box provided.
After the making the cpu busy and changing the affinity value, you have to create resource pool.
Resource pool will allow you to delegate control over resource of a host.
To create a resource go to vCenter > Host and clusters > select your Esxi host and click on all vCenter Actions > click on new resource pool.
when you get the configuration window type the name as Fin-Test and make your CPU resource shares Low, rest leave it default and click ok.
Now follow the same procedure to create another resource pool. but while creating this you have to give the name as Fin-Prod and change the CPU resource pool to HIGH and keep the default settings and click on ok.
Now let’s check the resource pool functionality to check the pool functionality the Fin-Test resource pool you created and go to the summary tab and view the CPU resource settings panel, And do the same steps to check the Fin-Prod you have created and you will see the difference.
change the both CPU shares from Low to Normal from Fin-Test and Hight to Normal from Fin-Prod.
When the steps are completed your done with Lab 18.