In this lab, I am going to do the following tasks:
1)Create CPU Contention
2)Create a Resource Pool Named Fin-Test and Fin-Pod
3)Verify Resource Pool Functionality
Resource pools helps in delegating the control over resources of a host (or a cluster), but these benefits can be enabled when you use resource pools to distinct or separate all resources in a cluster.we can Add, remove, or reorganize resource pools or change resource allocations as needed
we can be done Isolation between pools, or sharing between the pools ,if we assign changes to an internal or one departmental resource pool it wont affect not unfairly other unrelated resource pools.
these helps in the separation of the hardware
Creating CPU Contention
To begin this task, I logged into the vSphere Web Client, navigated to ‘Home then vCenter then VMs and Templates’, powered on both of my virtual machines namely ‘deepak1-3’ and ‘deepak1-2’, logged in to both of them, and opened cpubusy.vbs via the command prompt in order to create some CPU activity. It appeared to stabilise at around three seconds as shown below

As per the task i edited the settings of both the virtual machines deepak1-2 & deepak1-3 and changed the “Schedule Affinity ” to “1 and again i navigated to my virtual machines consoles and found the no difference in showing the time. They just appeared a little difference between the two VM’s. Overall the average time taken by both the VM’s is exactly 3 seconds.

Creating a Resource Pool’s Named Fin-Test and Fin-Pod
I opened the Vcenter then Hosts and Clusters’, right-clicking my first ESXi host ‘host1.deepak.local’, and selecting All vCenter Actions then New Resource Pool. The ‘New Resource Pool’ a new wizard has opened 
For the name field , I entered ‘Fin-Test’. For the CPU Shares level, I selected ‘Low’. I left the remaining settings alone and created the resource pool.

Similarly i added one more resource pool For the name, I entered ‘Fin-Pod’. For the CPU Shares level, I selected ‘High’. I left the remaining settings alone and created the other resource pool

the new resource pools has been created as shown below i dragged the machines in to that resource pools

these are the settings for the resource pools

Verifying Resource Pool Functionality
for the sake of verifying I selected the ‘Fin-Test’ resource pool from the inventory and clicked the ‘Summary’ tab. I noted that the available CPU shares for this resource pool were 2,000
and for the Fin-prod is 4000 shares
Critical Analysis :
Resource pools are similar to the containers that can be utilized to organize VMs, much like folders. But what makes resource pools unique, is that they can be used to implement resource controls, including Shares, Limits, and Reservations on CPU and RAM usage. Limits establish a hard cap on the resource usage. although some physical CPU capacity may remain unused. Reservations establish a minimum guarantee of resource usage. Shares establish a relative priority on resource usage that is only applied during periods of resource contention.
.