Many organizations have the bad habit to use resource pools to create a folder structure in the host and cluster view of vCenter. Virtual machines are being placed inside a resource pool to show some kind of relation or sorting order like operating system or types of application. This is not reason why VMware invented resource pools. Resource pools are meant to prioritize virtual machine workloads, guarantee and/or limit the amount of resources available to a group of virtual machines.
During design workshops I always try to convince the customer why resource pools should not to be used to create a folder structure. The main object I have for this is the sibling share level of resource pools and virtual machines.
Shares specify the priority for the virtual machine or resource pool relative to other resource pools and/or virtual machines with the same parent in the resource hierarchy. The key point is that shares values can be compared directly only among siblings: the ratios of shares of VM6:VM7 tells which VM is higher priority, but the shares of VM4:VM6 does not tell which VM has higher priority.
Many articles have been written about this, such as: “The resource pool priority-pie paradox”, (Craig Risinger) “Resource pools and shares” (Duncan Epping), “Don’t add resource pools for fun” (Eric Sloof) and “Resource pools caveats” (Bouke Groenescheij).
But another reason not to use resource pools as a folder structure is the limitation resource pools inflict on vMotion operations. Depending on the network speed, vSphere 4.1 allows 8 simultaneous vMotion operations, however simultaneous migrations with vMotion can only occur if the virtual machine is moving between hosts in the same cluster and is not changing its resource pool. This is recently confirmed in Knowledge Base article 1026102.
Fortunately simultaneous cross-resource-pool vMotions can occur if the virtual machines are migrating to different resource pools, but still one vMotion operation per target resource pool. Because clusters are actually implicit resource pools (the root resource pool), migrations between clusters are also limited to a single concurrent vMotion operation.
Using resource pools to create a folder structure can not only impact the availability of resources for the virtual machines, but can also hinder your daily (maintenance) operations if batches of virtual machines are being migrated to other resource pools.
Resource pools and simultaneous vMotions
1 min read
An easy fix for this would be for folders to show up in the Hosts and Clusters view! Is there some deep mechanism in vcenter that would break if folders were to be added to the main view, because if not then I think it’s crazy that they don’t work.
These two views should not be mixed. Allowing to create folders inside a Cluster view would dilute or even obscure the information this view should provide.
I think the the folder view should be the default view for every VI admin, the cluster view should be the default view for every datacenter admin.
So map and link to a role-based construct.
Hi Frank.
Can you explain more on what you mean by dilute/obsucre the information?
I wrote about the folder issue a while ago. I agree with Frank http://blog.krystaltek.com/2010
/07/virtual-machine-management-and-resource.html
The problem I see, is using Data Recovery. It only works with resource pools, not folders. If I want my backups to be flexible and automatic, I sort into resource pools.